@aws-sdk/client-lambda 3.651.1 → 3.654.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 (168) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +254 -0
  3. package/dist-es/Lambda.js +10 -0
  4. package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
  5. package/dist-es/commands/GetPublicAccessBlockConfigCommand.js +22 -0
  6. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  7. package/dist-es/commands/PutPublicAccessBlockConfigCommand.js +22 -0
  8. package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +14 -0
  11. package/dist-es/protocols/Aws_restJson1.js +145 -1
  12. package/dist-types/Lambda.d.ts +35 -0
  13. package/dist-types/LambdaClient.d.ts +7 -2
  14. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +11 -0
  15. package/dist-types/commands/AddPermissionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateAliasCommand.d.ts +11 -0
  17. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +11 -0
  18. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +11 -0
  19. package/dist-types/commands/CreateFunctionCommand.d.ts +11 -0
  20. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +11 -0
  21. package/dist-types/commands/DeleteAliasCommand.d.ts +11 -0
  22. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +11 -0
  23. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +11 -0
  24. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +11 -0
  25. package/dist-types/commands/DeleteFunctionCommand.d.ts +11 -0
  26. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +11 -0
  27. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +11 -0
  28. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +11 -0
  29. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +11 -0
  30. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +11 -0
  31. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +98 -0
  32. package/dist-types/commands/GetAccountSettingsCommand.d.ts +11 -0
  33. package/dist-types/commands/GetAliasCommand.d.ts +11 -0
  34. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +11 -0
  35. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +11 -0
  36. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +11 -0
  37. package/dist-types/commands/GetFunctionCommand.d.ts +11 -0
  38. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +11 -0
  39. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -0
  40. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +11 -0
  42. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +11 -0
  43. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +11 -0
  44. package/dist-types/commands/GetLayerVersionCommand.d.ts +11 -0
  45. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +11 -0
  46. package/dist-types/commands/GetPolicyCommand.d.ts +11 -0
  47. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +11 -0
  48. package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +86 -0
  49. package/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
  50. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +11 -0
  51. package/dist-types/commands/InvokeAsyncCommand.d.ts +11 -0
  52. package/dist-types/commands/InvokeCommand.d.ts +11 -0
  53. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +11 -0
  54. package/dist-types/commands/ListAliasesCommand.d.ts +11 -0
  55. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +11 -0
  56. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +11 -0
  57. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +11 -0
  59. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +11 -0
  60. package/dist-types/commands/ListFunctionsCommand.d.ts +11 -0
  61. package/dist-types/commands/ListLayerVersionsCommand.d.ts +11 -0
  62. package/dist-types/commands/ListLayersCommand.d.ts +11 -0
  63. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +11 -0
  64. package/dist-types/commands/ListTagsCommand.d.ts +11 -0
  65. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -0
  66. package/dist-types/commands/PublishLayerVersionCommand.d.ts +11 -0
  67. package/dist-types/commands/PublishVersionCommand.d.ts +11 -0
  68. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +11 -0
  69. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +11 -0
  70. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +11 -0
  71. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +11 -0
  72. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +11 -0
  73. package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +97 -0
  74. package/dist-types/commands/PutResourcePolicyCommand.d.ts +120 -0
  75. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +11 -0
  76. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +11 -0
  77. package/dist-types/commands/RemovePermissionCommand.d.ts +11 -0
  78. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  79. package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  80. package/dist-types/commands/UpdateAliasCommand.d.ts +11 -0
  81. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +11 -0
  82. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +11 -0
  83. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +11 -0
  84. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +11 -0
  85. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +11 -0
  86. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +11 -0
  87. package/dist-types/commands/index.d.ts +5 -0
  88. package/dist-types/models/models_0.d.ts +174 -0
  89. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  90. package/dist-types/ts3.4/Lambda.d.ts +85 -0
  91. package/dist-types/ts3.4/LambdaClient.d.ts +30 -0
  92. package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +12 -1
  93. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +12 -1
  94. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +12 -1
  95. package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +12 -1
  96. package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +12 -1
  97. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +12 -1
  98. package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +12 -1
  99. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +12 -1
  100. package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +12 -1
  101. package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +12 -1
  102. package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +12 -1
  103. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +12 -1
  104. package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +12 -1
  105. package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +12 -1
  106. package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +12 -1
  107. package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +12 -1
  108. package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +12 -1
  109. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
  110. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +12 -1
  112. package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +12 -1
  119. package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +12 -1
  129. package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/InvokeCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +12 -1
  141. package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +12 -1
  142. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +12 -1
  143. package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +12 -1
  144. package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +12 -1
  145. package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +12 -1
  146. package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +12 -1
  147. package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +12 -1
  148. package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +12 -1
  149. package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +12 -1
  150. package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +12 -1
  151. package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +12 -1
  154. package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +12 -1
  155. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +12 -1
  156. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  157. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  158. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +12 -1
  159. package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +12 -1
  160. package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +12 -1
  161. package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +12 -1
  162. package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +12 -1
  163. package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +12 -1
  164. package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +12 -1
  165. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  166. package/dist-types/ts3.4/models/models_0.d.ts +46 -0
  167. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  168. package/package.json +40 -40
