@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
@@ -746,6 +746,20 @@ export var InvokeWithResponseStreamResponseEvent;
746
746
  export const FunctionVersion = {
747
747
  ALL: "ALL",
748
748
  };
749
+ export class PublicPolicyException extends __BaseException {
750
+ constructor(opts) {
751
+ super({
752
+ name: "PublicPolicyException",
753
+ $fault: "client",
754
+ ...opts,
755
+ });
756
+ this.name = "PublicPolicyException";
757
+ this.$fault = "client";
758
+ Object.setPrototypeOf(this, PublicPolicyException.prototype);
759
+ this.Type = opts.Type;
760
+ this.Message = opts.Message;
761
+ }
762
+ }
749
763
  export const FunctionCodeFilterSensitiveLog = (obj) => ({
750
764
  ...obj,
751
765
  ...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }),
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { LambdaServiceException as __BaseException } from "../models/LambdaServiceException";
5
- import { CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceException, SnapStartException, SnapStartNotReadyException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/models_0";
5
+ import { CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, PublicPolicyException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceException, SnapStartException, SnapStartNotReadyException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/models_0";
6
6
  export const se_AddLayerVersionPermissionCommand = async (input, context) => {
7
7
  const b = rb(input, context);
8
8
  const headers = {
@@ -276,6 +276,18 @@ export const se_DeleteProvisionedConcurrencyConfigCommand = async (input, contex
276
276
  b.m("DELETE").h(headers).q(query).b(body);
277
277
  return b.build();
278
278
  };
279
+ export const se_DeleteResourcePolicyCommand = async (input, context) => {
280
+ const b = rb(input, context);
281
+ const headers = {};
282
+ b.bp("/2024-09-16/resource-policy/{ResourceArn}");
283
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
284
+ const query = map({
285
+ [_RI]: [, input[_RI]],
286
+ });
287
+ let body;
288
+ b.m("DELETE").h(headers).q(query).b(body);
289
+ return b.build();
290
+ };
279
291
  export const se_GetAccountSettingsCommand = async (input, context) => {
280
292
  const b = rb(input, context);
281
293
  const headers = {};
@@ -443,6 +455,24 @@ export const se_GetProvisionedConcurrencyConfigCommand = async (input, context)
443
455
  b.m("GET").h(headers).q(query).b(body);
444
456
  return b.build();
445
457
  };
458
+ export const se_GetPublicAccessBlockConfigCommand = async (input, context) => {
459
+ const b = rb(input, context);
460
+ const headers = {};
461
+ b.bp("/2024-09-16/public-access-block/{ResourceArn}");
462
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
463
+ let body;
464
+ b.m("GET").h(headers).b(body);
465
+ return b.build();
466
+ };
467
+ export const se_GetResourcePolicyCommand = async (input, context) => {
468
+ const b = rb(input, context);
469
+ const headers = {};
470
+ b.bp("/2024-09-16/resource-policy/{ResourceArn}");
471
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
472
+ let body;
473
+ b.m("GET").h(headers).b(body);
474
+ return b.build();
475
+ };
446
476
  export const se_GetRuntimeManagementConfigCommand = async (input, context) => {
447
477
  const b = rb(input, context);
448
478
  const headers = {};
@@ -779,6 +809,35 @@ export const se_PutProvisionedConcurrencyConfigCommand = async (input, context)
779
809
  b.m("PUT").h(headers).q(query).b(body);
780
810
  return b.build();
781
811
  };
812
+ export const se_PutPublicAccessBlockConfigCommand = async (input, context) => {
813
+ const b = rb(input, context);
814
+ const headers = {
815
+ "content-type": "application/json",
816
+ };
817
+ b.bp("/2024-09-16/public-access-block/{ResourceArn}");
818
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
819
+ let body;
820
+ body = JSON.stringify(take(input, {
821
+ PublicAccessBlockConfig: (_) => _json(_),
822
+ }));
823
+ b.m("PUT").h(headers).b(body);
824
+ return b.build();
825
+ };
826
+ export const se_PutResourcePolicyCommand = async (input, context) => {
827
+ const b = rb(input, context);
828
+ const headers = {
829
+ "content-type": "application/json",
830
+ };
831
+ b.bp("/2024-09-16/resource-policy/{ResourceArn}");
832
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
833
+ let body;
834
+ body = JSON.stringify(take(input, {
835
+ Policy: [],
836
+ RevisionId: [],
837
+ }));
838
+ b.m("PUT").h(headers).b(body);
839
+ return b.build();
840
+ };
782
841
  export const se_PutRuntimeManagementConfigCommand = async (input, context) => {
783
842
  const b = rb(input, context);
784
843
  const headers = {
@@ -1312,6 +1371,16 @@ export const de_DeleteProvisionedConcurrencyConfigCommand = async (output, conte
1312
1371
  await collectBody(output.body, context);
1313
1372
  return contents;
1314
1373
  };
1374
+ export const de_DeleteResourcePolicyCommand = async (output, context) => {
1375
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1376
+ return de_CommandError(output, context);
1377
+ }
1378
+ const contents = map({
1379
+ $metadata: deserializeMetadata(output),
1380
+ });
1381
+ await collectBody(output.body, context);
1382
+ return contents;
1383
+ };
1315
1384
  export const de_GetAccountSettingsCommand = async (output, context) => {
1316
1385
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1317
1386
  return de_CommandError(output, context);
@@ -1642,6 +1711,35 @@ export const de_GetProvisionedConcurrencyConfigCommand = async (output, context)
1642
1711
  Object.assign(contents, doc);
1643
1712
  return contents;
1644
1713
  };
1714
+ export const de_GetPublicAccessBlockConfigCommand = async (output, context) => {
1715
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1716
+ return de_CommandError(output, context);
1717
+ }
1718
+ const contents = map({
1719
+ $metadata: deserializeMetadata(output),
1720
+ });
1721
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1722
+ const doc = take(data, {
1723
+ PublicAccessBlockConfig: _json,
1724
+ });
1725
+ Object.assign(contents, doc);
1726
+ return contents;
1727
+ };
1728
+ export const de_GetResourcePolicyCommand = async (output, context) => {
1729
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1730
+ return de_CommandError(output, context);
1731
+ }
1732
+ const contents = map({
1733
+ $metadata: deserializeMetadata(output),
1734
+ });
1735
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1736
+ const doc = take(data, {
1737
+ Policy: __expectString,
1738
+ RevisionId: __expectString,
1739
+ });
1740
+ Object.assign(contents, doc);
1741
+ return contents;
1742
+ };
1645
1743
  export const de_GetRuntimeManagementConfigCommand = async (output, context) => {
1646
1744
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1647
1745
  return de_CommandError(output, context);
@@ -2034,6 +2132,35 @@ export const de_PutProvisionedConcurrencyConfigCommand = async (output, context)
2034
2132
  Object.assign(contents, doc);
2035
2133
  return contents;
2036
2134
  };
2135
+ export const de_PutPublicAccessBlockConfigCommand = async (output, context) => {
2136
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2137
+ return de_CommandError(output, context);
2138
+ }
2139
+ const contents = map({
2140
+ $metadata: deserializeMetadata(output),
2141
+ });
2142
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2143
+ const doc = take(data, {
2144
+ PublicAccessBlockConfig: _json,
2145
+ });
2146
+ Object.assign(contents, doc);
2147
+ return contents;
2148
+ };
2149
+ export const de_PutResourcePolicyCommand = async (output, context) => {
2150
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2151
+ return de_CommandError(output, context);
2152
+ }
2153
+ const contents = map({
2154
+ $metadata: deserializeMetadata(output),
2155
+ });
2156
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2157
+ const doc = take(data, {
2158
+ Policy: __expectString,
2159
+ RevisionId: __expectString,
2160
+ });
2161
+ Object.assign(contents, doc);
2162
+ return contents;
2163
+ };
2037
2164
  export const de_PutRuntimeManagementConfigCommand = async (output, context) => {
2038
2165
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2039
2166
  return de_CommandError(output, context);
@@ -2422,6 +2549,9 @@ const de_CommandError = async (output, context) => {
2422
2549
  case "UnsupportedMediaTypeException":
2423
2550
  case "com.amazonaws.lambda#UnsupportedMediaTypeException":
2424
2551
  throw await de_UnsupportedMediaTypeExceptionRes(parsedOutput, context);
2552
+ case "PublicPolicyException":
2553
+ case "com.amazonaws.lambda#PublicPolicyException":
2554
+ throw await de_PublicPolicyExceptionRes(parsedOutput, context);
2425
2555
  default:
2426
2556
  const parsedBody = parsedOutput.body;
2427
2557
  return throwDefaultError({
@@ -2783,6 +2913,20 @@ const de_ProvisionedConcurrencyConfigNotFoundExceptionRes = async (parsedOutput,
2783
2913
  });
2784
2914
  return __decorateServiceException(exception, parsedOutput.body);
2785
2915
  };
2916
+ const de_PublicPolicyExceptionRes = async (parsedOutput, context) => {
2917
+ const contents = map({});
2918
+ const data = parsedOutput.body;
2919
+ const doc = take(data, {
2920
+ Message: __expectString,
2921
+ Type: __expectString,
2922
+ });
2923
+ Object.assign(contents, doc);
2924
+ const exception = new PublicPolicyException({
2925
+ $metadata: deserializeMetadata(parsedOutput),
2926
+ ...contents,
2927
+ });
2928
+ return __decorateServiceException(exception, parsedOutput.body);
2929
+ };
2786
2930
  const de_RecursiveInvocationExceptionRes = async (parsedOutput, context) => {
2787
2931
  const contents = map({});
2788
2932
  const data = parsedOutput.body;
@@ -16,6 +16,7 @@ import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeC
16
16
  import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand";
17
17
  import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand";
18
18
  import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
19
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
19
20
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
20
21
  import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
21
22
  import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
@@ -32,6 +33,8 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./com
32
33
  import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
33
34
  import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
34
35
  import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
36
+ import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "./commands/GetPublicAccessBlockConfigCommand";
37
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
35
38
  import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
36
39
  import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
37
40
  import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
@@ -55,6 +58,8 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
55
58
  import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
56
59
  import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
57
60
  import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
61
+ import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "./commands/PutPublicAccessBlockConfigCommand";
62
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
58
63
  import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
59
64
  import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
60
65
  import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
@@ -171,6 +176,12 @@ export interface Lambda {
171
176
  deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
172
177
  deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
173
178
  deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
179
+ /**
180
+ * @see {@link DeleteResourcePolicyCommand}
181
+ */
182
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
183
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
184
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
174
185
  /**
175
186
  * @see {@link GetAccountSettingsCommand}
176
187
  */
@@ -268,6 +279,18 @@ export interface Lambda {
268
279
  getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetProvisionedConcurrencyConfigCommandOutput>;
269
280
  getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
270
281
  getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
282
+ /**
283
+ * @see {@link GetPublicAccessBlockConfigCommand}
284
+ */
285
+ getPublicAccessBlockConfig(args: GetPublicAccessBlockConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetPublicAccessBlockConfigCommandOutput>;
286
+ getPublicAccessBlockConfig(args: GetPublicAccessBlockConfigCommandInput, cb: (err: any, data?: GetPublicAccessBlockConfigCommandOutput) => void): void;
287
+ getPublicAccessBlockConfig(args: GetPublicAccessBlockConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicAccessBlockConfigCommandOutput) => void): void;
288
+ /**
289
+ * @see {@link GetResourcePolicyCommand}
290
+ */
291
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
292
+ getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
293
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
271
294
  /**
272
295
  * @see {@link GetRuntimeManagementConfigCommand}
273
296
  */
@@ -410,6 +433,18 @@ export interface Lambda {
410
433
  putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutProvisionedConcurrencyConfigCommandOutput>;
411
434
  putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
412
435
  putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
436
+ /**
437
+ * @see {@link PutPublicAccessBlockConfigCommand}
438
+ */
439
+ putPublicAccessBlockConfig(args: PutPublicAccessBlockConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutPublicAccessBlockConfigCommandOutput>;
440
+ putPublicAccessBlockConfig(args: PutPublicAccessBlockConfigCommandInput, cb: (err: any, data?: PutPublicAccessBlockConfigCommandOutput) => void): void;
441
+ putPublicAccessBlockConfig(args: PutPublicAccessBlockConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPublicAccessBlockConfigCommandOutput) => void): void;
442
+ /**
443
+ * @see {@link PutResourcePolicyCommand}
444
+ */
445
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
446
+ putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
447
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
413
448
  /**
414
449
  * @see {@link PutRuntimeManagementConfigCommand}
415
450
  */
@@ -25,6 +25,7 @@ import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeC
25
25
  import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand";
26
26
  import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand";
27
27
  import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
28
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
28
29
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
29
30
  import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
30
31
  import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
@@ -41,6 +42,8 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./com
41
42
  import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
42
43
  import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
43
44
  import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
45
+ import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "./commands/GetPublicAccessBlockConfigCommand";
46
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
44
47
  import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
45
48
  import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
46
49
  import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
@@ -64,6 +67,8 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
64
67
  import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
65
68
  import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
66
69
  import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
70
+ import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "./commands/PutPublicAccessBlockConfigCommand";
71
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
67
72
  import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
68
73
  import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
69
74
  import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
@@ -82,11 +87,11 @@ export { __Client };
82
87
  /**
83
88
  * @public
84
89
  */
85
- export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionRecursionConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutFunctionRecursionConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
90
+ export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | DeleteResourcePolicyCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionRecursionConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetPublicAccessBlockConfigCommandInput | GetResourcePolicyCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutFunctionRecursionConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutPublicAccessBlockConfigCommandInput | PutResourcePolicyCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
86
91
  /**
87
92
  * @public
88
93
  */
89
- export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionRecursionConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutFunctionRecursionConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
94
+ export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | DeleteResourcePolicyCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionRecursionConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetPublicAccessBlockConfigCommandOutput | GetResourcePolicyCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutFunctionRecursionConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutPublicAccessBlockConfigCommandOutput | PutResourcePolicyCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
90
95
  /**
91
96
  * @public
92
97
  */
@@ -100,4 +100,15 @@ declare const AddLayerVersionPermissionCommand_base: {
100
100
  * @public
101
101
  */
102
102
  export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: AddLayerVersionPermissionRequest;
107
+ output: AddLayerVersionPermissionResponse;
108
+ };
109
+ sdk: {
110
+ input: AddLayerVersionPermissionCommandInput;
111
+ output: AddLayerVersionPermissionCommandOutput;
112
+ };
113
+ };
103
114
  }
@@ -110,4 +110,15 @@ declare const AddPermissionCommand_base: {
110
110
  * @public
111
111
  */
112
112
  export declare class AddPermissionCommand extends AddPermissionCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: AddPermissionRequest;
117
+ output: AddPermissionResponse;
118
+ };
119
+ sdk: {
120
+ input: AddPermissionCommandInput;
121
+ output: AddPermissionCommandOutput;
122
+ };
123
+ };
113
124
  }
@@ -94,4 +94,15 @@ declare const CreateAliasCommand_base: {
94
94
  * @public
95
95
  */
96
96
  export declare class CreateAliasCommand extends CreateAliasCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: CreateAliasRequest;
101
+ output: AliasConfiguration;
102
+ };
103
+ sdk: {
104
+ input: CreateAliasCommandInput;
105
+ output: CreateAliasCommandOutput;
106
+ };
107
+ };
97
108
  }
@@ -86,4 +86,15 @@ declare const CreateCodeSigningConfigCommand_base: {
86
86
  * @public
87
87
  */
88
88
  export declare class CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: CreateCodeSigningConfigRequest;
93
+ output: CreateCodeSigningConfigResponse;
94
+ };
95
+ sdk: {
96
+ input: CreateCodeSigningConfigCommandInput;
97
+ output: CreateCodeSigningConfigCommandOutput;
98
+ };
99
+ };
89
100
  }
