@aws-sdk/client-lambda 3.650.0 → 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 +5 -5
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { PutPublicAccessBlockConfigRequest, PutPublicAccessBlockConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutPublicAccessBlockConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutPublicAccessBlockConfigCommandInput extends PutPublicAccessBlockConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutPublicAccessBlockConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutPublicAccessBlockConfigCommandOutput extends PutPublicAccessBlockConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutPublicAccessBlockConfigCommand_base: {
|
|
25
|
+
new (input: PutPublicAccessBlockConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutPublicAccessBlockConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Configure your function's public-access settings.</p>
|
|
31
|
+
* <p>To control public access to a Lambda function, you can choose whether to allow the creation of
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policies</a> that
|
|
33
|
+
* allow public access to that function. You can also block public access to a function, even if it has an existing resource-based
|
|
34
|
+
* policy that allows it.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { LambdaClient, PutPublicAccessBlockConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
39
|
+
* // const { LambdaClient, PutPublicAccessBlockConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
40
|
+
* const client = new LambdaClient(config);
|
|
41
|
+
* const input = { // PutPublicAccessBlockConfigRequest
|
|
42
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
43
|
+
* PublicAccessBlockConfig: { // PublicAccessBlockConfig
|
|
44
|
+
* BlockPublicPolicy: true || false,
|
|
45
|
+
* RestrictPublicResource: true || false,
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
48
|
+
* const command = new PutPublicAccessBlockConfigCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // PutPublicAccessBlockConfigResponse
|
|
51
|
+
* // PublicAccessBlockConfig: { // PublicAccessBlockConfig
|
|
52
|
+
* // BlockPublicPolicy: true || false,
|
|
53
|
+
* // RestrictPublicResource: true || false,
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param PutPublicAccessBlockConfigCommandInput - {@link PutPublicAccessBlockConfigCommandInput}
|
|
60
|
+
* @returns {@link PutPublicAccessBlockConfigCommandOutput}
|
|
61
|
+
* @see {@link PutPublicAccessBlockConfigCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link PutPublicAccessBlockConfigCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
66
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
69
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceException} (server fault)
|
|
75
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
78
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link LambdaServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class PutPublicAccessBlockConfigCommand extends PutPublicAccessBlockConfigCommand_base {
|
|
86
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutResourcePolicyCommand_base: {
|
|
25
|
+
new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds a <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a>
|
|
31
|
+
* to a function. You can use resource-based policies to grant access to other
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html">Amazon Web Services accounts</a>,
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html">organizations</a>, or
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html">services</a>. Resource-based policies
|
|
35
|
+
* apply to a single function, version, or alias.</p>
|
|
36
|
+
* <important>
|
|
37
|
+
* <p>Adding a resource-based policy using this API action replaces any existing policy you've previously created. This means that if
|
|
38
|
+
* you've previously added resource-based permissions to a function using the <a>AddPermission</a> action, those
|
|
39
|
+
* permissions will be overwritten by your new policy.</p>
|
|
40
|
+
* </important>
|
|
41
|
+
* @example
|
|
42
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
+
* ```javascript
|
|
44
|
+
* import { LambdaClient, PutResourcePolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
45
|
+
* // const { LambdaClient, PutResourcePolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
46
|
+
* const client = new LambdaClient(config);
|
|
47
|
+
* const input = { // PutResourcePolicyRequest
|
|
48
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
49
|
+
* Policy: "STRING_VALUE", // required
|
|
50
|
+
* RevisionId: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new PutResourcePolicyCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // PutResourcePolicyResponse
|
|
55
|
+
* // Policy: "STRING_VALUE",
|
|
56
|
+
* // RevisionId: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
62
|
+
* @returns {@link PutResourcePolicyCommandOutput}
|
|
63
|
+
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
68
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link PolicyLengthExceededException} (client fault)
|
|
71
|
+
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link PreconditionFailedException} (client fault)
|
|
74
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
75
|
+
* <ul>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>
|
|
78
|
+
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* </ul>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link PublicPolicyException} (client fault)
|
|
87
|
+
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
88
|
+
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
89
|
+
* to allow public policies.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
92
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ServiceException} (server fault)
|
|
98
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
101
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link LambdaServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
109
|
+
}
|
|
@@ -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";
|
|
@@ -2746,6 +2746,23 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
|
|
|
2746
2746
|
*/
|
|
2747
2747
|
Qualifier: string | undefined;
|
|
2748
2748
|
}
|
|
2749
|
+
/**
|
|
2750
|
+
* @public
|
|
2751
|
+
*/
|
|
2752
|
+
export interface DeleteResourcePolicyRequest {
|
|
2753
|
+
/**
|
|
2754
|
+
* <p>The Amazon Resource Name (ARN) of the function you want to delete the policy from. You can use either a qualified or an unqualified ARN,
|
|
2755
|
+
* but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
|
|
2756
|
+
* @public
|
|
2757
|
+
*/
|
|
2758
|
+
ResourceArn: string | undefined;
|
|
2759
|
+
/**
|
|
2760
|
+
* <p>Delete the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached
|
|
2761
|
+
* to your function, use the <a>GetResourcePolicy</a> action.</p>
|
|
2762
|
+
* @public
|
|
2763
|
+
*/
|
|
2764
|
+
RevisionId?: string;
|
|
2765
|
+
}
|
|
2749
2766
|
/**
|
|
2750
2767
|
* @public
|
|
2751
2768
|
*/
|
|
@@ -3560,6 +3577,71 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
|
|
|
3560
3577
|
*/
|
|
3561
3578
|
constructor(opts: __ExceptionOptionType<ProvisionedConcurrencyConfigNotFoundException, __BaseException>);
|
|
3562
3579
|
}
|
|
3580
|
+
/**
|
|
3581
|
+
* @public
|
|
3582
|
+
*/
|
|
3583
|
+
export interface GetPublicAccessBlockConfigRequest {
|
|
3584
|
+
/**
|
|
3585
|
+
* <p>The Amazon Resource Name (ARN) of the function you want to retrieve public-access settings for.</p>
|
|
3586
|
+
* @public
|
|
3587
|
+
*/
|
|
3588
|
+
ResourceArn: string | undefined;
|
|
3589
|
+
}
|
|
3590
|
+
/**
|
|
3591
|
+
* <p>An object that defines the public-access settings for a function.</p>
|
|
3592
|
+
* @public
|
|
3593
|
+
*/
|
|
3594
|
+
export interface PublicAccessBlockConfig {
|
|
3595
|
+
/**
|
|
3596
|
+
* <p>To block the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
|
|
3597
|
+
* to <code>true</code>. To allow the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
|
|
3598
|
+
* to <code>false</code>.</p>
|
|
3599
|
+
* @public
|
|
3600
|
+
*/
|
|
3601
|
+
BlockPublicPolicy?: boolean;
|
|
3602
|
+
/**
|
|
3603
|
+
* <p>To block public access to your function, even if its resource-based policy allows it, set <code>RestrictPublicResource</code> to <code>true</code>. To
|
|
3604
|
+
* allow public access to a function with a resource-based policy that permits it, set <code>RestrictPublicResource</code> to <code>false</code>.</p>
|
|
3605
|
+
* @public
|
|
3606
|
+
*/
|
|
3607
|
+
RestrictPublicResource?: boolean;
|
|
3608
|
+
}
|
|
3609
|
+
/**
|
|
3610
|
+
* @public
|
|
3611
|
+
*/
|
|
3612
|
+
export interface GetPublicAccessBlockConfigResponse {
|
|
3613
|
+
/**
|
|
3614
|
+
* <p>The public-access settings configured for the function you specified</p>
|
|
3615
|
+
* @public
|
|
3616
|
+
*/
|
|
3617
|
+
PublicAccessBlockConfig?: PublicAccessBlockConfig;
|
|
3618
|
+
}
|
|
3619
|
+
/**
|
|
3620
|
+
* @public
|
|
3621
|
+
*/
|
|
3622
|
+
export interface GetResourcePolicyRequest {
|
|
3623
|
+
/**
|
|
3624
|
+
* <p>The Amazon Resource Name (ARN) of the function you want to retrieve the policy for. You can use either a qualified or an unqualified ARN,
|
|
3625
|
+
* but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
|
|
3626
|
+
* @public
|
|
3627
|
+
*/
|
|
3628
|
+
ResourceArn: string | undefined;
|
|
3629
|
+
}
|
|
3630
|
+
/**
|
|
3631
|
+
* @public
|
|
3632
|
+
*/
|
|
3633
|
+
export interface GetResourcePolicyResponse {
|
|
3634
|
+
/**
|
|
3635
|
+
* <p>The resource-based policy attached to the function you specified.</p>
|
|
3636
|
+
* @public
|
|
3637
|
+
*/
|
|
3638
|
+
Policy?: string;
|
|
3639
|
+
/**
|
|
3640
|
+
* <p>The revision ID of the policy.</p>
|
|
3641
|
+
* @public
|
|
3642
|
+
*/
|
|
3643
|
+
RevisionId?: string;
|
|
3644
|
+
}
|
|
3563
3645
|
/**
|
|
3564
3646
|
* @public
|
|
3565
3647
|
*/
|
|
@@ -5632,6 +5714,98 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
5632
5714
|
*/
|
|
5633
5715
|
LastModified?: string;
|
|
5634
5716
|
}
|
|
5717
|
+
/**
|
|
5718
|
+
* @public
|
|
5719
|
+
*/
|
|
5720
|
+
export interface PutPublicAccessBlockConfigRequest {
|
|
5721
|
+
/**
|
|
5722
|
+
* <p>The Amazon Resource Name (ARN) of the function you want to configure public-access settings for. Public-access settings
|
|
5723
|
+
* are applied at the function level, so you can't apply different settings to function versions or aliases.</p>
|
|
5724
|
+
* @public
|
|
5725
|
+
*/
|
|
5726
|
+
ResourceArn: string | undefined;
|
|
5727
|
+
/**
|
|
5728
|
+
* <p>An object defining the public-access settings you want to apply.</p>
|
|
5729
|
+
* <p>To block the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
|
|
5730
|
+
* to <code>true</code>. To allow the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
|
|
5731
|
+
* to <code>false</code>.</p>
|
|
5732
|
+
* <p>To block public access to your function, even if its resource-based policy allows it, set <code>RestrictPublicResource</code> to <code>true</code>. To
|
|
5733
|
+
* allow public access to a function with a resource-based policy that permits it, set <code>RestrictPublicResource</code> to <code>false</code>.</p>
|
|
5734
|
+
* <p>The default setting for both <code>BlockPublicPolicy</code> and <code>RestrictPublicResource</code> is <code>true</code>.</p>
|
|
5735
|
+
* @public
|
|
5736
|
+
*/
|
|
5737
|
+
PublicAccessBlockConfig: PublicAccessBlockConfig | undefined;
|
|
5738
|
+
}
|
|
5739
|
+
/**
|
|
5740
|
+
* @public
|
|
5741
|
+
*/
|
|
5742
|
+
export interface PutPublicAccessBlockConfigResponse {
|
|
5743
|
+
/**
|
|
5744
|
+
* <p>The public-access settings Lambda applied to your function.</p>
|
|
5745
|
+
* @public
|
|
5746
|
+
*/
|
|
5747
|
+
PublicAccessBlockConfig?: PublicAccessBlockConfig;
|
|
5748
|
+
}
|
|
5749
|
+
/**
|
|
5750
|
+
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
5751
|
+
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
5752
|
+
* to allow public policies.</p>
|
|
5753
|
+
* @public
|
|
5754
|
+
*/
|
|
5755
|
+
export declare class PublicPolicyException extends __BaseException {
|
|
5756
|
+
readonly name: "PublicPolicyException";
|
|
5757
|
+
readonly $fault: "client";
|
|
5758
|
+
/**
|
|
5759
|
+
* <p>The exception type.</p>
|
|
5760
|
+
* @public
|
|
5761
|
+
*/
|
|
5762
|
+
Type?: string;
|
|
5763
|
+
Message?: string;
|
|
5764
|
+
/**
|
|
5765
|
+
* @internal
|
|
5766
|
+
*/
|
|
5767
|
+
constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
|
|
5768
|
+
}
|
|
5769
|
+
/**
|
|
5770
|
+
* @public
|
|
5771
|
+
*/
|
|
5772
|
+
export interface PutResourcePolicyRequest {
|
|
5773
|
+
/**
|
|
5774
|
+
* <p>The Amazon Resource Name (ARN) of the function you want to add the policy to. You can use either a qualified or an unqualified ARN,
|
|
5775
|
+
* but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
|
|
5776
|
+
* @public
|
|
5777
|
+
*/
|
|
5778
|
+
ResourceArn: string | undefined;
|
|
5779
|
+
/**
|
|
5780
|
+
* <p>The JSON resource-based policy you want to add to your function.</p>
|
|
5781
|
+
* <p>To learn more about creating resource-based policies for controlling access to
|
|
5782
|
+
* Lambda, see <a href="https://docs.aws.amazon.com/">Working with resource-based IAM policies in Lambda</a> in the
|
|
5783
|
+
* <i>Lambda Developer Guide</i>.</p>
|
|
5784
|
+
* @public
|
|
5785
|
+
*/
|
|
5786
|
+
Policy: string | undefined;
|
|
5787
|
+
/**
|
|
5788
|
+
* <p>Replace the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached
|
|
5789
|
+
* to your function, use the <a>GetResourcePolicy</a> action.</p>
|
|
5790
|
+
* @public
|
|
5791
|
+
*/
|
|
5792
|
+
RevisionId?: string;
|
|
5793
|
+
}
|
|
5794
|
+
/**
|
|
5795
|
+
* @public
|
|
5796
|
+
*/
|
|
5797
|
+
export interface PutResourcePolicyResponse {
|
|
5798
|
+
/**
|
|
5799
|
+
* <p>The policy Lambda added to your function.</p>
|
|
5800
|
+
* @public
|
|
5801
|
+
*/
|
|
5802
|
+
Policy?: string;
|
|
5803
|
+
/**
|
|
5804
|
+
* <p>The revision ID of the policy Lambda added to your function.</p>
|
|
5805
|
+
* @public
|
|
5806
|
+
*/
|
|
5807
|
+
RevisionId?: string;
|
|
5808
|
+
}
|
|
5635
5809
|
/**
|
|
5636
5810
|
* @public
|
|
5637
5811
|
*/
|
|
@@ -17,6 +17,7 @@ import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeC
|
|
|
17
17
|
import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "../commands/DeleteFunctionUrlConfigCommand";
|
|
18
18
|
import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "../commands/DeleteLayerVersionCommand";
|
|
19
19
|
import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "../commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
20
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
20
21
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand";
|
|
21
22
|
import { GetAliasCommandInput, GetAliasCommandOutput } from "../commands/GetAliasCommand";
|
|
22
23
|
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "../commands/GetCodeSigningConfigCommand";
|
|
@@ -33,6 +34,8 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "../co
|
|
|
33
34
|
import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "../commands/GetLayerVersionPolicyCommand";
|
|
34
35
|
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPolicyCommand";
|
|
35
36
|
import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "../commands/GetProvisionedConcurrencyConfigCommand";
|
|
37
|
+
import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "../commands/GetPublicAccessBlockConfigCommand";
|
|
38
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
36
39
|
import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "../commands/GetRuntimeManagementConfigCommand";
|
|
37
40
|
import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "../commands/InvokeAsyncCommand";
|
|
38
41
|
import { InvokeCommandInput, InvokeCommandOutput } from "../commands/InvokeCommand";
|
|
@@ -56,6 +59,8 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
|
|
|
56
59
|
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "../commands/PutFunctionEventInvokeConfigCommand";
|
|
57
60
|
import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "../commands/PutFunctionRecursionConfigCommand";
|
|
58
61
|
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "../commands/PutProvisionedConcurrencyConfigCommand";
|
|
62
|
+
import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "../commands/PutPublicAccessBlockConfigCommand";
|
|
63
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
59
64
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "../commands/PutRuntimeManagementConfigCommand";
|
|
60
65
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "../commands/RemoveLayerVersionPermissionCommand";
|
|
61
66
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "../commands/RemovePermissionCommand";
|
|
@@ -136,6 +141,10 @@ export declare const se_DeleteLayerVersionCommand: (input: DeleteLayerVersionCom
|
|
|
136
141
|
* serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand
|
|
137
142
|
*/
|
|
138
143
|
export declare const se_DeleteProvisionedConcurrencyConfigCommand: (input: DeleteProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
144
|
+
/**
|
|
145
|
+
* serializeAws_restJson1DeleteResourcePolicyCommand
|
|
146
|
+
*/
|
|
147
|
+
export declare const se_DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
139
148
|
/**
|
|
140
149
|
* serializeAws_restJson1GetAccountSettingsCommand
|
|
141
150
|
*/
|
|
@@ -200,6 +209,14 @@ export declare const se_GetPolicyCommand: (input: GetPolicyCommandInput, context
|
|
|
200
209
|
* serializeAws_restJson1GetProvisionedConcurrencyConfigCommand
|
|
201
210
|
*/
|
|
202
211
|
export declare const se_GetProvisionedConcurrencyConfigCommand: (input: GetProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
212
|
+
/**
|
|
213
|
+
* serializeAws_restJson1GetPublicAccessBlockConfigCommand
|
|
214
|
+
*/
|
|
215
|
+
export declare const se_GetPublicAccessBlockConfigCommand: (input: GetPublicAccessBlockConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
216
|
+
/**
|
|
217
|
+
* serializeAws_restJson1GetResourcePolicyCommand
|
|
218
|
+
*/
|
|
219
|
+
export declare const se_GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
203
220
|
/**
|
|
204
221
|
* serializeAws_restJson1GetRuntimeManagementConfigCommand
|
|
205
222
|
*/
|
|
@@ -292,6 +309,14 @@ export declare const se_PutFunctionRecursionConfigCommand: (input: PutFunctionRe
|
|
|
292
309
|
* serializeAws_restJson1PutProvisionedConcurrencyConfigCommand
|
|
293
310
|
*/
|
|
294
311
|
export declare const se_PutProvisionedConcurrencyConfigCommand: (input: PutProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
312
|
+
/**
|
|
313
|
+
* serializeAws_restJson1PutPublicAccessBlockConfigCommand
|
|
314
|
+
*/
|
|
315
|
+
export declare const se_PutPublicAccessBlockConfigCommand: (input: PutPublicAccessBlockConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
316
|
+
/**
|
|
317
|
+
* serializeAws_restJson1PutResourcePolicyCommand
|
|
318
|
+
*/
|
|
319
|
+
export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
295
320
|
/**
|
|
296
321
|
* serializeAws_restJson1PutRuntimeManagementConfigCommand
|
|
297
322
|
*/
|
|
@@ -408,6 +433,10 @@ export declare const de_DeleteLayerVersionCommand: (output: __HttpResponse, cont
|
|
|
408
433
|
* deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand
|
|
409
434
|
*/
|
|
410
435
|
export declare const de_DeleteProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
|
|
436
|
+
/**
|
|
437
|
+
* deserializeAws_restJson1DeleteResourcePolicyCommand
|
|
438
|
+
*/
|
|
439
|
+
export declare const de_DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
411
440
|
/**
|
|
412
441
|
* deserializeAws_restJson1GetAccountSettingsCommand
|
|
413
442
|
*/
|
|
@@ -472,6 +501,14 @@ export declare const de_GetPolicyCommand: (output: __HttpResponse, context: __Se
|
|
|
472
501
|
* deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand
|
|
473
502
|
*/
|
|
474
503
|
export declare const de_GetProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProvisionedConcurrencyConfigCommandOutput>;
|
|
504
|
+
/**
|
|
505
|
+
* deserializeAws_restJson1GetPublicAccessBlockConfigCommand
|
|
506
|
+
*/
|
|
507
|
+
export declare const de_GetPublicAccessBlockConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPublicAccessBlockConfigCommandOutput>;
|
|
508
|
+
/**
|
|
509
|
+
* deserializeAws_restJson1GetResourcePolicyCommand
|
|
510
|
+
*/
|
|
511
|
+
export declare const de_GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
|
|
475
512
|
/**
|
|
476
513
|
* deserializeAws_restJson1GetRuntimeManagementConfigCommand
|
|
477
514
|
*/
|
|
@@ -564,6 +601,14 @@ export declare const de_PutFunctionRecursionConfigCommand: (output: __HttpRespon
|
|
|
564
601
|
* deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand
|
|
565
602
|
*/
|
|
566
603
|
export declare const de_PutProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutProvisionedConcurrencyConfigCommandOutput>;
|
|
604
|
+
/**
|
|
605
|
+
* deserializeAws_restJson1PutPublicAccessBlockConfigCommand
|
|
606
|
+
*/
|
|
607
|
+
export declare const de_PutPublicAccessBlockConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPublicAccessBlockConfigCommandOutput>;
|
|
608
|
+
/**
|
|
609
|
+
* deserializeAws_restJson1PutResourcePolicyCommand
|
|
610
|
+
*/
|
|
611
|
+
export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
|
|
567
612
|
/**
|
|
568
613
|
* deserializeAws_restJson1PutRuntimeManagementConfigCommand
|
|
569
614
|
*/
|
|
@@ -67,6 +67,10 @@ import {
|
|
|
67
67
|
DeleteProvisionedConcurrencyConfigCommandInput,
|
|
68
68
|
DeleteProvisionedConcurrencyConfigCommandOutput,
|
|
69
69
|
} from "./commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
70
|
+
import {
|
|
71
|
+
DeleteResourcePolicyCommandInput,
|
|
72
|
+
DeleteResourcePolicyCommandOutput,
|
|
73
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
70
74
|
import {
|
|
71
75
|
GetAccountSettingsCommandInput,
|
|
72
76
|
GetAccountSettingsCommandOutput,
|
|
@@ -131,6 +135,14 @@ import {
|
|
|
131
135
|
GetProvisionedConcurrencyConfigCommandInput,
|
|
132
136
|
GetProvisionedConcurrencyConfigCommandOutput,
|
|
133
137
|
} from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
138
|
+
import {
|
|
139
|
+
GetPublicAccessBlockConfigCommandInput,
|
|
140
|
+
GetPublicAccessBlockConfigCommandOutput,
|
|
141
|
+
} from "./commands/GetPublicAccessBlockConfigCommand";
|
|
142
|
+
import {
|
|
143
|
+
GetResourcePolicyCommandInput,
|
|
144
|
+
GetResourcePolicyCommandOutput,
|
|
145
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
134
146
|
import {
|
|
135
147
|
GetRuntimeManagementConfigCommandInput,
|
|
136
148
|
GetRuntimeManagementConfigCommandOutput,
|
|
@@ -223,6 +235,14 @@ import {
|
|
|
223
235
|
PutProvisionedConcurrencyConfigCommandInput,
|
|
224
236
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
225
237
|
} from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
238
|
+
import {
|
|
239
|
+
PutPublicAccessBlockConfigCommandInput,
|
|
240
|
+
PutPublicAccessBlockConfigCommandOutput,
|
|
241
|
+
} from "./commands/PutPublicAccessBlockConfigCommand";
|
|
242
|
+
import {
|
|
243
|
+
PutResourcePolicyCommandInput,
|
|
244
|
+
PutResourcePolicyCommandOutput,
|
|
245
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
226
246
|
import {
|
|
227
247
|
PutRuntimeManagementConfigCommandInput,
|
|
228
248
|
PutRuntimeManagementConfigCommandOutput,
|
|
@@ -500,6 +520,19 @@ export interface Lambda {
|
|
|
500
520
|
data?: DeleteProvisionedConcurrencyConfigCommandOutput
|
|
501
521
|
) => void
|
|
502
522
|
): void;
|
|
523
|
+
deleteResourcePolicy(
|
|
524
|
+
args: DeleteResourcePolicyCommandInput,
|
|
525
|
+
options?: __HttpHandlerOptions
|
|
526
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
527
|
+
deleteResourcePolicy(
|
|
528
|
+
args: DeleteResourcePolicyCommandInput,
|
|
529
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
530
|
+
): void;
|
|
531
|
+
deleteResourcePolicy(
|
|
532
|
+
args: DeleteResourcePolicyCommandInput,
|
|
533
|
+
options: __HttpHandlerOptions,
|
|
534
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
535
|
+
): void;
|
|
503
536
|
getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
|
|
504
537
|
getAccountSettings(
|
|
505
538
|
args: GetAccountSettingsCommandInput,
|
|
@@ -709,6 +742,32 @@ export interface Lambda {
|
|
|
709
742
|
options: __HttpHandlerOptions,
|
|
710
743
|
cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void
|
|
711
744
|
): void;
|
|
745
|
+
getPublicAccessBlockConfig(
|
|
746
|
+
args: GetPublicAccessBlockConfigCommandInput,
|
|
747
|
+
options?: __HttpHandlerOptions
|
|
748
|
+
): Promise<GetPublicAccessBlockConfigCommandOutput>;
|
|
749
|
+
getPublicAccessBlockConfig(
|
|
750
|
+
args: GetPublicAccessBlockConfigCommandInput,
|
|
751
|
+
cb: (err: any, data?: GetPublicAccessBlockConfigCommandOutput) => void
|
|
752
|
+
): void;
|
|
753
|
+
getPublicAccessBlockConfig(
|
|
754
|
+
args: GetPublicAccessBlockConfigCommandInput,
|
|
755
|
+
options: __HttpHandlerOptions,
|
|
756
|
+
cb: (err: any, data?: GetPublicAccessBlockConfigCommandOutput) => void
|
|
757
|
+
): void;
|
|
758
|
+
getResourcePolicy(
|
|
759
|
+
args: GetResourcePolicyCommandInput,
|
|
760
|
+
options?: __HttpHandlerOptions
|
|
761
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
762
|
+
getResourcePolicy(
|
|
763
|
+
args: GetResourcePolicyCommandInput,
|
|
764
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
765
|
+
): void;
|
|
766
|
+
getResourcePolicy(
|
|
767
|
+
args: GetResourcePolicyCommandInput,
|
|
768
|
+
options: __HttpHandlerOptions,
|
|
769
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
770
|
+
): void;
|
|
712
771
|
getRuntimeManagementConfig(
|
|
713
772
|
args: GetRuntimeManagementConfigCommandInput,
|
|
714
773
|
options?: __HttpHandlerOptions
|
|
@@ -1018,6 +1077,32 @@ export interface Lambda {
|
|
|
1018
1077
|
options: __HttpHandlerOptions,
|
|
1019
1078
|
cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void
|
|
1020
1079
|
): void;
|
|
1080
|
+
putPublicAccessBlockConfig(
|
|
1081
|
+
args: PutPublicAccessBlockConfigCommandInput,
|
|
1082
|
+
options?: __HttpHandlerOptions
|
|
1083
|
+
): Promise<PutPublicAccessBlockConfigCommandOutput>;
|
|
1084
|
+
putPublicAccessBlockConfig(
|
|
1085
|
+
args: PutPublicAccessBlockConfigCommandInput,
|
|
1086
|
+
cb: (err: any, data?: PutPublicAccessBlockConfigCommandOutput) => void
|
|
1087
|
+
): void;
|
|
1088
|
+
putPublicAccessBlockConfig(
|
|
1089
|
+
args: PutPublicAccessBlockConfigCommandInput,
|
|
1090
|
+
options: __HttpHandlerOptions,
|
|
1091
|
+
cb: (err: any, data?: PutPublicAccessBlockConfigCommandOutput) => void
|
|
1092
|
+
): void;
|
|
1093
|
+
putResourcePolicy(
|
|
1094
|
+
args: PutResourcePolicyCommandInput,
|
|
1095
|
+
options?: __HttpHandlerOptions
|
|
1096
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
1097
|
+
putResourcePolicy(
|
|
1098
|
+
args: PutResourcePolicyCommandInput,
|
|
1099
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
1100
|
+
): void;
|
|
1101
|
+
putResourcePolicy(
|
|
1102
|
+
args: PutResourcePolicyCommandInput,
|
|
1103
|
+
options: __HttpHandlerOptions,
|
|
1104
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
1105
|
+
): void;
|
|
1021
1106
|
putRuntimeManagementConfig(
|
|
1022
1107
|
args: PutRuntimeManagementConfigCommandInput,
|
|
1023
1108
|
options?: __HttpHandlerOptions
|