@aws-sdk/client-lambda 3.975.0 → 3.978.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 +196 -155
- package/dist-es/Lambda.js +49 -1
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +12 -6
- package/dist-types/Lambda.d.ts +150 -1
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/models_0.d.ts +28 -2
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/Lambda.d.ts +173 -1
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +17 -17
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
|
|
3
4
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
4
5
|
import { CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput } from "./commands/CheckpointDurableExecutionCommand";
|
|
@@ -602,6 +603,154 @@ export interface Lambda {
|
|
|
602
603
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionUrlConfigCommandOutput>;
|
|
603
604
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void;
|
|
604
605
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void;
|
|
606
|
+
/**
|
|
607
|
+
* @see {@link GetDurableExecutionHistoryCommand}
|
|
608
|
+
* @param args - command input.
|
|
609
|
+
* @param paginationConfig - optional pagination config.
|
|
610
|
+
* @returns AsyncIterable of {@link GetDurableExecutionHistoryCommandOutput}.
|
|
611
|
+
*/
|
|
612
|
+
paginateGetDurableExecutionHistory(args: GetDurableExecutionHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetDurableExecutionHistoryCommandOutput>;
|
|
613
|
+
/**
|
|
614
|
+
* @see {@link GetDurableExecutionStateCommand}
|
|
615
|
+
* @param args - command input.
|
|
616
|
+
* @param paginationConfig - optional pagination config.
|
|
617
|
+
* @returns AsyncIterable of {@link GetDurableExecutionStateCommandOutput}.
|
|
618
|
+
*/
|
|
619
|
+
paginateGetDurableExecutionState(args: GetDurableExecutionStateCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetDurableExecutionStateCommandOutput>;
|
|
620
|
+
/**
|
|
621
|
+
* @see {@link ListAliasesCommand}
|
|
622
|
+
* @param args - command input.
|
|
623
|
+
* @param paginationConfig - optional pagination config.
|
|
624
|
+
* @returns AsyncIterable of {@link ListAliasesCommandOutput}.
|
|
625
|
+
*/
|
|
626
|
+
paginateListAliases(args: ListAliasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAliasesCommandOutput>;
|
|
627
|
+
/**
|
|
628
|
+
* @see {@link ListCapacityProvidersCommand}
|
|
629
|
+
* @param args - command input.
|
|
630
|
+
* @param paginationConfig - optional pagination config.
|
|
631
|
+
* @returns AsyncIterable of {@link ListCapacityProvidersCommandOutput}.
|
|
632
|
+
*/
|
|
633
|
+
paginateListCapacityProviders(args?: ListCapacityProvidersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCapacityProvidersCommandOutput>;
|
|
634
|
+
/**
|
|
635
|
+
* @see {@link ListCodeSigningConfigsCommand}
|
|
636
|
+
* @param args - command input.
|
|
637
|
+
* @param paginationConfig - optional pagination config.
|
|
638
|
+
* @returns AsyncIterable of {@link ListCodeSigningConfigsCommandOutput}.
|
|
639
|
+
*/
|
|
640
|
+
paginateListCodeSigningConfigs(args?: ListCodeSigningConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeSigningConfigsCommandOutput>;
|
|
641
|
+
/**
|
|
642
|
+
* @see {@link ListDurableExecutionsByFunctionCommand}
|
|
643
|
+
* @param args - command input.
|
|
644
|
+
* @param paginationConfig - optional pagination config.
|
|
645
|
+
* @returns AsyncIterable of {@link ListDurableExecutionsByFunctionCommandOutput}.
|
|
646
|
+
*/
|
|
647
|
+
paginateListDurableExecutionsByFunction(args: ListDurableExecutionsByFunctionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDurableExecutionsByFunctionCommandOutput>;
|
|
648
|
+
/**
|
|
649
|
+
* @see {@link ListEventSourceMappingsCommand}
|
|
650
|
+
* @param args - command input.
|
|
651
|
+
* @param paginationConfig - optional pagination config.
|
|
652
|
+
* @returns AsyncIterable of {@link ListEventSourceMappingsCommandOutput}.
|
|
653
|
+
*/
|
|
654
|
+
paginateListEventSourceMappings(args?: ListEventSourceMappingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEventSourceMappingsCommandOutput>;
|
|
655
|
+
/**
|
|
656
|
+
* @see {@link ListFunctionEventInvokeConfigsCommand}
|
|
657
|
+
* @param args - command input.
|
|
658
|
+
* @param paginationConfig - optional pagination config.
|
|
659
|
+
* @returns AsyncIterable of {@link ListFunctionEventInvokeConfigsCommandOutput}.
|
|
660
|
+
*/
|
|
661
|
+
paginateListFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFunctionEventInvokeConfigsCommandOutput>;
|
|
662
|
+
/**
|
|
663
|
+
* @see {@link ListFunctionsCommand}
|
|
664
|
+
* @param args - command input.
|
|
665
|
+
* @param paginationConfig - optional pagination config.
|
|
666
|
+
* @returns AsyncIterable of {@link ListFunctionsCommandOutput}.
|
|
667
|
+
*/
|
|
668
|
+
paginateListFunctions(args?: ListFunctionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFunctionsCommandOutput>;
|
|
669
|
+
/**
|
|
670
|
+
* @see {@link ListFunctionsByCodeSigningConfigCommand}
|
|
671
|
+
* @param args - command input.
|
|
672
|
+
* @param paginationConfig - optional pagination config.
|
|
673
|
+
* @returns AsyncIterable of {@link ListFunctionsByCodeSigningConfigCommandOutput}.
|
|
674
|
+
*/
|
|
675
|
+
paginateListFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFunctionsByCodeSigningConfigCommandOutput>;
|
|
676
|
+
/**
|
|
677
|
+
* @see {@link ListFunctionUrlConfigsCommand}
|
|
678
|
+
* @param args - command input.
|
|
679
|
+
* @param paginationConfig - optional pagination config.
|
|
680
|
+
* @returns AsyncIterable of {@link ListFunctionUrlConfigsCommandOutput}.
|
|
681
|
+
*/
|
|
682
|
+
paginateListFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFunctionUrlConfigsCommandOutput>;
|
|
683
|
+
/**
|
|
684
|
+
* @see {@link ListFunctionVersionsByCapacityProviderCommand}
|
|
685
|
+
* @param args - command input.
|
|
686
|
+
* @param paginationConfig - optional pagination config.
|
|
687
|
+
* @returns AsyncIterable of {@link ListFunctionVersionsByCapacityProviderCommandOutput}.
|
|
688
|
+
*/
|
|
689
|
+
paginateListFunctionVersionsByCapacityProvider(args: ListFunctionVersionsByCapacityProviderCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFunctionVersionsByCapacityProviderCommandOutput>;
|
|
690
|
+
/**
|
|
691
|
+
* @see {@link ListLayersCommand}
|
|
692
|
+
* @param args - command input.
|
|
693
|
+
* @param paginationConfig - optional pagination config.
|
|
694
|
+
* @returns AsyncIterable of {@link ListLayersCommandOutput}.
|
|
695
|
+
*/
|
|
696
|
+
paginateListLayers(args?: ListLayersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLayersCommandOutput>;
|
|
697
|
+
/**
|
|
698
|
+
* @see {@link ListLayerVersionsCommand}
|
|
699
|
+
* @param args - command input.
|
|
700
|
+
* @param paginationConfig - optional pagination config.
|
|
701
|
+
* @returns AsyncIterable of {@link ListLayerVersionsCommandOutput}.
|
|
702
|
+
*/
|
|
703
|
+
paginateListLayerVersions(args: ListLayerVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLayerVersionsCommandOutput>;
|
|
704
|
+
/**
|
|
705
|
+
* @see {@link ListProvisionedConcurrencyConfigsCommand}
|
|
706
|
+
* @param args - command input.
|
|
707
|
+
* @param paginationConfig - optional pagination config.
|
|
708
|
+
* @returns AsyncIterable of {@link ListProvisionedConcurrencyConfigsCommandOutput}.
|
|
709
|
+
*/
|
|
710
|
+
paginateListProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProvisionedConcurrencyConfigsCommandOutput>;
|
|
711
|
+
/**
|
|
712
|
+
* @see {@link ListVersionsByFunctionCommand}
|
|
713
|
+
* @param args - command input.
|
|
714
|
+
* @param paginationConfig - optional pagination config.
|
|
715
|
+
* @returns AsyncIterable of {@link ListVersionsByFunctionCommandOutput}.
|
|
716
|
+
*/
|
|
717
|
+
paginateListVersionsByFunction(args: ListVersionsByFunctionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVersionsByFunctionCommandOutput>;
|
|
718
|
+
/**
|
|
719
|
+
* @see {@link GetFunctionCommand}
|
|
720
|
+
* @param args - command input.
|
|
721
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
722
|
+
*/
|
|
723
|
+
waitUntilFunctionActiveV2(args: GetFunctionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult>;
|
|
724
|
+
/**
|
|
725
|
+
* @see {@link GetFunctionCommand}
|
|
726
|
+
* @param args - command input.
|
|
727
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
728
|
+
*/
|
|
729
|
+
waitUntilFunctionExists(args: GetFunctionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult>;
|
|
730
|
+
/**
|
|
731
|
+
* @see {@link GetFunctionCommand}
|
|
732
|
+
* @param args - command input.
|
|
733
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
734
|
+
*/
|
|
735
|
+
waitUntilFunctionUpdatedV2(args: GetFunctionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult>;
|
|
736
|
+
/**
|
|
737
|
+
* @see {@link GetFunctionConfigurationCommand}
|
|
738
|
+
* @param args - command input.
|
|
739
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
740
|
+
*/
|
|
741
|
+
waitUntilFunctionActive(args: GetFunctionConfigurationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult>;
|
|
742
|
+
/**
|
|
743
|
+
* @see {@link GetFunctionConfigurationCommand}
|
|
744
|
+
* @param args - command input.
|
|
745
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
746
|
+
*/
|
|
747
|
+
waitUntilFunctionUpdated(args: GetFunctionConfigurationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult>;
|
|
748
|
+
/**
|
|
749
|
+
* @see {@link GetFunctionConfigurationCommand}
|
|
750
|
+
* @param args - command input.
|
|
751
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
752
|
+
*/
|
|
753
|
+
waitUntilPublishedVersionActive(args: GetFunctionConfigurationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult>;
|
|
605
754
|
}
|
|
606
755
|
/**
|
|
607
756
|
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
@@ -136,9 +136,12 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
136
136
|
* KMSKeyArn: "STRING_VALUE",
|
|
137
137
|
* MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
138
138
|
* Metrics: [ // EventSourceMappingMetricList
|
|
139
|
-
* "EventCount",
|
|
139
|
+
* "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
140
140
|
* ],
|
|
141
141
|
* },
|
|
142
|
+
* LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
143
|
+
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
144
|
+
* },
|
|
142
145
|
* ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
143
146
|
* MinimumPollers: Number("int"),
|
|
144
147
|
* MaximumPollers: Number("int"),
|
|
@@ -253,9 +256,12 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
253
256
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
254
257
|
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
255
258
|
* // Metrics: [ // EventSourceMappingMetricList
|
|
256
|
-
* // "EventCount",
|
|
259
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
257
260
|
* // ],
|
|
258
261
|
* // },
|
|
262
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
263
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
264
|
+
* // },
|
|
259
265
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
260
266
|
* // MinimumPollers: Number("int"),
|
|
261
267
|
* // MaximumPollers: Number("int"),
|
|
@@ -147,9 +147,12 @@ declare const DeleteEventSourceMappingCommand_base: {
|
|
|
147
147
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
148
148
|
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
149
149
|
* // Metrics: [ // EventSourceMappingMetricList
|
|
150
|
-
* // "EventCount",
|
|
150
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
151
151
|
* // ],
|
|
152
152
|
* // },
|
|
153
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
154
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
155
|
+
* // },
|
|
153
156
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
154
157
|
* // MinimumPollers: Number("int"),
|
|
155
158
|
* // MaximumPollers: Number("int"),
|
|
@@ -147,9 +147,12 @@ declare const GetEventSourceMappingCommand_base: {
|
|
|
147
147
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
148
148
|
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
149
149
|
* // Metrics: [ // EventSourceMappingMetricList
|
|
150
|
-
* // "EventCount",
|
|
150
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
151
151
|
* // ],
|
|
152
152
|
* // },
|
|
153
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
154
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
155
|
+
* // },
|
|
153
156
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
154
157
|
* // MinimumPollers: Number("int"),
|
|
155
158
|
* // MaximumPollers: Number("int"),
|
|
@@ -78,9 +78,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
78
78
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
79
79
|
*
|
|
80
80
|
*
|
|
81
|
-
* @example To
|
|
81
|
+
* @example To view a provisioned concurrency configuration
|
|
82
82
|
* ```javascript
|
|
83
|
-
* // The following example
|
|
83
|
+
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
84
84
|
* const input = {
|
|
85
85
|
* FunctionName: "my-function",
|
|
86
86
|
* Qualifier: "BLUE"
|
|
@@ -98,9 +98,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
98
98
|
* *\/
|
|
99
99
|
* ```
|
|
100
100
|
*
|
|
101
|
-
* @example To
|
|
101
|
+
* @example To get a provisioned concurrency configuration
|
|
102
102
|
* ```javascript
|
|
103
|
-
* // The following example
|
|
103
|
+
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
104
104
|
* const input = {
|
|
105
105
|
* FunctionName: "my-function",
|
|
106
106
|
* Qualifier: "BLUE"
|
|
@@ -153,9 +153,12 @@ declare const ListEventSourceMappingsCommand_base: {
|
|
|
153
153
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
154
154
|
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
155
155
|
* // Metrics: [ // EventSourceMappingMetricList
|
|
156
|
-
* // "EventCount",
|
|
156
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
157
157
|
* // ],
|
|
158
158
|
* // },
|
|
159
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
160
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
161
|
+
* // },
|
|
159
162
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
160
163
|
* // MinimumPollers: Number("int"),
|
|
161
164
|
* // MaximumPollers: Number("int"),
|
|
@@ -118,9 +118,12 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
118
118
|
* KMSKeyArn: "STRING_VALUE",
|
|
119
119
|
* MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
120
120
|
* Metrics: [ // EventSourceMappingMetricList
|
|
121
|
-
* "EventCount",
|
|
121
|
+
* "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
122
122
|
* ],
|
|
123
123
|
* },
|
|
124
|
+
* LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
125
|
+
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
126
|
+
* },
|
|
124
127
|
* ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
125
128
|
* MinimumPollers: Number("int"),
|
|
126
129
|
* MaximumPollers: Number("int"),
|
|
@@ -235,9 +238,12 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
235
238
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
236
239
|
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
237
240
|
* // Metrics: [ // EventSourceMappingMetricList
|
|
238
|
-
* // "EventCount",
|
|
241
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
239
242
|
* // ],
|
|
240
243
|
* // },
|
|
244
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
245
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
246
|
+
* // },
|
|
241
247
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
242
248
|
* // MinimumPollers: Number("int"),
|
|
243
249
|
* // MaximumPollers: Number("int"),
|
|
@@ -230,12 +230,27 @@ export declare const FunctionResponseType: {
|
|
|
230
230
|
* @public
|
|
231
231
|
*/
|
|
232
232
|
export type FunctionResponseType = (typeof FunctionResponseType)[keyof typeof FunctionResponseType];
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* @enum
|
|
236
|
+
*/
|
|
237
|
+
export declare const EventSourceMappingSystemLogLevel: {
|
|
238
|
+
readonly Debug: "DEBUG";
|
|
239
|
+
readonly Info: "INFO";
|
|
240
|
+
readonly Warn: "WARN";
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
export type EventSourceMappingSystemLogLevel = (typeof EventSourceMappingSystemLogLevel)[keyof typeof EventSourceMappingSystemLogLevel];
|
|
233
246
|
/**
|
|
234
247
|
* @public
|
|
235
248
|
* @enum
|
|
236
249
|
*/
|
|
237
250
|
export declare const EventSourceMappingMetric: {
|
|
251
|
+
readonly ErrorCount: "ErrorCount";
|
|
238
252
|
readonly EventCount: "EventCount";
|
|
253
|
+
readonly KafkaMetrics: "KafkaMetrics";
|
|
239
254
|
};
|
|
240
255
|
/**
|
|
241
256
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import { ApplicationLogLevel, Architecture, CapacityProviderPredefinedMetricType, CapacityProviderScalingMode, CapacityProviderState, CodeSigningPolicy, EndPointType, EventSourceMappingMetric, EventSourcePosition, EventType, ExecutionStatus, FullDocument, FunctionResponseType, FunctionUrlAuthType, FunctionVersion, FunctionVersionLatestPublished, InvocationType, InvokeMode, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, LastUpdateStatus, LastUpdateStatusReasonCode, LogFormat, LogType, OperationAction, OperationStatus, OperationType, PackageType, ProvisionedConcurrencyStatusEnum, RecursiveLoop, ResponseStreamingInvocationType, Runtime, SchemaRegistryEventRecordFormat, SnapStartApplyOn, SnapStartOptimizationStatus, SourceAccessType, State, StateReasonCode, SystemLogLevel, TenantIsolationMode, TracingMode, UpdateRuntimeOn } from "./enums";
|
|
2
|
+
import { ApplicationLogLevel, Architecture, CapacityProviderPredefinedMetricType, CapacityProviderScalingMode, CapacityProviderState, CodeSigningPolicy, EndPointType, EventSourceMappingMetric, EventSourceMappingSystemLogLevel, EventSourcePosition, EventType, ExecutionStatus, FullDocument, FunctionResponseType, FunctionUrlAuthType, FunctionVersion, FunctionVersionLatestPublished, InvocationType, InvokeMode, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, LastUpdateStatus, LastUpdateStatusReasonCode, LogFormat, LogType, OperationAction, OperationStatus, OperationType, PackageType, ProvisionedConcurrencyStatusEnum, RecursiveLoop, ResponseStreamingInvocationType, Runtime, SchemaRegistryEventRecordFormat, SnapStartApplyOn, SnapStartOptimizationStatus, SourceAccessType, State, StateReasonCode, SystemLogLevel, TenantIsolationMode, TracingMode, UpdateRuntimeOn } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Limits that are related to concurrency and storage. All file and storage sizes are in bytes.</p>
|
|
5
5
|
* @public
|
|
@@ -1380,13 +1380,24 @@ export interface FilterCriteria {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
Filters?: Filter[] | undefined;
|
|
1382
1382
|
}
|
|
1383
|
+
/**
|
|
1384
|
+
* <p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. Use this configuration object to define the level of logs for your event source mapping. </p>
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
export interface EventSourceMappingLoggingConfig {
|
|
1388
|
+
/**
|
|
1389
|
+
* <p> The log level you want your event source mapping to use. Lambda event poller only sends system logs at the selected level of detail and lower, where <code>DEBUG</code> is the highest level and <code>WARN</code> is the lowest. For more information about these metrics, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html"> Event source mapping logging</a>. </p>
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
SystemLogLevel?: EventSourceMappingSystemLogLevel | undefined;
|
|
1393
|
+
}
|
|
1383
1394
|
/**
|
|
1384
1395
|
* <p>The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.</p>
|
|
1385
1396
|
* @public
|
|
1386
1397
|
*/
|
|
1387
1398
|
export interface EventSourceMappingMetricsConfig {
|
|
1388
1399
|
/**
|
|
1389
|
-
* <p> The metrics you want your event source mapping to produce
|
|
1400
|
+
* <p> The metrics you want your event source mapping to produce, including <code>EventCount</code>, <code>ErrorCount</code>, <code>KafkaMetrics</code>. </p> <ul> <li> <p> <code>EventCount</code> to receive metrics related to the number of events processed by your event source mapping.</p> </li> <li> <p> <code>ErrorCount</code> (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.</p> </li> <li> <p> <code>KafkaMetrics</code> (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.</p> </li> </ul> <p> For more information about these metrics, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics"> Event source mapping metrics</a>. </p>
|
|
1390
1401
|
* @public
|
|
1391
1402
|
*/
|
|
1392
1403
|
Metrics?: EventSourceMappingMetric[] | undefined;
|
|
@@ -1600,6 +1611,11 @@ export interface CreateEventSourceMappingRequest {
|
|
|
1600
1611
|
* @public
|
|
1601
1612
|
*/
|
|
1602
1613
|
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
1614
|
+
/**
|
|
1615
|
+
* <p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html">Event source mapping logging</a>.</p>
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
LoggingConfig?: EventSourceMappingLoggingConfig | undefined;
|
|
1603
1619
|
/**
|
|
1604
1620
|
* <p>(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">provisioned mode</a>.</p>
|
|
1605
1621
|
* @public
|
|
@@ -1782,6 +1798,11 @@ export interface EventSourceMappingConfiguration {
|
|
|
1782
1798
|
* @public
|
|
1783
1799
|
*/
|
|
1784
1800
|
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
1801
|
+
/**
|
|
1802
|
+
* <p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html">Event source mapping logging</a>.</p>
|
|
1803
|
+
* @public
|
|
1804
|
+
*/
|
|
1805
|
+
LoggingConfig?: EventSourceMappingLoggingConfig | undefined;
|
|
1785
1806
|
/**
|
|
1786
1807
|
* <p>(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">provisioned mode</a>.</p>
|
|
1787
1808
|
* @public
|
|
@@ -1952,6 +1973,11 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1952
1973
|
* @public
|
|
1953
1974
|
*/
|
|
1954
1975
|
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
1976
|
+
/**
|
|
1977
|
+
* <p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. Use this configuration object to define the level of logs for your event source mapping. </p>
|
|
1978
|
+
* @public
|
|
1979
|
+
*/
|
|
1980
|
+
LoggingConfig?: EventSourceMappingLoggingConfig | undefined;
|
|
1955
1981
|
/**
|
|
1956
1982
|
* <p>(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">provisioned mode</a>.</p>
|
|
1957
1983
|
* @public
|
|
@@ -90,6 +90,7 @@ export declare var EventError$: StaticStructureSchema;
|
|
|
90
90
|
export declare var EventInput$: StaticStructureSchema;
|
|
91
91
|
export declare var EventResult$: StaticStructureSchema;
|
|
92
92
|
export declare var EventSourceMappingConfiguration$: StaticStructureSchema;
|
|
93
|
+
export declare var EventSourceMappingLoggingConfig$: StaticStructureSchema;
|
|
93
94
|
export declare var EventSourceMappingMetricsConfig$: StaticStructureSchema;
|
|
94
95
|
export declare var Execution$: StaticStructureSchema;
|
|
95
96
|
export declare var ExecutionDetails$: StaticStructureSchema;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import {
|
|
3
9
|
AddLayerVersionPermissionCommandInput,
|
|
4
10
|
AddLayerVersionPermissionCommandOutput,
|
|
@@ -1488,5 +1494,171 @@ export interface Lambda {
|
|
|
1488
1494
|
options: __HttpHandlerOptions,
|
|
1489
1495
|
cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void
|
|
1490
1496
|
): void;
|
|
1497
|
+
paginateGetDurableExecutionHistory(
|
|
1498
|
+
args: GetDurableExecutionHistoryCommandInput,
|
|
1499
|
+
paginationConfig?: Pick<
|
|
1500
|
+
PaginationConfiguration,
|
|
1501
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1502
|
+
>
|
|
1503
|
+
): Paginator<GetDurableExecutionHistoryCommandOutput>;
|
|
1504
|
+
paginateGetDurableExecutionState(
|
|
1505
|
+
args: GetDurableExecutionStateCommandInput,
|
|
1506
|
+
paginationConfig?: Pick<
|
|
1507
|
+
PaginationConfiguration,
|
|
1508
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1509
|
+
>
|
|
1510
|
+
): Paginator<GetDurableExecutionStateCommandOutput>;
|
|
1511
|
+
paginateListAliases(
|
|
1512
|
+
args: ListAliasesCommandInput,
|
|
1513
|
+
paginationConfig?: Pick<
|
|
1514
|
+
PaginationConfiguration,
|
|
1515
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1516
|
+
>
|
|
1517
|
+
): Paginator<ListAliasesCommandOutput>;
|
|
1518
|
+
paginateListCapacityProviders(
|
|
1519
|
+
args?: ListCapacityProvidersCommandInput,
|
|
1520
|
+
paginationConfig?: Pick<
|
|
1521
|
+
PaginationConfiguration,
|
|
1522
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1523
|
+
>
|
|
1524
|
+
): Paginator<ListCapacityProvidersCommandOutput>;
|
|
1525
|
+
paginateListCodeSigningConfigs(
|
|
1526
|
+
args?: ListCodeSigningConfigsCommandInput,
|
|
1527
|
+
paginationConfig?: Pick<
|
|
1528
|
+
PaginationConfiguration,
|
|
1529
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1530
|
+
>
|
|
1531
|
+
): Paginator<ListCodeSigningConfigsCommandOutput>;
|
|
1532
|
+
paginateListDurableExecutionsByFunction(
|
|
1533
|
+
args: ListDurableExecutionsByFunctionCommandInput,
|
|
1534
|
+
paginationConfig?: Pick<
|
|
1535
|
+
PaginationConfiguration,
|
|
1536
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1537
|
+
>
|
|
1538
|
+
): Paginator<ListDurableExecutionsByFunctionCommandOutput>;
|
|
1539
|
+
paginateListEventSourceMappings(
|
|
1540
|
+
args?: ListEventSourceMappingsCommandInput,
|
|
1541
|
+
paginationConfig?: Pick<
|
|
1542
|
+
PaginationConfiguration,
|
|
1543
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1544
|
+
>
|
|
1545
|
+
): Paginator<ListEventSourceMappingsCommandOutput>;
|
|
1546
|
+
paginateListFunctionEventInvokeConfigs(
|
|
1547
|
+
args: ListFunctionEventInvokeConfigsCommandInput,
|
|
1548
|
+
paginationConfig?: Pick<
|
|
1549
|
+
PaginationConfiguration,
|
|
1550
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1551
|
+
>
|
|
1552
|
+
): Paginator<ListFunctionEventInvokeConfigsCommandOutput>;
|
|
1553
|
+
paginateListFunctions(
|
|
1554
|
+
args?: ListFunctionsCommandInput,
|
|
1555
|
+
paginationConfig?: Pick<
|
|
1556
|
+
PaginationConfiguration,
|
|
1557
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1558
|
+
>
|
|
1559
|
+
): Paginator<ListFunctionsCommandOutput>;
|
|
1560
|
+
paginateListFunctionsByCodeSigningConfig(
|
|
1561
|
+
args: ListFunctionsByCodeSigningConfigCommandInput,
|
|
1562
|
+
paginationConfig?: Pick<
|
|
1563
|
+
PaginationConfiguration,
|
|
1564
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1565
|
+
>
|
|
1566
|
+
): Paginator<ListFunctionsByCodeSigningConfigCommandOutput>;
|
|
1567
|
+
paginateListFunctionUrlConfigs(
|
|
1568
|
+
args: ListFunctionUrlConfigsCommandInput,
|
|
1569
|
+
paginationConfig?: Pick<
|
|
1570
|
+
PaginationConfiguration,
|
|
1571
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1572
|
+
>
|
|
1573
|
+
): Paginator<ListFunctionUrlConfigsCommandOutput>;
|
|
1574
|
+
paginateListFunctionVersionsByCapacityProvider(
|
|
1575
|
+
args: ListFunctionVersionsByCapacityProviderCommandInput,
|
|
1576
|
+
paginationConfig?: Pick<
|
|
1577
|
+
PaginationConfiguration,
|
|
1578
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1579
|
+
>
|
|
1580
|
+
): Paginator<ListFunctionVersionsByCapacityProviderCommandOutput>;
|
|
1581
|
+
paginateListLayers(
|
|
1582
|
+
args?: ListLayersCommandInput,
|
|
1583
|
+
paginationConfig?: Pick<
|
|
1584
|
+
PaginationConfiguration,
|
|
1585
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1586
|
+
>
|
|
1587
|
+
): Paginator<ListLayersCommandOutput>;
|
|
1588
|
+
paginateListLayerVersions(
|
|
1589
|
+
args: ListLayerVersionsCommandInput,
|
|
1590
|
+
paginationConfig?: Pick<
|
|
1591
|
+
PaginationConfiguration,
|
|
1592
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1593
|
+
>
|
|
1594
|
+
): Paginator<ListLayerVersionsCommandOutput>;
|
|
1595
|
+
paginateListProvisionedConcurrencyConfigs(
|
|
1596
|
+
args: ListProvisionedConcurrencyConfigsCommandInput,
|
|
1597
|
+
paginationConfig?: Pick<
|
|
1598
|
+
PaginationConfiguration,
|
|
1599
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1600
|
+
>
|
|
1601
|
+
): Paginator<ListProvisionedConcurrencyConfigsCommandOutput>;
|
|
1602
|
+
paginateListVersionsByFunction(
|
|
1603
|
+
args: ListVersionsByFunctionCommandInput,
|
|
1604
|
+
paginationConfig?: Pick<
|
|
1605
|
+
PaginationConfiguration,
|
|
1606
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1607
|
+
>
|
|
1608
|
+
): Paginator<ListVersionsByFunctionCommandOutput>;
|
|
1609
|
+
waitUntilFunctionActiveV2(
|
|
1610
|
+
args: GetFunctionCommandInput,
|
|
1611
|
+
waiterConfig:
|
|
1612
|
+
| number
|
|
1613
|
+
| Pick<
|
|
1614
|
+
WaiterConfiguration<Lambda>,
|
|
1615
|
+
Exclude<keyof WaiterConfiguration<Lambda>, "client">
|
|
1616
|
+
>
|
|
1617
|
+
): Promise<WaiterResult>;
|
|
1618
|
+
waitUntilFunctionExists(
|
|
1619
|
+
args: GetFunctionCommandInput,
|
|
1620
|
+
waiterConfig:
|
|
1621
|
+
| number
|
|
1622
|
+
| Pick<
|
|
1623
|
+
WaiterConfiguration<Lambda>,
|
|
1624
|
+
Exclude<keyof WaiterConfiguration<Lambda>, "client">
|
|
1625
|
+
>
|
|
1626
|
+
): Promise<WaiterResult>;
|
|
1627
|
+
waitUntilFunctionUpdatedV2(
|
|
1628
|
+
args: GetFunctionCommandInput,
|
|
1629
|
+
waiterConfig:
|
|
1630
|
+
| number
|
|
1631
|
+
| Pick<
|
|
1632
|
+
WaiterConfiguration<Lambda>,
|
|
1633
|
+
Exclude<keyof WaiterConfiguration<Lambda>, "client">
|
|
1634
|
+
>
|
|
1635
|
+
): Promise<WaiterResult>;
|
|
1636
|
+
waitUntilFunctionActive(
|
|
1637
|
+
args: GetFunctionConfigurationCommandInput,
|
|
1638
|
+
waiterConfig:
|
|
1639
|
+
| number
|
|
1640
|
+
| Pick<
|
|
1641
|
+
WaiterConfiguration<Lambda>,
|
|
1642
|
+
Exclude<keyof WaiterConfiguration<Lambda>, "client">
|
|
1643
|
+
>
|
|
1644
|
+
): Promise<WaiterResult>;
|
|
1645
|
+
waitUntilFunctionUpdated(
|
|
1646
|
+
args: GetFunctionConfigurationCommandInput,
|
|
1647
|
+
waiterConfig:
|
|
1648
|
+
| number
|
|
1649
|
+
| Pick<
|
|
1650
|
+
WaiterConfiguration<Lambda>,
|
|
1651
|
+
Exclude<keyof WaiterConfiguration<Lambda>, "client">
|
|
1652
|
+
>
|
|
1653
|
+
): Promise<WaiterResult>;
|
|
1654
|
+
waitUntilPublishedVersionActive(
|
|
1655
|
+
args: GetFunctionConfigurationCommandInput,
|
|
1656
|
+
waiterConfig:
|
|
1657
|
+
| number
|
|
1658
|
+
| Pick<
|
|
1659
|
+
WaiterConfiguration<Lambda>,
|
|
1660
|
+
Exclude<keyof WaiterConfiguration<Lambda>, "client">
|
|
1661
|
+
>
|
|
1662
|
+
): Promise<WaiterResult>;
|
|
1491
1663
|
}
|
|
1492
1664
|
export declare class Lambda extends LambdaClient implements Lambda {}
|
|
@@ -124,8 +124,17 @@ export declare const FunctionResponseType: {
|
|
|
124
124
|
};
|
|
125
125
|
export type FunctionResponseType =
|
|
126
126
|
(typeof FunctionResponseType)[keyof typeof FunctionResponseType];
|
|
127
|
+
export declare const EventSourceMappingSystemLogLevel: {
|
|
128
|
+
readonly Debug: "DEBUG";
|
|
129
|
+
readonly Info: "INFO";
|
|
130
|
+
readonly Warn: "WARN";
|
|
131
|
+
};
|
|
132
|
+
export type EventSourceMappingSystemLogLevel =
|
|
133
|
+
(typeof EventSourceMappingSystemLogLevel)[keyof typeof EventSourceMappingSystemLogLevel];
|
|
127
134
|
export declare const EventSourceMappingMetric: {
|
|
135
|
+
readonly ErrorCount: "ErrorCount";
|
|
128
136
|
readonly EventCount: "EventCount";
|
|
137
|
+
readonly KafkaMetrics: "KafkaMetrics";
|
|
129
138
|
};
|
|
130
139
|
export type EventSourceMappingMetric =
|
|
131
140
|
(typeof EventSourceMappingMetric)[keyof typeof EventSourceMappingMetric];
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
CodeSigningPolicy,
|
|
9
9
|
EndPointType,
|
|
10
10
|
EventSourceMappingMetric,
|
|
11
|
+
EventSourceMappingSystemLogLevel,
|
|
11
12
|
EventSourcePosition,
|
|
12
13
|
EventType,
|
|
13
14
|
ExecutionStatus,
|
|
@@ -382,6 +383,9 @@ export interface Filter {
|
|
|
382
383
|
export interface FilterCriteria {
|
|
383
384
|
Filters?: Filter[] | undefined;
|
|
384
385
|
}
|
|
386
|
+
export interface EventSourceMappingLoggingConfig {
|
|
387
|
+
SystemLogLevel?: EventSourceMappingSystemLogLevel | undefined;
|
|
388
|
+
}
|
|
385
389
|
export interface EventSourceMappingMetricsConfig {
|
|
386
390
|
Metrics?: EventSourceMappingMetric[] | undefined;
|
|
387
391
|
}
|
|
@@ -435,6 +439,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
435
439
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
|
|
436
440
|
KMSKeyArn?: string | undefined;
|
|
437
441
|
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
442
|
+
LoggingConfig?: EventSourceMappingLoggingConfig | undefined;
|
|
438
443
|
ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
|
|
439
444
|
}
|
|
440
445
|
export interface FilterCriteriaError {
|
|
@@ -477,6 +482,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
477
482
|
FilterCriteriaError?: FilterCriteriaError | undefined;
|
|
478
483
|
EventSourceMappingArn?: string | undefined;
|
|
479
484
|
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
485
|
+
LoggingConfig?: EventSourceMappingLoggingConfig | undefined;
|
|
480
486
|
ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
|
|
481
487
|
}
|
|
482
488
|
export interface DeleteEventSourceMappingRequest {
|
|
@@ -520,6 +526,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
520
526
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
|
|
521
527
|
KMSKeyArn?: string | undefined;
|
|
522
528
|
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
529
|
+
LoggingConfig?: EventSourceMappingLoggingConfig | undefined;
|
|
523
530
|
ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
|
|
524
531
|
}
|
|
525
532
|
export interface LambdaManagedInstancesCapacityProviderConfig {
|