@@ -319,4 +319,15 @@ declare const CreateEventSourceMappingCommand_base: {
319
319
  * @public
320
320
  */
321
321
  export declare class CreateEventSourceMappingCommand extends CreateEventSourceMappingCommand_base {
322
+ /** @internal type navigation helper, not in runtime. */
323
+ protected static __types: {
324
+ api: {
325
+ input: CreateEventSourceMappingRequest;
326
+ output: EventSourceMappingConfiguration;
327
+ };
328
+ sdk: {
329
+ input: CreateEventSourceMappingCommandInput;
330
+ output: CreateEventSourceMappingCommandOutput;
331
+ };
332
+ };
322
333
  }
@@ -296,4 +296,15 @@ declare const CreateFunctionCommand_base: {
296
296
  * @public
297
297
  */
298
298
  export declare class CreateFunctionCommand extends CreateFunctionCommand_base {
299
+ /** @internal type navigation helper, not in runtime. */
300
+ protected static __types: {
301
+ api: {
302
+ input: CreateFunctionRequest;
303
+ output: FunctionConfiguration;
304
+ };
305
+ sdk: {
306
+ input: CreateFunctionCommandInput;
307
+ output: CreateFunctionCommandOutput;
308
+ };
309
+ };
299
310
  }
@@ -112,4 +112,15 @@ declare const CreateFunctionUrlConfigCommand_base: {
112
112
  * @public
113
113
  */
114
114
  export declare class CreateFunctionUrlConfigCommand extends CreateFunctionUrlConfigCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: CreateFunctionUrlConfigRequest;
119
+ output: CreateFunctionUrlConfigResponse;
120
+ };
121
+ sdk: {
122
+ input: CreateFunctionUrlConfigCommandInput;
123
+ output: CreateFunctionUrlConfigCommandOutput;
124
+ };
125
+ };
115
126
  }