@@ -33,4 +33,15 @@ declare const UpdateAliasCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class UpdateAliasCommand extends UpdateAliasCommand_base {}
36
+ export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UpdateAliasRequest;
40
+ output: AliasConfiguration;
41
+ };
42
+ sdk: {
43
+ input: UpdateAliasCommandInput;
44
+ output: UpdateAliasCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -37,4 +37,15 @@ declare const UpdateCodeSigningConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateCodeSigningConfigCommand extends UpdateCodeSigningConfigCommand_base {}
40
+ export declare class UpdateCodeSigningConfigCommand extends UpdateCodeSigningConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateCodeSigningConfigRequest;
44
+ output: UpdateCodeSigningConfigResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateCodeSigningConfigCommandInput;
48
+ output: UpdateCodeSigningConfigCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const UpdateEventSourceMappingCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {}
40
+ export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateEventSourceMappingRequest;
44
+ output: EventSourceMappingConfiguration;
45
+ };
46
+ sdk: {
47
+ input: UpdateEventSourceMappingCommandInput;
48
+ output: UpdateEventSourceMappingCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const UpdateFunctionCodeCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateFunctionCodeCommand extends UpdateFunctionCodeCommand_base {}
40
+ export declare class UpdateFunctionCodeCommand extends UpdateFunctionCodeCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateFunctionCodeRequest;
44
+ output: FunctionConfiguration;
45
+ };
46
+ sdk: {
47
+ input: UpdateFunctionCodeCommandInput;
48
+ output: UpdateFunctionCodeCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const UpdateFunctionConfigurationCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {}
40
+ export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateFunctionConfigurationRequest;
44
+ output: FunctionConfiguration;
45
+ };
46
+ sdk: {
47
+ input: UpdateFunctionConfigurationCommandInput;
48
+ output: UpdateFunctionConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const UpdateFunctionEventInvokeConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {}
40
+ export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateFunctionEventInvokeConfigRequest;
44
+ output: FunctionEventInvokeConfig;
45
+ };
46
+ sdk: {
47
+ input: UpdateFunctionEventInvokeConfigCommandInput;
48
+ output: UpdateFunctionEventInvokeConfigCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const UpdateFunctionUrlConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class UpdateFunctionUrlConfigCommand extends UpdateFunctionUrlConfigCommand_base {}
40
+ export declare class UpdateFunctionUrlConfigCommand extends UpdateFunctionUrlConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateFunctionUrlConfigRequest;
44
+ output: UpdateFunctionUrlConfigResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateFunctionUrlConfigCommandInput;
48
+ output: UpdateFunctionUrlConfigCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -15,6 +15,7 @@ export * from "./DeleteFunctionEventInvokeConfigCommand";
15
15
  export * from "./DeleteFunctionUrlConfigCommand";
16
16
  export * from "./DeleteLayerVersionCommand";
17
17
  export * from "./DeleteProvisionedConcurrencyConfigCommand";
18
+ export * from "./DeleteResourcePolicyCommand";
18
19
  export * from "./GetAccountSettingsCommand";
19
20
  export * from "./GetAliasCommand";
20
21
  export * from "./GetCodeSigningConfigCommand";
@@ -31,6 +32,8 @@ export * from "./GetLayerVersionCommand";
31
32
  export * from "./GetLayerVersionPolicyCommand";
32
33
  export * from "./GetPolicyCommand";
33
34
  export * from "./GetProvisionedConcurrencyConfigCommand";
35
+ export * from "./GetPublicAccessBlockConfigCommand";
36
+ export * from "./GetResourcePolicyCommand";
34
37
  export * from "./GetRuntimeManagementConfigCommand";
35
38
  export * from "./InvokeAsyncCommand";
36
39
  export * from "./InvokeCommand";
@@ -54,6 +57,8 @@ export * from "./PutFunctionConcurrencyCommand";
54
57
  export * from "./PutFunctionEventInvokeConfigCommand";
55
58
  export * from "./PutFunctionRecursionConfigCommand";
56
59
  export * from "./PutProvisionedConcurrencyConfigCommand";
60
+ export * from "./PutPublicAccessBlockConfigCommand";
61
+ export * from "./PutResourcePolicyCommand";
57
62
  export * from "./PutRuntimeManagementConfigCommand";
58
63
  export * from "./RemoveLayerVersionPermissionCommand";
59
64
  export * from "./RemovePermissionCommand";
@@ -713,6 +713,10 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
713
713
  FunctionName: string | undefined;
714
714
  Qualifier: string | undefined;
715
715
  }
