@aws-sdk/client-lambda 3.952.0 → 3.954.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 (105) hide show
  1. package/dist-cjs/index.js +1462 -1006
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AddLayerVersionPermissionCommand.js +2 -2
  4. package/dist-es/commands/AddPermissionCommand.js +2 -2
  5. package/dist-es/commands/CheckpointDurableExecutionCommand.js +2 -2
  6. package/dist-es/commands/CreateAliasCommand.js +2 -2
  7. package/dist-es/commands/CreateCapacityProviderCommand.js +2 -2
  8. package/dist-es/commands/CreateCodeSigningConfigCommand.js +2 -2
  9. package/dist-es/commands/CreateEventSourceMappingCommand.js +2 -2
  10. package/dist-es/commands/CreateFunctionCommand.js +2 -2
  11. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +2 -2
  12. package/dist-es/commands/DeleteAliasCommand.js +2 -2
  13. package/dist-es/commands/DeleteCapacityProviderCommand.js +2 -2
  14. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +2 -2
  15. package/dist-es/commands/DeleteEventSourceMappingCommand.js +2 -2
  16. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +2 -2
  17. package/dist-es/commands/DeleteFunctionCommand.js +2 -2
  18. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +2 -2
  19. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +2 -2
  20. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +2 -2
  21. package/dist-es/commands/DeleteLayerVersionCommand.js +2 -2
  22. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +2 -2
  23. package/dist-es/commands/GetAccountSettingsCommand.js +2 -2
  24. package/dist-es/commands/GetAliasCommand.js +2 -2
  25. package/dist-es/commands/GetCapacityProviderCommand.js +2 -2
  26. package/dist-es/commands/GetCodeSigningConfigCommand.js +2 -2
  27. package/dist-es/commands/GetDurableExecutionCommand.js +2 -2
  28. package/dist-es/commands/GetDurableExecutionHistoryCommand.js +2 -2
  29. package/dist-es/commands/GetDurableExecutionStateCommand.js +2 -2
  30. package/dist-es/commands/GetEventSourceMappingCommand.js +2 -2
  31. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +2 -2
  32. package/dist-es/commands/GetFunctionCommand.js +2 -2
  33. package/dist-es/commands/GetFunctionConcurrencyCommand.js +2 -2
  34. package/dist-es/commands/GetFunctionConfigurationCommand.js +2 -2
  35. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +2 -2
  36. package/dist-es/commands/GetFunctionRecursionConfigCommand.js +2 -2
  37. package/dist-es/commands/GetFunctionScalingConfigCommand.js +2 -2
  38. package/dist-es/commands/GetFunctionUrlConfigCommand.js +2 -2
  39. package/dist-es/commands/GetLayerVersionByArnCommand.js +2 -2
  40. package/dist-es/commands/GetLayerVersionCommand.js +2 -2
  41. package/dist-es/commands/GetLayerVersionPolicyCommand.js +2 -2
  42. package/dist-es/commands/GetPolicyCommand.js +2 -2
  43. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +2 -2
  44. package/dist-es/commands/GetRuntimeManagementConfigCommand.js +2 -2
  45. package/dist-es/commands/InvokeAsyncCommand.js +2 -2
  46. package/dist-es/commands/InvokeCommand.js +2 -2
  47. package/dist-es/commands/InvokeWithResponseStreamCommand.js +2 -2
  48. package/dist-es/commands/ListAliasesCommand.js +2 -2
  49. package/dist-es/commands/ListCapacityProvidersCommand.js +2 -2
  50. package/dist-es/commands/ListCodeSigningConfigsCommand.js +2 -2
  51. package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +2 -2
  52. package/dist-es/commands/ListEventSourceMappingsCommand.js +2 -2
  53. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +2 -2
  54. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +2 -2
  55. package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +2 -2
  56. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +2 -2
  57. package/dist-es/commands/ListFunctionsCommand.js +2 -2
  58. package/dist-es/commands/ListLayerVersionsCommand.js +2 -2
  59. package/dist-es/commands/ListLayersCommand.js +2 -2
  60. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +2 -2
  61. package/dist-es/commands/ListTagsCommand.js +2 -2
  62. package/dist-es/commands/ListVersionsByFunctionCommand.js +2 -2
  63. package/dist-es/commands/PublishLayerVersionCommand.js +2 -2
  64. package/dist-es/commands/PublishVersionCommand.js +2 -2
  65. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +2 -2
  66. package/dist-es/commands/PutFunctionConcurrencyCommand.js +2 -2
  67. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +2 -2
  68. package/dist-es/commands/PutFunctionRecursionConfigCommand.js +2 -2
  69. package/dist-es/commands/PutFunctionScalingConfigCommand.js +2 -2
  70. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +2 -2
  71. package/dist-es/commands/PutRuntimeManagementConfigCommand.js +2 -2
  72. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +2 -2
  73. package/dist-es/commands/RemovePermissionCommand.js +2 -2
  74. package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +2 -2
  75. package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +2 -2
  76. package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +2 -2
  77. package/dist-es/commands/StopDurableExecutionCommand.js +2 -2
  78. package/dist-es/commands/TagResourceCommand.js +2 -2
  79. package/dist-es/commands/UntagResourceCommand.js +2 -2
  80. package/dist-es/commands/UpdateAliasCommand.js +2 -2
  81. package/dist-es/commands/UpdateCapacityProviderCommand.js +2 -2
  82. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +2 -2
  83. package/dist-es/commands/UpdateEventSourceMappingCommand.js +2 -2
  84. package/dist-es/commands/UpdateFunctionCodeCommand.js +2 -2
  85. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +2 -2
  86. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +2 -2
  87. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +2 -2
  88. package/dist-es/index.js +1 -0
  89. package/dist-es/runtimeConfig.shared.js +6 -1
  90. package/dist-es/schemas/schemas_0.js +898 -832
  91. package/dist-types/LambdaClient.d.ts +1 -10
  92. package/dist-types/index.d.ts +1 -0
  93. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  94. package/dist-types/runtimeConfig.d.ts +6 -2
  95. package/dist-types/runtimeConfig.native.d.ts +6 -2
  96. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  97. package/dist-types/schemas/schemas_0.d.ts +391 -454
  98. package/dist-types/ts3.4/LambdaClient.d.ts +0 -4
  99. package/dist-types/ts3.4/index.d.ts +1 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  104. package/dist-types/ts3.4/schemas/schemas_0.d.ts +390 -456
  105. package/package.json +39 -39
