@aws-sdk/client-lambda 3.658.0 → 3.659.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -40
- package/dist-cjs/index.js +3 -261
- package/dist-es/Lambda.js +0 -10
- package/dist-es/commands/index.js +0 -5
- package/dist-es/models/models_0.js +0 -14
- package/dist-es/protocols/Aws_restJson1.js +3 -155
- package/dist-types/Lambda.d.ts +0 -35
- package/dist-types/LambdaClient.d.ts +2 -7
- package/dist-types/commands/AddPermissionCommand.d.ts +2 -7
- package/dist-types/commands/CreateFunctionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -6
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +0 -5
- package/dist-types/models/models_0.d.ts +3 -177
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -45
- package/dist-types/ts3.4/Lambda.d.ts +0 -85
- package/dist-types/ts3.4/LambdaClient.d.ts +0 -30
- package/dist-types/ts3.4/commands/index.d.ts +0 -5
- package/dist-types/ts3.4/models/models_0.d.ts +0 -46
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -60
- package/package.json +13 -13
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -22
- package/dist-es/commands/GetPublicAccessBlockConfigCommand.js +0 -22
- package/dist-es/commands/GetResourcePolicyCommand.js +0 -22
- package/dist-es/commands/PutPublicAccessBlockConfigCommand.js +0 -22
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -22
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -102
- package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +0 -90
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -88
- package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +0 -101
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -124
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -46
- package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -51
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
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";
|
|
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, isSerializableHeaderValue, 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,
|
|
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";
|
|
6
6
|
export const se_AddLayerVersionPermissionCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
@@ -278,18 +278,6 @@ export const se_DeleteProvisionedConcurrencyConfigCommand = async (input, contex
|
|
|
278
278
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
279
279
|
return b.build();
|
|
280
280
|
};
|
|
281
|
-
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
282
|
-
const b = rb(input, context);
|
|
283
|
-
const headers = {};
|
|
284
|
-
b.bp("/2024-09-16/resource-policy/{ResourceArn}");
|
|
285
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
286
|
-
const query = map({
|
|
287
|
-
[_RI]: [, input[_RI]],
|
|
288
|
-
});
|
|
289
|
-
let body;
|
|
290
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
291
|
-
return b.build();
|
|
292
|
-
};
|
|
293
281
|
export const se_GetAccountSettingsCommand = async (input, context) => {
|
|
294
282
|
const b = rb(input, context);
|
|
295
283
|
const headers = {};
|
|
@@ -457,24 +445,6 @@ export const se_GetProvisionedConcurrencyConfigCommand = async (input, context)
|
|
|
457
445
|
b.m("GET").h(headers).q(query).b(body);
|
|
458
446
|
return b.build();
|
|
459
447
|
};
|
|
460
|
-
export const se_GetPublicAccessBlockConfigCommand = async (input, context) => {
|
|
461
|
-
const b = rb(input, context);
|
|
462
|
-
const headers = {};
|
|
463
|
-
b.bp("/2024-09-16/public-access-block/{ResourceArn}");
|
|
464
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
465
|
-
let body;
|
|
466
|
-
b.m("GET").h(headers).b(body);
|
|
467
|
-
return b.build();
|
|
468
|
-
};
|
|
469
|
-
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
470
|
-
const b = rb(input, context);
|
|
471
|
-
const headers = {};
|
|
472
|
-
b.bp("/2024-09-16/resource-policy/{ResourceArn}");
|
|
473
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
474
|
-
let body;
|
|
475
|
-
b.m("GET").h(headers).b(body);
|
|
476
|
-
return b.build();
|
|
477
|
-
};
|
|
478
448
|
export const se_GetRuntimeManagementConfigCommand = async (input, context) => {
|
|
479
449
|
const b = rb(input, context);
|
|
480
450
|
const headers = {};
|
|
@@ -811,35 +781,6 @@ export const se_PutProvisionedConcurrencyConfigCommand = async (input, context)
|
|
|
811
781
|
b.m("PUT").h(headers).q(query).b(body);
|
|
812
782
|
return b.build();
|
|
813
783
|
};
|
|
814
|
-
export const se_PutPublicAccessBlockConfigCommand = async (input, context) => {
|
|
815
|
-
const b = rb(input, context);
|
|
816
|
-
const headers = {
|
|
817
|
-
"content-type": "application/json",
|
|
818
|
-
};
|
|
819
|
-
b.bp("/2024-09-16/public-access-block/{ResourceArn}");
|
|
820
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
821
|
-
let body;
|
|
822
|
-
body = JSON.stringify(take(input, {
|
|
823
|
-
PublicAccessBlockConfig: (_) => _json(_),
|
|
824
|
-
}));
|
|
825
|
-
b.m("PUT").h(headers).b(body);
|
|
826
|
-
return b.build();
|
|
827
|
-
};
|
|
828
|
-
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
829
|
-
const b = rb(input, context);
|
|
830
|
-
const headers = {
|
|
831
|
-
"content-type": "application/json",
|
|
832
|
-
};
|
|
833
|
-
b.bp("/2024-09-16/resource-policy/{ResourceArn}");
|
|
834
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
835
|
-
let body;
|
|
836
|
-
body = JSON.stringify(take(input, {
|
|
837
|
-
Policy: [],
|
|
838
|
-
RevisionId: [],
|
|
839
|
-
}));
|
|
840
|
-
b.m("PUT").h(headers).b(body);
|
|
841
|
-
return b.build();
|
|
842
|
-
};
|
|
843
784
|
export const se_PutRuntimeManagementConfigCommand = async (input, context) => {
|
|
844
785
|
const b = rb(input, context);
|
|
845
786
|
const headers = {
|
|
@@ -906,10 +847,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
906
847
|
b.bp("/2017-03-31/tags/{Resource}");
|
|
907
848
|
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
908
849
|
const query = map({
|
|
909
|
-
[_tK]: [
|
|
910
|
-
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
911
|
-
() => (input[_TK] || []).map((_entry) => _entry),
|
|
912
|
-
],
|
|
850
|
+
[_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
913
851
|
});
|
|
914
852
|
let body;
|
|
915
853
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -1375,16 +1313,6 @@ export const de_DeleteProvisionedConcurrencyConfigCommand = async (output, conte
|
|
|
1375
1313
|
await collectBody(output.body, context);
|
|
1376
1314
|
return contents;
|
|
1377
1315
|
};
|
|
1378
|
-
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
1379
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1380
|
-
return de_CommandError(output, context);
|
|
1381
|
-
}
|
|
1382
|
-
const contents = map({
|
|
1383
|
-
$metadata: deserializeMetadata(output),
|
|
1384
|
-
});
|
|
1385
|
-
await collectBody(output.body, context);
|
|
1386
|
-
return contents;
|
|
1387
|
-
};
|
|
1388
1316
|
export const de_GetAccountSettingsCommand = async (output, context) => {
|
|
1389
1317
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1390
1318
|
return de_CommandError(output, context);
|
|
@@ -1716,35 +1644,6 @@ export const de_GetProvisionedConcurrencyConfigCommand = async (output, context)
|
|
|
1716
1644
|
Object.assign(contents, doc);
|
|
1717
1645
|
return contents;
|
|
1718
1646
|
};
|
|
1719
|
-
export const de_GetPublicAccessBlockConfigCommand = async (output, context) => {
|
|
1720
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1721
|
-
return de_CommandError(output, context);
|
|
1722
|
-
}
|
|
1723
|
-
const contents = map({
|
|
1724
|
-
$metadata: deserializeMetadata(output),
|
|
1725
|
-
});
|
|
1726
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1727
|
-
const doc = take(data, {
|
|
1728
|
-
PublicAccessBlockConfig: _json,
|
|
1729
|
-
});
|
|
1730
|
-
Object.assign(contents, doc);
|
|
1731
|
-
return contents;
|
|
1732
|
-
};
|
|
1733
|
-
export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
1734
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1735
|
-
return de_CommandError(output, context);
|
|
1736
|
-
}
|
|
1737
|
-
const contents = map({
|
|
1738
|
-
$metadata: deserializeMetadata(output),
|
|
1739
|
-
});
|
|
1740
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1741
|
-
const doc = take(data, {
|
|
1742
|
-
Policy: __expectString,
|
|
1743
|
-
RevisionId: __expectString,
|
|
1744
|
-
});
|
|
1745
|
-
Object.assign(contents, doc);
|
|
1746
|
-
return contents;
|
|
1747
|
-
};
|
|
1748
1647
|
export const de_GetRuntimeManagementConfigCommand = async (output, context) => {
|
|
1749
1648
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1750
1649
|
return de_CommandError(output, context);
|
|
@@ -2137,35 +2036,6 @@ export const de_PutProvisionedConcurrencyConfigCommand = async (output, context)
|
|
|
2137
2036
|
Object.assign(contents, doc);
|
|
2138
2037
|
return contents;
|
|
2139
2038
|
};
|
|
2140
|
-
export const de_PutPublicAccessBlockConfigCommand = async (output, context) => {
|
|
2141
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2142
|
-
return de_CommandError(output, context);
|
|
2143
|
-
}
|
|
2144
|
-
const contents = map({
|
|
2145
|
-
$metadata: deserializeMetadata(output),
|
|
2146
|
-
});
|
|
2147
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2148
|
-
const doc = take(data, {
|
|
2149
|
-
PublicAccessBlockConfig: _json,
|
|
2150
|
-
});
|
|
2151
|
-
Object.assign(contents, doc);
|
|
2152
|
-
return contents;
|
|
2153
|
-
};
|
|
2154
|
-
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
2155
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2156
|
-
return de_CommandError(output, context);
|
|
2157
|
-
}
|
|
2158
|
-
const contents = map({
|
|
2159
|
-
$metadata: deserializeMetadata(output),
|
|
2160
|
-
});
|
|
2161
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2162
|
-
const doc = take(data, {
|
|
2163
|
-
Policy: __expectString,
|
|
2164
|
-
RevisionId: __expectString,
|
|
2165
|
-
});
|
|
2166
|
-
Object.assign(contents, doc);
|
|
2167
|
-
return contents;
|
|
2168
|
-
};
|
|
2169
2039
|
export const de_PutRuntimeManagementConfigCommand = async (output, context) => {
|
|
2170
2040
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2171
2041
|
return de_CommandError(output, context);
|
|
@@ -2462,9 +2332,6 @@ const de_CommandError = async (output, context) => {
|
|
|
2462
2332
|
case "TooManyRequestsException":
|
|
2463
2333
|
case "com.amazonaws.lambda#TooManyRequestsException":
|
|
2464
2334
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2465
|
-
case "PublicPolicyException":
|
|
2466
|
-
case "com.amazonaws.lambda#PublicPolicyException":
|
|
2467
|
-
throw await de_PublicPolicyExceptionRes(parsedOutput, context);
|
|
2468
2335
|
case "CodeSigningConfigNotFoundException":
|
|
2469
2336
|
case "com.amazonaws.lambda#CodeSigningConfigNotFoundException":
|
|
2470
2337
|
throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -2919,20 +2786,6 @@ const de_ProvisionedConcurrencyConfigNotFoundExceptionRes = async (parsedOutput,
|
|
|
2919
2786
|
});
|
|
2920
2787
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2921
2788
|
};
|
|
2922
|
-
const de_PublicPolicyExceptionRes = async (parsedOutput, context) => {
|
|
2923
|
-
const contents = map({});
|
|
2924
|
-
const data = parsedOutput.body;
|
|
2925
|
-
const doc = take(data, {
|
|
2926
|
-
Message: __expectString,
|
|
2927
|
-
Type: __expectString,
|
|
2928
|
-
});
|
|
2929
|
-
Object.assign(contents, doc);
|
|
2930
|
-
const exception = new PublicPolicyException({
|
|
2931
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2932
|
-
...contents,
|
|
2933
|
-
});
|
|
2934
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2935
|
-
};
|
|
2936
2789
|
const de_RecursiveInvocationExceptionRes = async (parsedOutput, context) => {
|
|
2937
2790
|
const contents = map({});
|
|
2938
2791
|
const data = parsedOutput.body;
|
|
@@ -3273,11 +3126,6 @@ const deserializeMetadata = (output) => ({
|
|
|
3273
3126
|
cfId: output.headers["x-amz-cf-id"],
|
|
3274
3127
|
});
|
|
3275
3128
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3276
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3277
|
-
value !== null &&
|
|
3278
|
-
value !== "" &&
|
|
3279
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3280
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3281
3129
|
const _A = "Arn";
|
|
3282
3130
|
const _CA = "CompatibleArchitecture";
|
|
3283
3131
|
const _CC = "ClientContext";
|
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ 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";
|
|
20
19
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
21
20
|
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
|
|
22
21
|
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
|
|
@@ -33,8 +32,6 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./com
|
|
|
33
32
|
import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
|
|
34
33
|
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
35
34
|
import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
36
|
-
import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "./commands/GetPublicAccessBlockConfigCommand";
|
|
37
|
-
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
38
35
|
import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
|
|
39
36
|
import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
|
|
40
37
|
import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
|
|
@@ -58,8 +55,6 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
|
|
|
58
55
|
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
59
56
|
import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
|
|
60
57
|
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
61
|
-
import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "./commands/PutPublicAccessBlockConfigCommand";
|
|
62
|
-
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
63
58
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
64
59
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
65
60
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
@@ -176,12 +171,6 @@ export interface Lambda {
|
|
|
176
171
|
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
|
|
177
172
|
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
178
173
|
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;
|
|
185
174
|
/**
|
|
186
175
|
* @see {@link GetAccountSettingsCommand}
|
|
187
176
|
*/
|
|
@@ -279,18 +268,6 @@ export interface Lambda {
|
|
|
279
268
|
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetProvisionedConcurrencyConfigCommandOutput>;
|
|
280
269
|
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
281
270
|
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;
|
|
294
271
|
/**
|
|
295
272
|
* @see {@link GetRuntimeManagementConfigCommand}
|
|
296
273
|
*/
|
|
@@ -433,18 +410,6 @@ export interface Lambda {
|
|
|
433
410
|
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutProvisionedConcurrencyConfigCommandOutput>;
|
|
434
411
|
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
435
412
|
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;
|
|
448
413
|
/**
|
|
449
414
|
* @see {@link PutRuntimeManagementConfigCommand}
|
|
450
415
|
*/
|
|
@@ -25,7 +25,6 @@ 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";
|
|
29
28
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
30
29
|
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
|
|
31
30
|
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
|
|
@@ -42,8 +41,6 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./com
|
|
|
42
41
|
import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
|
|
43
42
|
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
44
43
|
import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
45
|
-
import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "./commands/GetPublicAccessBlockConfigCommand";
|
|
46
|
-
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
47
44
|
import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
|
|
48
45
|
import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
|
|
49
46
|
import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
|
|
@@ -67,8 +64,6 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
|
|
|
67
64
|
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
68
65
|
import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
|
|
69
66
|
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
70
|
-
import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "./commands/PutPublicAccessBlockConfigCommand";
|
|
71
|
-
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
72
67
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
73
68
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
74
69
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
@@ -87,11 +82,11 @@ export { __Client };
|
|
|
87
82
|
/**
|
|
88
83
|
* @public
|
|
89
84
|
*/
|
|
90
|
-
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput |
|
|
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;
|
|
91
86
|
/**
|
|
92
87
|
* @public
|
|
93
88
|
*/
|
|
94
|
-
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput |
|
|
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;
|
|
95
90
|
/**
|
|
96
91
|
* @public
|
|
97
92
|
*/
|
|
@@ -34,8 +34,8 @@ declare const AddPermissionCommand_base: {
|
|
|
34
34
|
* to version $LATEST.</p>
|
|
35
35
|
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant
|
|
36
36
|
* permission to an organization defined in Organizations, specify the organization ID as the
|
|
37
|
-
* <code>PrincipalOrgID</code>. For Amazon Web
|
|
38
|
-
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web
|
|
37
|
+
* <code>PrincipalOrgID</code>. For Amazon Web Services services, the principal is a domain-style identifier that
|
|
38
|
+
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
|
|
39
39
|
* you grant permission to a service principal without specifying the source, other accounts could potentially
|
|
40
40
|
* configure resources in their account to invoke your Lambda function.</p>
|
|
41
41
|
* <p>This operation adds a statement to a resource-based permissions policy for the function. For more information
|
|
@@ -92,11 +92,6 @@ declare const AddPermissionCommand_base: {
|
|
|
92
92
|
* </li>
|
|
93
93
|
* </ul>
|
|
94
94
|
*
|
|
95
|
-
* @throws {@link PublicPolicyException} (client fault)
|
|
96
|
-
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
97
|
-
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
98
|
-
* to allow public policies.</p>
|
|
99
|
-
*
|
|
100
95
|
* @throws {@link ResourceConflictException} (client fault)
|
|
101
96
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
102
97
|
*
|
|
@@ -29,7 +29,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
|
|
31
31
|
* deployment package is a .zip file archive or container image that contains your function code. The execution role
|
|
32
|
-
* grants the function permission to use Amazon Web
|
|
32
|
+
* grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log
|
|
33
33
|
* streaming and X-Ray for request tracing.</p>
|
|
34
34
|
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
|
|
35
35
|
* image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
|
|
@@ -60,9 +60,9 @@ declare const CreateFunctionCommand_base: {
|
|
|
60
60
|
* <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
|
|
61
61
|
* a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
|
|
62
62
|
* publishers for this function.</p>
|
|
63
|
-
* <p>If another Amazon Web Services account or an Amazon Web
|
|
63
|
+
* <p>If another Amazon Web Services account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
|
|
64
64
|
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
|
|
65
|
-
* in other Amazon Web
|
|
65
|
+
* in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>),
|
|
66
66
|
* or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda
|
|
67
67
|
* functions</a>.</p>
|
|
68
68
|
* @example
|
|
@@ -30,7 +30,7 @@ declare const DeleteFunctionCommand_base: {
|
|
|
30
30
|
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
|
|
31
31
|
* Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit
|
|
32
32
|
* permissions for <a>DeleteAlias</a>.</p>
|
|
33
|
-
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web
|
|
33
|
+
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services services and resources that invoke your function
|
|
34
34
|
* directly, delete the trigger in the service where you originally configured it.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -28,7 +28,7 @@ declare const ListTagsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Returns a function, event source mapping, or code signing configuration's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can
|
|
31
|
-
* also view
|
|
31
|
+
* also view function tags with <a>GetFunction</a>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const RemovePermissionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Revokes function-use permission from an Amazon Web
|
|
30
|
+
* <p>Revokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. You
|
|
31
31
|
* can get the ID of the statement from the output of <a>GetPolicy</a>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -69,11 +69,6 @@ declare const RemovePermissionCommand_base: {
|
|
|
69
69
|
* </li>
|
|
70
70
|
* </ul>
|
|
71
71
|
*
|
|
72
|
-
* @throws {@link PublicPolicyException} (client fault)
|
|
73
|
-
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
74
|
-
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
75
|
-
* to allow public policies.</p>
|
|
76
|
-
*
|
|
77
72
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
73
|
* <p>The resource specified in the request does not exist.</p>
|
|
79
74
|
*
|
|
@@ -38,7 +38,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
38
38
|
* <p>These settings can vary between versions of a function and are locked when you publish a version. You can't
|
|
39
39
|
* modify the configuration of a published version, only the unpublished version.</p>
|
|
40
40
|
* <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions
|
|
41
|
-
* to an Amazon Web Services account or Amazon Web
|
|
41
|
+
* to an Amazon Web Services account or Amazon Web Services service, use <a>AddPermission</a>.</p>
|
|
42
42
|
* @example
|
|
43
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
44
|
* ```javascript
|
|
@@ -15,7 +15,6 @@ export * from "./DeleteFunctionEventInvokeConfigCommand";
|
|
|
15
15
|
export * from "./DeleteFunctionUrlConfigCommand";
|
|
16
16
|
export * from "./DeleteLayerVersionCommand";
|
|
17
17
|
export * from "./DeleteProvisionedConcurrencyConfigCommand";
|
|
18
|
-
export * from "./DeleteResourcePolicyCommand";
|
|
19
18
|
export * from "./GetAccountSettingsCommand";
|
|
20
19
|
export * from "./GetAliasCommand";
|
|
21
20
|
export * from "./GetCodeSigningConfigCommand";
|
|
@@ -32,8 +31,6 @@ export * from "./GetLayerVersionCommand";
|
|
|
32
31
|
export * from "./GetLayerVersionPolicyCommand";
|
|
33
32
|
export * from "./GetPolicyCommand";
|
|
34
33
|
export * from "./GetProvisionedConcurrencyConfigCommand";
|
|
35
|
-
export * from "./GetPublicAccessBlockConfigCommand";
|
|
36
|
-
export * from "./GetResourcePolicyCommand";
|
|
37
34
|
export * from "./GetRuntimeManagementConfigCommand";
|
|
38
35
|
export * from "./InvokeAsyncCommand";
|
|
39
36
|
export * from "./InvokeCommand";
|
|
@@ -57,8 +54,6 @@ export * from "./PutFunctionConcurrencyCommand";
|
|
|
57
54
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
58
55
|
export * from "./PutFunctionRecursionConfigCommand";
|
|
59
56
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
60
|
-
export * from "./PutPublicAccessBlockConfigCommand";
|
|
61
|
-
export * from "./PutResourcePolicyCommand";
|
|
62
57
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
63
58
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
64
59
|
export * from "./RemovePermissionCommand";
|