716
+ export interface DeleteResourcePolicyRequest {
717
+ ResourceArn: string | undefined;
718
+ RevisionId?: string;
719
+ }
716
720
  export interface GetAccountSettingsRequest {}
717
721
  export interface GetAccountSettingsResponse {
718
722
  AccountLimit?: AccountLimit;
@@ -873,6 +877,23 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
873
877
  >
874
878
  );
875
879
  }
880
+ export interface GetPublicAccessBlockConfigRequest {
881
+ ResourceArn: string | undefined;
882
+ }
883
+ export interface PublicAccessBlockConfig {
884
+ BlockPublicPolicy?: boolean;
885
+ RestrictPublicResource?: boolean;
886
+ }
887
+ export interface GetPublicAccessBlockConfigResponse {
888
+ PublicAccessBlockConfig?: PublicAccessBlockConfig;
889
+ }
890
+ export interface GetResourcePolicyRequest {
891
+ ResourceArn: string | undefined;
892
+ }
893
+ export interface GetResourcePolicyResponse {
894
+ Policy?: string;
895
+ RevisionId?: string;
896
+ }
876
897
  export interface GetRuntimeManagementConfigRequest {
877
898
  FunctionName: string | undefined;
878
899
  Qualifier?: string;
@@ -1422,6 +1443,31 @@ export interface PutProvisionedConcurrencyConfigResponse {
1422
1443
  StatusReason?: string;
1423
1444
  LastModified?: string;
1424
1445
  }
1446
+ export interface PutPublicAccessBlockConfigRequest {
1447
+ ResourceArn: string | undefined;
1448
+ PublicAccessBlockConfig: PublicAccessBlockConfig | undefined;
1449
+ }
1450
+ export interface PutPublicAccessBlockConfigResponse {
1451
+ PublicAccessBlockConfig?: PublicAccessBlockConfig;
1452
+ }
1453
+ export declare class PublicPolicyException extends __BaseException {
1454
+ readonly name: "PublicPolicyException";
1455
+ readonly $fault: "client";
1456
+ Type?: string;
1457
+ Message?: string;
1458
+ constructor(
1459
+ opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
1460
+ );
1461
+ }
1462
+ export interface PutResourcePolicyRequest {
1463
+ ResourceArn: string | undefined;
1464
+ Policy: string | undefined;
1465
+ RevisionId?: string;
1466
+ }
1467
+ export interface PutResourcePolicyResponse {
1468
+ Policy?: string;
1469
+ RevisionId?: string;
1470
+ }
1425
1471
  export interface PutRuntimeManagementConfigRequest {
1426
1472
  FunctionName: string | undefined;
1427
1473
  Qualifier?: string;
@@ -74,6 +74,10 @@ import {
74
74
  DeleteProvisionedConcurrencyConfigCommandInput,
75
75
  DeleteProvisionedConcurrencyConfigCommandOutput,
76
76
  } from "../commands/DeleteProvisionedConcurrencyConfigCommand";
77
+ import {
78
+ DeleteResourcePolicyCommandInput,
79
+ DeleteResourcePolicyCommandOutput,
80
+ } from "../commands/DeleteResourcePolicyCommand";
77
81
  import {
78
82
  GetAccountSettingsCommandInput,
79
83
  GetAccountSettingsCommandOutput,
@@ -138,6 +142,14 @@ import {
138
142
  GetProvisionedConcurrencyConfigCommandInput,
139
143
  GetProvisionedConcurrencyConfigCommandOutput,
140
144
  } from "../commands/GetProvisionedConcurrencyConfigCommand";
145
+ import {
146
+ GetPublicAccessBlockConfigCommandInput,
147
+ GetPublicAccessBlockConfigCommandOutput,
148
+ } from "../commands/GetPublicAccessBlockConfigCommand";
149
+ import {
150
+ GetResourcePolicyCommandInput,
151
+ GetResourcePolicyCommandOutput,
152
+ } from "../commands/GetResourcePolicyCommand";
141
153
  import {
142
154
  GetRuntimeManagementConfigCommandInput,
143
155
  GetRuntimeManagementConfigCommandOutput,
@@ -230,6 +242,14 @@ import {
230
242
  PutProvisionedConcurrencyConfigCommandInput,
231
243
  PutProvisionedConcurrencyConfigCommandOutput,
232
244
  } from "../commands/PutProvisionedConcurrencyConfigCommand";
245
+ import {
246
+ PutPublicAccessBlockConfigCommandInput,
247
+ PutPublicAccessBlockConfigCommandOutput,
248
+ } from "../commands/PutPublicAccessBlockConfigCommand";
249
+ import {
250
+ PutResourcePolicyCommandInput,
251
+ PutResourcePolicyCommandOutput,
252
+ } from "../commands/PutResourcePolicyCommand";
233
253
  import {
234
254
  PutRuntimeManagementConfigCommandInput,
235
255
  PutRuntimeManagementConfigCommandOutput,
@@ -346,6 +366,10 @@ export declare const se_DeleteProvisionedConcurrencyConfigCommand: (
346
366
  input: DeleteProvisionedConcurrencyConfigCommandInput,
347
367
  context: __SerdeContext
348
368
  ) => Promise<__HttpRequest>;
369
+ export declare const se_DeleteResourcePolicyCommand: (
370
+ input: DeleteResourcePolicyCommandInput,
371
+ context: __SerdeContext
372
+ ) => Promise<__HttpRequest>;
349
373
  export declare const se_GetAccountSettingsCommand: (
350
374
  input: GetAccountSettingsCommandInput,
351
375
  context: __SerdeContext
@@ -410,6 +434,14 @@ export declare const se_GetProvisionedConcurrencyConfigCommand: (
410
434
  input: GetProvisionedConcurrencyConfigCommandInput,
411
435
  context: __SerdeContext
412
436
  ) => Promise<__HttpRequest>;
437
+ export declare const se_GetPublicAccessBlockConfigCommand: (
438
+ input: GetPublicAccessBlockConfigCommandInput,
439
+ context: __SerdeContext
440
+ ) => Promise<__HttpRequest>;
441
+ export declare const se_GetResourcePolicyCommand: (
442
+ input: GetResourcePolicyCommandInput,
443
+ context: __SerdeContext
444
+ ) => Promise<__HttpRequest>;
413
445
  export declare const se_GetRuntimeManagementConfigCommand: (
414
446
  input: GetRuntimeManagementConfigCommandInput,
415
447
  context: __SerdeContext
@@ -502,6 +534,14 @@ export declare const se_PutProvisionedConcurrencyConfigCommand: (
502
534
  input: PutProvisionedConcurrencyConfigCommandInput,
503
535
  context: __SerdeContext
504
536
  ) => Promise<__HttpRequest>;
537
+ export declare const se_PutPublicAccessBlockConfigCommand: (
538
+ input: PutPublicAccessBlockConfigCommandInput,
539
+ context: __SerdeContext
540
+ ) => Promise<__HttpRequest>;
541
+ export declare const se_PutResourcePolicyCommand: (
542
+ input: PutResourcePolicyCommandInput,
543
+ context: __SerdeContext
544
+ ) => Promise<__HttpRequest>;
505
545
  export declare const se_PutRuntimeManagementConfigCommand: (
506
546
  input: PutRuntimeManagementConfigCommandInput,
507
547
  context: __SerdeContext
@@ -618,6 +658,10 @@ export declare const de_DeleteProvisionedConcurrencyConfigCommand: (
618
658
  output: __HttpResponse,
619
659
  context: __SerdeContext
620
660
  ) => Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
661
+ export declare const de_DeleteResourcePolicyCommand: (
662
+ output: __HttpResponse,
663
+ context: __SerdeContext
664
+ ) => Promise<DeleteResourcePolicyCommandOutput>;
621
665
  export declare const de_GetAccountSettingsCommand: (
622
666
  output: __HttpResponse,
623
667
  context: __SerdeContext
@@ -682,6 +726,14 @@ export declare const de_GetProvisionedConcurrencyConfigCommand: (
682
726
  output: __HttpResponse,
683
727
  context: __SerdeContext
684
728
  ) => Promise<GetProvisionedConcurrencyConfigCommandOutput>;
729
+ export declare const de_GetPublicAccessBlockConfigCommand: (
730
+ output: __HttpResponse,
731
+ context: __SerdeContext
732
+ ) => Promise<GetPublicAccessBlockConfigCommandOutput>;
733
+ export declare const de_GetResourcePolicyCommand: (
734
+ output: __HttpResponse,
735
+ context: __SerdeContext
736
+ ) => Promise<GetResourcePolicyCommandOutput>;
685
737
  export declare const de_GetRuntimeManagementConfigCommand: (
686
738
  output: __HttpResponse,
687
739
  context: __SerdeContext
@@ -774,6 +826,14 @@ export declare const de_PutProvisionedConcurrencyConfigCommand: (
774
826
  output: __HttpResponse,
775
827
  context: __SerdeContext
776
828
  ) => Promise<PutProvisionedConcurrencyConfigCommandOutput>;
829
+ export declare const de_PutPublicAccessBlockConfigCommand: (
830
+ output: __HttpResponse,
831
+ context: __SerdeContext
832
+ ) => Promise<PutPublicAccessBlockConfigCommandOutput>;
833
+ export declare const de_PutResourcePolicyCommand: (
834
+ output: __HttpResponse,
835
+ context: __SerdeContext
836
+ ) => Promise<PutResourcePolicyCommandOutput>;
777
837
  export declare const de_PutRuntimeManagementConfigCommand: (
778
838
  output: __HttpResponse,
779
839
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.651.1",
4
+ "version": "3.654.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lambda",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.651.1",
24
- "@aws-sdk/client-sts": "3.651.1",
25
- "@aws-sdk/core": "3.651.1",
26
- "@aws-sdk/credential-provider-node": "3.651.1",
27
- "@aws-sdk/middleware-host-header": "3.649.0",
28
- "@aws-sdk/middleware-logger": "3.649.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
- "@aws-sdk/middleware-user-agent": "3.649.0",
31
- "@aws-sdk/region-config-resolver": "3.649.0",
32
- "@aws-sdk/types": "3.649.0",
33
- "@aws-sdk/util-endpoints": "3.649.0",
34
- "@aws-sdk/util-user-agent-browser": "3.649.0",
35
- "@aws-sdk/util-user-agent-node": "3.649.0",
36
- "@smithy/config-resolver": "^3.0.6",
37
- "@smithy/core": "^2.4.1",
38
- "@smithy/eventstream-serde-browser": "^3.0.7",
39
- "@smithy/eventstream-serde-config-resolver": "^3.0.4",
40
- "@smithy/eventstream-serde-node": "^3.0.6",
41
- "@smithy/fetch-http-handler": "^3.2.5",
42
- "@smithy/hash-node": "^3.0.4",
43
- "@smithy/invalid-dependency": "^3.0.4",
44
- "@smithy/middleware-content-length": "^3.0.6",
45
- "@smithy/middleware-endpoint": "^3.1.1",
46
- "@smithy/middleware-retry": "^3.0.16",
47
- "@smithy/middleware-serde": "^3.0.4",
48
- "@smithy/middleware-stack": "^3.0.4",
49
- "@smithy/node-config-provider": "^3.1.5",
50
- "@smithy/node-http-handler": "^3.2.0",
51
- "@smithy/protocol-http": "^4.1.1",
52
- "@smithy/smithy-client": "^3.3.0",
53
- "@smithy/types": "^3.4.0",
54
- "@smithy/url-parser": "^3.0.4",
23
+ "@aws-sdk/client-sso-oidc": "3.654.0",
24
+ "@aws-sdk/client-sts": "3.654.0",
25
+ "@aws-sdk/core": "3.654.0",
26
+ "@aws-sdk/credential-provider-node": "3.654.0",
27
+ "@aws-sdk/middleware-host-header": "3.654.0",
28
+ "@aws-sdk/middleware-logger": "3.654.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.654.0",
30
+ "@aws-sdk/middleware-user-agent": "3.654.0",
31
+ "@aws-sdk/region-config-resolver": "3.654.0",
32
+ "@aws-sdk/types": "3.654.0",
33
+ "@aws-sdk/util-endpoints": "3.654.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.654.0",
35
+ "@aws-sdk/util-user-agent-node": "3.654.0",
36
+ "@smithy/config-resolver": "^3.0.8",
37
+ "@smithy/core": "^2.4.3",
38
+ "@smithy/eventstream-serde-browser": "^3.0.9",
39
+ "@smithy/eventstream-serde-config-resolver": "^3.0.6",
40
+ "@smithy/eventstream-serde-node": "^3.0.8",
41
+ "@smithy/fetch-http-handler": "^3.2.7",
42
+ "@smithy/hash-node": "^3.0.6",
43
+ "@smithy/invalid-dependency": "^3.0.6",
44
+ "@smithy/middleware-content-length": "^3.0.8",
45
+ "@smithy/middleware-endpoint": "^3.1.3",
46
+ "@smithy/middleware-retry": "^3.0.18",
47
+ "@smithy/middleware-serde": "^3.0.6",
48
+ "@smithy/middleware-stack": "^3.0.6",
49
+ "@smithy/node-config-provider": "^3.1.7",
50
+ "@smithy/node-http-handler": "^3.2.2",
51
+ "@smithy/protocol-http": "^4.1.3",
52
+ "@smithy/smithy-client": "^3.3.2",
53
+ "@smithy/types": "^3.4.2",
54
+ "@smithy/url-parser": "^3.0.6",
55
55
  "@smithy/util-base64": "^3.0.0",
56
56
  "@smithy/util-body-length-browser": "^3.0.0",
57
57
  "@smithy/util-body-length-node": "^3.0.0",
58
- "@smithy/util-defaults-mode-browser": "^3.0.16",
59
- "@smithy/util-defaults-mode-node": "^3.0.16",
60
- "@smithy/util-endpoints": "^2.1.0",
61
- "@smithy/util-middleware": "^3.0.4",
62
- "@smithy/util-retry": "^3.0.4",
63
- "@smithy/util-stream": "^3.1.4",
58
+ "@smithy/util-defaults-mode-browser": "^3.0.18",
59
+ "@smithy/util-defaults-mode-node": "^3.0.18",
60
+ "@smithy/util-endpoints": "^2.1.2",
61
+ "@smithy/util-middleware": "^3.0.6",
62
+ "@smithy/util-retry": "^3.0.6",
63
+ "@smithy/util-stream": "^3.1.6",
64
64
  "@smithy/util-utf8": "^3.0.0",
65
- "@smithy/util-waiter": "^3.1.3",
65
+ "@smithy/util-waiter": "^3.1.5",
66
66
  "tslib": "^2.6.2"
67
67
  },
68
68
  "devDependencies": {