@@ -68,4 +68,15 @@ declare const DeleteAliasCommand_base: {
68
68
  * @public
69
69
  */
70
70
  export declare class DeleteAliasCommand extends DeleteAliasCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: DeleteAliasRequest;
75
+ output: {};
76
+ };
77
+ sdk: {
78
+ input: DeleteAliasCommandInput;
79
+ output: DeleteAliasCommandOutput;
80
+ };
81
+ };
71
82
  }
@@ -68,4 +68,15 @@ declare const DeleteCodeSigningConfigCommand_base: {
68
68
  * @public
69
69
  */
70
70
  export declare class DeleteCodeSigningConfigCommand extends DeleteCodeSigningConfigCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: DeleteCodeSigningConfigRequest;
75
+ output: {};
76
+ };
77
+ sdk: {
78
+ input: DeleteCodeSigningConfigCommandInput;
79
+ output: DeleteCodeSigningConfigCommandOutput;
80
+ };
81
+ };
71
82
  }
@@ -150,4 +150,15 @@ declare const DeleteEventSourceMappingCommand_base: {
150
150
  * @public
151
151
  */
152
152
  export declare class DeleteEventSourceMappingCommand extends DeleteEventSourceMappingCommand_base {
153
+ /** @internal type navigation helper, not in runtime. */
154
+ protected static __types: {
155
+ api: {
156
+ input: DeleteEventSourceMappingRequest;
157
+ output: EventSourceMappingConfiguration;
158
+ };
159
+ sdk: {
160
+ input: DeleteEventSourceMappingCommandInput;
161
+ output: DeleteEventSourceMappingCommandOutput;
162
+ };
163
+ };
153
164
  }
@@ -73,4 +73,15 @@ declare const DeleteFunctionCodeSigningConfigCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DeleteFunctionCodeSigningConfigCommand extends DeleteFunctionCodeSigningConfigCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteFunctionCodeSigningConfigRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DeleteFunctionCodeSigningConfigCommandInput;
84
+ output: DeleteFunctionCodeSigningConfigCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -75,4 +75,15 @@ declare const DeleteFunctionCommand_base: {
75
75
  * @public
76
76
  */
77
77
  export declare class DeleteFunctionCommand extends DeleteFunctionCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteFunctionRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeleteFunctionCommandInput;
86
+ output: DeleteFunctionCommandOutput;
87
+ };
88
+ };
78
89
  }