@@ -33,14 +33,11 @@ import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
34
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
35
  ChecksumConstructor as __ChecksumConstructor,
36
- ClientProtocol,
37
36
  Decoder as __Decoder,
38
37
  Encoder as __Encoder,
39
38
  EventStreamSerdeProvider as __EventStreamSerdeProvider,
40
39
  HashConstructor as __HashConstructor,
41
40
  HttpHandlerOptions as __HttpHandlerOptions,
42
- HttpRequest,
43
- HttpResponse,
44
41
  Logger as __Logger,
45
42
  Provider as __Provider,
46
43
  StreamCollector as __StreamCollector,
@@ -596,7 +593,6 @@ export interface ClientDefaults
596
593
  retryMode?: string | __Provider<string>;
597
594
  logger?: __Logger;
598
595
  extensions?: RuntimeExtension[];
599
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
600
596
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
601
597
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
602
598
  }
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { LambdaExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./waiters";
9
10
  export * from "./models/enums";
@@ -27,8 +27,16 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
27
27
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
28
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
29
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
- apiVersion: string;
31
30
  cacheMiddleware?: boolean | undefined;
31
+ protocol:
32
+ | import("@smithy/types").ClientProtocol<any, any>
33
+ | import("@smithy/types").ClientProtocolCtor<any, any>
34
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ protocolSettings: {
36
+ defaultNamespace?: string;
37
+ [setting: string]: unknown;
38
+ };
39
+ apiVersion: string;
32
40
  urlParser: import("@smithy/types").UrlParser;
33
41
  base64Decoder: import("@smithy/types").Decoder;
34
42
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
39
47
  profile?: string;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
47
51
  userAgentAppId?:
48
52
  | string
@@ -27,8 +27,16 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
30
- apiVersion: string;
31
30
  cacheMiddleware?: boolean | undefined;
31
+ protocol:
32
+ | import("@smithy/types").ClientProtocol<any, any>
33
+ | import("@smithy/types").ClientProtocolCtor<any, any>
34
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ protocolSettings: {
36
+ defaultNamespace?: string;
37
+ [setting: string]: unknown;
38
+ };
39
+ apiVersion: string;
32
40
  urlParser: import("@smithy/types").UrlParser;
33
41
  base64Decoder: import("@smithy/types").Decoder;
34
42
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
39
47
  profile?: string;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
47
51
  retryStrategy?:
48
52
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
37
45
  retryMode: string | import("@smithy/types").Provider<string>;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol: import("@smithy/types").ClientProtocol<
41
- import("@smithy/types").HttpRequest,
42
- import("@smithy/types").HttpResponse
43
- >;
44
48
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
45
49
  defaultsMode:
46
50
  | import("@smithy/smithy-client").DefaultsMode
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { LambdaClientConfig } from "./LambdaClient";
2
3
  export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
3
4
  apiVersion: string;
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<
18
- import("@smithy/types").HttpRequest,
19
- import("@smithy/types").HttpResponse
20
- >;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
21
26
  serviceId: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  utf8Decoder: import("@smithy/types").Decoder;