@aws-sdk/client-lambda 3.651.1 → 3.653.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 +40 -0
- package/dist-cjs/index.js +254 -0
- package/dist-es/Lambda.js +10 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
- package/dist-es/commands/GetPublicAccessBlockConfigCommand.js +22 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/PutPublicAccessBlockConfigCommand.js +22 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_restJson1.js +145 -1
- package/dist-types/Lambda.d.ts +35 -0
- package/dist-types/LambdaClient.d.ts +7 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +75 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +73 -0
- package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +86 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +174 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Lambda.d.ts +85 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -118,6 +118,10 @@ import {
|
|
|
118
118
|
DeleteProvisionedConcurrencyConfigCommandInput,
|
|
119
119
|
DeleteProvisionedConcurrencyConfigCommandOutput,
|
|
120
120
|
} from "./commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
121
|
+
import {
|
|
122
|
+
DeleteResourcePolicyCommandInput,
|
|
123
|
+
DeleteResourcePolicyCommandOutput,
|
|
124
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
121
125
|
import {
|
|
122
126
|
GetAccountSettingsCommandInput,
|
|
123
127
|
GetAccountSettingsCommandOutput,
|
|
@@ -182,6 +186,14 @@ import {
|
|
|
182
186
|
GetProvisionedConcurrencyConfigCommandInput,
|
|
183
187
|
GetProvisionedConcurrencyConfigCommandOutput,
|
|
184
188
|
} from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
189
|
+
import {
|
|
190
|
+
GetPublicAccessBlockConfigCommandInput,
|
|
191
|
+
GetPublicAccessBlockConfigCommandOutput,
|
|
192
|
+
} from "./commands/GetPublicAccessBlockConfigCommand";
|
|
193
|
+
import {
|
|
194
|
+
GetResourcePolicyCommandInput,
|
|
195
|
+
GetResourcePolicyCommandOutput,
|
|
196
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
185
197
|
import {
|
|
186
198
|
GetRuntimeManagementConfigCommandInput,
|
|
187
199
|
GetRuntimeManagementConfigCommandOutput,
|
|
@@ -274,6 +286,14 @@ import {
|
|
|
274
286
|
PutProvisionedConcurrencyConfigCommandInput,
|
|
275
287
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
276
288
|
} from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
289
|
+
import {
|
|
290
|
+
PutPublicAccessBlockConfigCommandInput,
|
|
291
|
+
PutPublicAccessBlockConfigCommandOutput,
|
|
292
|
+
} from "./commands/PutPublicAccessBlockConfigCommand";
|
|
293
|
+
import {
|
|
294
|
+
PutResourcePolicyCommandInput,
|
|
295
|
+
PutResourcePolicyCommandOutput,
|
|
296
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
277
297
|
import {
|
|
278
298
|
PutRuntimeManagementConfigCommandInput,
|
|
279
299
|
PutRuntimeManagementConfigCommandOutput,
|
|
@@ -347,6 +367,7 @@ export type ServiceInputTypes =
|
|
|
347
367
|
| DeleteFunctionUrlConfigCommandInput
|
|
348
368
|
| DeleteLayerVersionCommandInput
|
|
349
369
|
| DeleteProvisionedConcurrencyConfigCommandInput
|
|
370
|
+
| DeleteResourcePolicyCommandInput
|
|
350
371
|
| GetAccountSettingsCommandInput
|
|
351
372
|
| GetAliasCommandInput
|
|
352
373
|
| GetCodeSigningConfigCommandInput
|
|
@@ -363,6 +384,8 @@ export type ServiceInputTypes =
|
|
|
363
384
|
| GetLayerVersionPolicyCommandInput
|
|
364
385
|
| GetPolicyCommandInput
|
|
365
386
|
| GetProvisionedConcurrencyConfigCommandInput
|
|
387
|
+
| GetPublicAccessBlockConfigCommandInput
|
|
388
|
+
| GetResourcePolicyCommandInput
|
|
366
389
|
| GetRuntimeManagementConfigCommandInput
|
|
367
390
|
| InvokeAsyncCommandInput
|
|
368
391
|
| InvokeCommandInput
|
|
@@ -386,6 +409,8 @@ export type ServiceInputTypes =
|
|
|
386
409
|
| PutFunctionEventInvokeConfigCommandInput
|
|
387
410
|
| PutFunctionRecursionConfigCommandInput
|
|
388
411
|
| PutProvisionedConcurrencyConfigCommandInput
|
|
412
|
+
| PutPublicAccessBlockConfigCommandInput
|
|
413
|
+
| PutResourcePolicyCommandInput
|
|
389
414
|
| PutRuntimeManagementConfigCommandInput
|
|
390
415
|
| RemoveLayerVersionPermissionCommandInput
|
|
391
416
|
| RemovePermissionCommandInput
|
|
@@ -416,6 +441,7 @@ export type ServiceOutputTypes =
|
|
|
416
441
|
| DeleteFunctionUrlConfigCommandOutput
|
|
417
442
|
| DeleteLayerVersionCommandOutput
|
|
418
443
|
| DeleteProvisionedConcurrencyConfigCommandOutput
|
|
444
|
+
| DeleteResourcePolicyCommandOutput
|
|
419
445
|
| GetAccountSettingsCommandOutput
|
|
420
446
|
| GetAliasCommandOutput
|
|
421
447
|
| GetCodeSigningConfigCommandOutput
|
|
@@ -432,6 +458,8 @@ export type ServiceOutputTypes =
|
|
|
432
458
|
| GetLayerVersionPolicyCommandOutput
|
|
433
459
|
| GetPolicyCommandOutput
|
|
434
460
|
| GetProvisionedConcurrencyConfigCommandOutput
|
|
461
|
+
| GetPublicAccessBlockConfigCommandOutput
|
|
462
|
+
| GetResourcePolicyCommandOutput
|
|
435
463
|
| GetRuntimeManagementConfigCommandOutput
|
|
436
464
|
| InvokeAsyncCommandOutput
|
|
437
465
|
| InvokeCommandOutput
|
|
@@ -455,6 +483,8 @@ export type ServiceOutputTypes =
|
|
|
455
483
|
| PutFunctionEventInvokeConfigCommandOutput
|
|
456
484
|
| PutFunctionRecursionConfigCommandOutput
|
|
457
485
|
| PutProvisionedConcurrencyConfigCommandOutput
|
|
486
|
+
| PutPublicAccessBlockConfigCommandOutput
|
|
487
|
+
| PutResourcePolicyCommandOutput
|
|
458
488
|
| PutRuntimeManagementConfigCommandOutput
|
|
459
489
|
| RemoveLayerVersionPermissionCommandOutput
|
|
460
490
|
| RemovePermissionCommandOutput
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import { DeleteResourcePolicyRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteResourcePolicyCommandInput
|
|
12
|
+
extends DeleteResourcePolicyRequest {}
|
|
13
|
+
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
|
|
14
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeleteResourcePolicyCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeleteResourcePolicyCommandInput,
|
|
19
|
+
DeleteResourcePolicyCommandOutput,
|
|
20
|
+
LambdaClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: DeleteResourcePolicyCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
DeleteResourcePolicyCommandInput,
|
|
28
|
+
DeleteResourcePolicyCommandOutput,
|
|
29
|
+
LambdaClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import {
|
|
9
|
+
GetPublicAccessBlockConfigRequest,
|
|
10
|
+
GetPublicAccessBlockConfigResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetPublicAccessBlockConfigCommandInput
|
|
15
|
+
extends GetPublicAccessBlockConfigRequest {}
|
|
16
|
+
export interface GetPublicAccessBlockConfigCommandOutput
|
|
17
|
+
extends GetPublicAccessBlockConfigResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetPublicAccessBlockConfigCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetPublicAccessBlockConfigCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetPublicAccessBlockConfigCommandInput,
|
|
24
|
+
GetPublicAccessBlockConfigCommandOutput,
|
|
25
|
+
LambdaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetPublicAccessBlockConfigCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetPublicAccessBlockConfigCommandInput,
|
|
33
|
+
GetPublicAccessBlockConfigCommandOutput,
|
|
34
|
+
LambdaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetPublicAccessBlockConfigCommand extends GetPublicAccessBlockConfigCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import {
|
|
9
|
+
GetResourcePolicyRequest,
|
|
10
|
+
GetResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetResourcePolicyCommandInput
|
|
15
|
+
extends GetResourcePolicyRequest {}
|
|
16
|
+
export interface GetResourcePolicyCommandOutput
|
|
17
|
+
extends GetResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetResourcePolicyCommandInput,
|
|
24
|
+
GetResourcePolicyCommandOutput,
|
|
25
|
+
LambdaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetResourcePolicyCommandInput,
|
|
33
|
+
GetResourcePolicyCommandOutput,
|
|
34
|
+
LambdaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import {
|
|
9
|
+
PutPublicAccessBlockConfigRequest,
|
|
10
|
+
PutPublicAccessBlockConfigResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutPublicAccessBlockConfigCommandInput
|
|
15
|
+
extends PutPublicAccessBlockConfigRequest {}
|
|
16
|
+
export interface PutPublicAccessBlockConfigCommandOutput
|
|
17
|
+
extends PutPublicAccessBlockConfigResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutPublicAccessBlockConfigCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutPublicAccessBlockConfigCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutPublicAccessBlockConfigCommandInput,
|
|
24
|
+
PutPublicAccessBlockConfigCommandOutput,
|
|
25
|
+
LambdaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: PutPublicAccessBlockConfigCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutPublicAccessBlockConfigCommandInput,
|
|
33
|
+
PutPublicAccessBlockConfigCommandOutput,
|
|
34
|
+
LambdaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutPublicAccessBlockConfigCommand extends PutPublicAccessBlockConfigCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import {
|
|
9
|
+
PutResourcePolicyRequest,
|
|
10
|
+
PutResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutResourcePolicyCommandInput
|
|
15
|
+
extends PutResourcePolicyRequest {}
|
|
16
|
+
export interface PutResourcePolicyCommandOutput
|
|
17
|
+
extends PutResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutResourcePolicyCommandInput,
|
|
24
|
+
PutResourcePolicyCommandOutput,
|
|
25
|
+
LambdaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: PutResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutResourcePolicyCommandInput,
|
|
33
|
+
PutResourcePolicyCommandOutput,
|
|
34
|
+
LambdaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {}
|
|
@@ -15,6 +15,7 @@ export * from "./DeleteFunctionEventInvokeConfigCommand";
|
|
|
15
15
|
export * from "./DeleteFunctionUrlConfigCommand";
|
|
16
16
|
export * from "./DeleteLayerVersionCommand";
|
|
17
17
|
export * from "./DeleteProvisionedConcurrencyConfigCommand";
|
|
18
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
18
19
|
export * from "./GetAccountSettingsCommand";
|
|
19
20
|
export * from "./GetAliasCommand";
|
|
20
21
|
export * from "./GetCodeSigningConfigCommand";
|
|
@@ -31,6 +32,8 @@ export * from "./GetLayerVersionCommand";
|
|
|
31
32
|
export * from "./GetLayerVersionPolicyCommand";
|
|
32
33
|
export * from "./GetPolicyCommand";
|
|
33
34
|
export * from "./GetProvisionedConcurrencyConfigCommand";
|
|
35
|
+
export * from "./GetPublicAccessBlockConfigCommand";
|
|
36
|
+
export * from "./GetResourcePolicyCommand";
|
|
34
37
|
export * from "./GetRuntimeManagementConfigCommand";
|
|
35
38
|
export * from "./InvokeAsyncCommand";
|
|
36
39
|
export * from "./InvokeCommand";
|
|
@@ -54,6 +57,8 @@ export * from "./PutFunctionConcurrencyCommand";
|
|
|
54
57
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
55
58
|
export * from "./PutFunctionRecursionConfigCommand";
|
|
56
59
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
60
|
+
export * from "./PutPublicAccessBlockConfigCommand";
|
|
61
|
+
export * from "./PutResourcePolicyCommand";
|
|
57
62
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
58
63
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
59
64
|
export * from "./RemovePermissionCommand";
|
|
@@ -713,6 +713,10 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
|
|
|
713
713
|
FunctionName: string | undefined;
|
|
714
714
|
Qualifier: string | undefined;
|
|
715
715
|
}
|
|
716
|
+
export interface DeleteResourcePolicyRequest {
|
|
717
|
+
ResourceArn: string | undefined;
|
|
718
|
+
RevisionId?: string;
|
|
719
|
+
}
|
|
716
720
|
export interface GetAccountSettingsRequest {}
|
|
717
721
|
export interface GetAccountSettingsResponse {
|
|
718
722
|
AccountLimit?: AccountLimit;
|
|
@@ -873,6 +877,23 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
|
|
|
873
877
|
>
|
|
874
878
|
);
|
|
875
879
|
}
|
|
880
|
+
export interface GetPublicAccessBlockConfigRequest {
|
|
881
|
+
ResourceArn: string | undefined;
|
|
882
|
+
}
|
|
883
|
+
export interface PublicAccessBlockConfig {
|
|
884
|
+
BlockPublicPolicy?: boolean;
|
|
885
|
+
RestrictPublicResource?: boolean;
|
|
886
|
+
}
|
|
887
|
+
export interface GetPublicAccessBlockConfigResponse {
|
|
888
|
+
PublicAccessBlockConfig?: PublicAccessBlockConfig;
|
|
889
|
+
}
|
|
890
|
+
export interface GetResourcePolicyRequest {
|
|
891
|
+
ResourceArn: string | undefined;
|
|
892
|
+
}
|
|
893
|
+
export interface GetResourcePolicyResponse {
|
|
894
|
+
Policy?: string;
|
|
895
|
+
RevisionId?: string;
|
|
896
|
+
}
|
|
876
897
|
export interface GetRuntimeManagementConfigRequest {
|
|
877
898
|
FunctionName: string | undefined;
|
|
878
899
|
Qualifier?: string;
|
|
@@ -1422,6 +1443,31 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
1422
1443
|
StatusReason?: string;
|
|
1423
1444
|
LastModified?: string;
|
|
1424
1445
|
}
|
|
1446
|
+
export interface PutPublicAccessBlockConfigRequest {
|
|
1447
|
+
ResourceArn: string | undefined;
|
|
1448
|
+
PublicAccessBlockConfig: PublicAccessBlockConfig | undefined;
|
|
1449
|
+
}
|
|
1450
|
+
export interface PutPublicAccessBlockConfigResponse {
|
|
1451
|
+
PublicAccessBlockConfig?: PublicAccessBlockConfig;
|
|
1452
|
+
}
|
|
1453
|
+
export declare class PublicPolicyException extends __BaseException {
|
|
1454
|
+
readonly name: "PublicPolicyException";
|
|
1455
|
+
readonly $fault: "client";
|
|
1456
|
+
Type?: string;
|
|
1457
|
+
Message?: string;
|
|
1458
|
+
constructor(
|
|
1459
|
+
opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
|
|
1460
|
+
);
|
|
1461
|
+
}
|
|
1462
|
+
export interface PutResourcePolicyRequest {
|
|
1463
|
+
ResourceArn: string | undefined;
|
|
1464
|
+
Policy: string | undefined;
|
|
1465
|
+
RevisionId?: string;
|
|
1466
|
+
}
|
|
1467
|
+
export interface PutResourcePolicyResponse {
|
|
1468
|
+
Policy?: string;
|
|
1469
|
+
RevisionId?: string;
|
|
1470
|
+
}
|
|
1425
1471
|
export interface PutRuntimeManagementConfigRequest {
|
|
1426
1472
|
FunctionName: string | undefined;
|
|
1427
1473
|
Qualifier?: string;
|
|
@@ -74,6 +74,10 @@ import {
|
|
|
74
74
|
DeleteProvisionedConcurrencyConfigCommandInput,
|
|
75
75
|
DeleteProvisionedConcurrencyConfigCommandOutput,
|
|
76
76
|
} from "../commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
77
|
+
import {
|
|
78
|
+
DeleteResourcePolicyCommandInput,
|
|
79
|
+
DeleteResourcePolicyCommandOutput,
|
|
80
|
+
} from "../commands/DeleteResourcePolicyCommand";
|
|
77
81
|
import {
|
|
78
82
|
GetAccountSettingsCommandInput,
|
|
79
83
|
GetAccountSettingsCommandOutput,
|
|
@@ -138,6 +142,14 @@ import {
|
|
|
138
142
|
GetProvisionedConcurrencyConfigCommandInput,
|
|
139
143
|
GetProvisionedConcurrencyConfigCommandOutput,
|
|
140
144
|
} from "../commands/GetProvisionedConcurrencyConfigCommand";
|
|
145
|
+
import {
|
|
146
|
+
GetPublicAccessBlockConfigCommandInput,
|
|
147
|
+
GetPublicAccessBlockConfigCommandOutput,
|
|
148
|
+
} from "../commands/GetPublicAccessBlockConfigCommand";
|
|
149
|
+
import {
|
|
150
|
+
GetResourcePolicyCommandInput,
|
|
151
|
+
GetResourcePolicyCommandOutput,
|
|
152
|
+
} from "../commands/GetResourcePolicyCommand";
|
|
141
153
|
import {
|
|
142
154
|
GetRuntimeManagementConfigCommandInput,
|
|
143
155
|
GetRuntimeManagementConfigCommandOutput,
|
|
@@ -230,6 +242,14 @@ import {
|
|
|
230
242
|
PutProvisionedConcurrencyConfigCommandInput,
|
|
231
243
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
232
244
|
} from "../commands/PutProvisionedConcurrencyConfigCommand";
|
|
245
|
+
import {
|
|
246
|
+
PutPublicAccessBlockConfigCommandInput,
|
|
247
|
+
PutPublicAccessBlockConfigCommandOutput,
|
|
248
|
+
} from "../commands/PutPublicAccessBlockConfigCommand";
|
|
249
|
+
import {
|
|
250
|
+
PutResourcePolicyCommandInput,
|
|
251
|
+
PutResourcePolicyCommandOutput,
|
|
252
|
+
} from "../commands/PutResourcePolicyCommand";
|
|
233
253
|
import {
|
|
234
254
|
PutRuntimeManagementConfigCommandInput,
|
|
235
255
|
PutRuntimeManagementConfigCommandOutput,
|
|
@@ -346,6 +366,10 @@ export declare const se_DeleteProvisionedConcurrencyConfigCommand: (
|
|
|
346
366
|
input: DeleteProvisionedConcurrencyConfigCommandInput,
|
|
347
367
|
context: __SerdeContext
|
|
348
368
|
) => Promise<__HttpRequest>;
|
|
369
|
+
export declare const se_DeleteResourcePolicyCommand: (
|
|
370
|
+
input: DeleteResourcePolicyCommandInput,
|
|
371
|
+
context: __SerdeContext
|
|
372
|
+
) => Promise<__HttpRequest>;
|
|
349
373
|
export declare const se_GetAccountSettingsCommand: (
|
|
350
374
|
input: GetAccountSettingsCommandInput,
|
|
351
375
|
context: __SerdeContext
|
|
@@ -410,6 +434,14 @@ export declare const se_GetProvisionedConcurrencyConfigCommand: (
|
|
|
410
434
|
input: GetProvisionedConcurrencyConfigCommandInput,
|
|
411
435
|
context: __SerdeContext
|
|
412
436
|
) => Promise<__HttpRequest>;
|
|
437
|
+
export declare const se_GetPublicAccessBlockConfigCommand: (
|
|
438
|
+
input: GetPublicAccessBlockConfigCommandInput,
|
|
439
|
+
context: __SerdeContext
|
|
440
|
+
) => Promise<__HttpRequest>;
|
|
441
|
+
export declare const se_GetResourcePolicyCommand: (
|
|
442
|
+
input: GetResourcePolicyCommandInput,
|
|
443
|
+
context: __SerdeContext
|
|
444
|
+
) => Promise<__HttpRequest>;
|
|
413
445
|
export declare const se_GetRuntimeManagementConfigCommand: (
|
|
414
446
|
input: GetRuntimeManagementConfigCommandInput,
|
|
415
447
|
context: __SerdeContext
|
|
@@ -502,6 +534,14 @@ export declare const se_PutProvisionedConcurrencyConfigCommand: (
|
|
|
502
534
|
input: PutProvisionedConcurrencyConfigCommandInput,
|
|
503
535
|
context: __SerdeContext
|
|
504
536
|
) => Promise<__HttpRequest>;
|
|
537
|
+
export declare const se_PutPublicAccessBlockConfigCommand: (
|
|
538
|
+
input: PutPublicAccessBlockConfigCommandInput,
|
|
539
|
+
context: __SerdeContext
|
|
540
|
+
) => Promise<__HttpRequest>;
|
|
541
|
+
export declare const se_PutResourcePolicyCommand: (
|
|
542
|
+
input: PutResourcePolicyCommandInput,
|
|
543
|
+
context: __SerdeContext
|
|
544
|
+
) => Promise<__HttpRequest>;
|
|
505
545
|
export declare const se_PutRuntimeManagementConfigCommand: (
|
|
506
546
|
input: PutRuntimeManagementConfigCommandInput,
|
|
507
547
|
context: __SerdeContext
|
|
@@ -618,6 +658,10 @@ export declare const de_DeleteProvisionedConcurrencyConfigCommand: (
|
|
|
618
658
|
output: __HttpResponse,
|
|
619
659
|
context: __SerdeContext
|
|
620
660
|
) => Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
|
|
661
|
+
export declare const de_DeleteResourcePolicyCommand: (
|
|
662
|
+
output: __HttpResponse,
|
|
663
|
+
context: __SerdeContext
|
|
664
|
+
) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
621
665
|
export declare const de_GetAccountSettingsCommand: (
|
|
622
666
|
output: __HttpResponse,
|
|
623
667
|
context: __SerdeContext
|
|
@@ -682,6 +726,14 @@ export declare const de_GetProvisionedConcurrencyConfigCommand: (
|
|
|
682
726
|
output: __HttpResponse,
|
|
683
727
|
context: __SerdeContext
|
|
684
728
|
) => Promise<GetProvisionedConcurrencyConfigCommandOutput>;
|
|
729
|
+
export declare const de_GetPublicAccessBlockConfigCommand: (
|
|
730
|
+
output: __HttpResponse,
|
|
731
|
+
context: __SerdeContext
|
|
732
|
+
) => Promise<GetPublicAccessBlockConfigCommandOutput>;
|
|
733
|
+
export declare const de_GetResourcePolicyCommand: (
|
|
734
|
+
output: __HttpResponse,
|
|
735
|
+
context: __SerdeContext
|
|
736
|
+
) => Promise<GetResourcePolicyCommandOutput>;
|
|
685
737
|
export declare const de_GetRuntimeManagementConfigCommand: (
|
|
686
738
|
output: __HttpResponse,
|
|
687
739
|
context: __SerdeContext
|
|
@@ -774,6 +826,14 @@ export declare const de_PutProvisionedConcurrencyConfigCommand: (
|
|
|
774
826
|
output: __HttpResponse,
|
|
775
827
|
context: __SerdeContext
|
|
776
828
|
) => Promise<PutProvisionedConcurrencyConfigCommandOutput>;
|
|
829
|
+
export declare const de_PutPublicAccessBlockConfigCommand: (
|
|
830
|
+
output: __HttpResponse,
|
|
831
|
+
context: __SerdeContext
|
|
832
|
+
) => Promise<PutPublicAccessBlockConfigCommandOutput>;
|
|
833
|
+
export declare const de_PutResourcePolicyCommand: (
|
|
834
|
+
output: __HttpResponse,
|
|
835
|
+
context: __SerdeContext
|
|
836
|
+
) => Promise<PutResourcePolicyCommandOutput>;
|
|
777
837
|
export declare const de_PutRuntimeManagementConfigCommand: (
|
|
778
838
|
output: __HttpResponse,
|
|
779
839
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.653.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lambda",
|