@@ -70,4 +70,15 @@ declare const DeleteFunctionConcurrencyCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteFunctionConcurrencyCommand extends DeleteFunctionConcurrencyCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteFunctionConcurrencyRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteFunctionConcurrencyCommandInput;
81
+ output: DeleteFunctionConcurrencyCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -72,4 +72,15 @@ declare const DeleteFunctionEventInvokeConfigCommand_base: {
72
72
  * @public
73
73
  */
74
74
  export declare class DeleteFunctionEventInvokeConfigCommand extends DeleteFunctionEventInvokeConfigCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: DeleteFunctionEventInvokeConfigRequest;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: DeleteFunctionEventInvokeConfigCommandInput;
83
+ output: DeleteFunctionEventInvokeConfigCommandOutput;
84
+ };
85
+ };
75
86
  }
@@ -69,4 +69,15 @@ declare const DeleteFunctionUrlConfigCommand_base: {
69
69
  * @public
70
70
  */
71
71
  export declare class DeleteFunctionUrlConfigCommand extends DeleteFunctionUrlConfigCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: DeleteFunctionUrlConfigRequest;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: DeleteFunctionUrlConfigCommandInput;
80
+ output: DeleteFunctionUrlConfigCommandOutput;
81
+ };
82
+ };
72
83
  }
@@ -64,4 +64,15 @@ declare const DeleteLayerVersionCommand_base: {
64
64
  * @public
65
65
  */
66
66
  export declare class DeleteLayerVersionCommand extends DeleteLayerVersionCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: DeleteLayerVersionRequest;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: DeleteLayerVersionCommandInput;
75
+ output: DeleteLayerVersionCommandOutput;
76
+ };
77
+ };
67
78
  }