@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,101 +0,0 @@
|
|
|
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
|
-
* <note>
|
|
31
|
-
* <p>The option to configure public-access settings, and to use the PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be
|
|
32
|
-
* available in all Amazon Web Services Regions until September 30, 2024.</p>
|
|
33
|
-
* </note>
|
|
34
|
-
* <p>Configure your function's public-access settings.</p>
|
|
35
|
-
* <p>To control public access to a Lambda function, you can choose whether to allow the creation of
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policies</a> that
|
|
37
|
-
* allow public access to that function. You can also block public access to a function, even if it has an existing resource-based
|
|
38
|
-
* policy that allows it.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { LambdaClient, PutPublicAccessBlockConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
43
|
-
* // const { LambdaClient, PutPublicAccessBlockConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
44
|
-
* const client = new LambdaClient(config);
|
|
45
|
-
* const input = { // PutPublicAccessBlockConfigRequest
|
|
46
|
-
* ResourceArn: "STRING_VALUE", // required
|
|
47
|
-
* PublicAccessBlockConfig: { // PublicAccessBlockConfig
|
|
48
|
-
* BlockPublicPolicy: true || false,
|
|
49
|
-
* RestrictPublicResource: true || false,
|
|
50
|
-
* },
|
|
51
|
-
* };
|
|
52
|
-
* const command = new PutPublicAccessBlockConfigCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* // { // PutPublicAccessBlockConfigResponse
|
|
55
|
-
* // PublicAccessBlockConfig: { // PublicAccessBlockConfig
|
|
56
|
-
* // BlockPublicPolicy: true || false,
|
|
57
|
-
* // RestrictPublicResource: true || false,
|
|
58
|
-
* // },
|
|
59
|
-
* // };
|
|
60
|
-
*
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* @param PutPublicAccessBlockConfigCommandInput - {@link PutPublicAccessBlockConfigCommandInput}
|
|
64
|
-
* @returns {@link PutPublicAccessBlockConfigCommandOutput}
|
|
65
|
-
* @see {@link PutPublicAccessBlockConfigCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link PutPublicAccessBlockConfigCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link InvalidParameterValueException} (client fault)
|
|
70
|
-
* <p>One of the parameters in the request is not valid.</p>
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link ResourceConflictException} (client fault)
|
|
73
|
-
* <p>The resource already exists, or another operation is in progress.</p>
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
-
* <p>The resource specified in the request does not exist.</p>
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link ServiceException} (server fault)
|
|
79
|
-
* <p>The Lambda service encountered an internal error.</p>
|
|
80
|
-
*
|
|
81
|
-
* @throws {@link TooManyRequestsException} (client fault)
|
|
82
|
-
* <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>
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link LambdaServiceException}
|
|
85
|
-
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
86
|
-
*
|
|
87
|
-
* @public
|
|
88
|
-
*/
|
|
89
|
-
export declare class PutPublicAccessBlockConfigCommand extends PutPublicAccessBlockConfigCommand_base {
|
|
90
|
-
/** @internal type navigation helper, not in runtime. */
|
|
91
|
-
protected static __types: {
|
|
92
|
-
api: {
|
|
93
|
-
input: PutPublicAccessBlockConfigRequest;
|
|
94
|
-
output: PutPublicAccessBlockConfigResponse;
|
|
95
|
-
};
|
|
96
|
-
sdk: {
|
|
97
|
-
input: PutPublicAccessBlockConfigCommandInput;
|
|
98
|
-
output: PutPublicAccessBlockConfigCommandOutput;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
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
|
-
* <note>
|
|
31
|
-
* <p>The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be
|
|
32
|
-
* available in all Amazon Web Services Regions until September 30, 2024.</p>
|
|
33
|
-
* </note>
|
|
34
|
-
* <p>Adds a <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a>
|
|
35
|
-
* to a function. You can use resource-based policies to grant access to other
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html">Amazon Web Services accounts</a>,
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html">organizations</a>, or
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html">services</a>. Resource-based policies
|
|
39
|
-
* apply to a single function, version, or alias.</p>
|
|
40
|
-
* <important>
|
|
41
|
-
* <p>Adding a resource-based policy using this API action replaces any existing policy you've previously created. This means that if
|
|
42
|
-
* you've previously added resource-based permissions to a function using the <a>AddPermission</a> action, those
|
|
43
|
-
* permissions will be overwritten by your new policy.</p>
|
|
44
|
-
* </important>
|
|
45
|
-
* @example
|
|
46
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
-
* ```javascript
|
|
48
|
-
* import { LambdaClient, PutResourcePolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
49
|
-
* // const { LambdaClient, PutResourcePolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
50
|
-
* const client = new LambdaClient(config);
|
|
51
|
-
* const input = { // PutResourcePolicyRequest
|
|
52
|
-
* ResourceArn: "STRING_VALUE", // required
|
|
53
|
-
* Policy: "STRING_VALUE", // required
|
|
54
|
-
* RevisionId: "STRING_VALUE",
|
|
55
|
-
* };
|
|
56
|
-
* const command = new PutResourcePolicyCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* // { // PutResourcePolicyResponse
|
|
59
|
-
* // Policy: "STRING_VALUE",
|
|
60
|
-
* // RevisionId: "STRING_VALUE",
|
|
61
|
-
* // };
|
|
62
|
-
*
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
66
|
-
* @returns {@link PutResourcePolicyCommandOutput}
|
|
67
|
-
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link InvalidParameterValueException} (client fault)
|
|
72
|
-
* <p>One of the parameters in the request is not valid.</p>
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link PolicyLengthExceededException} (client fault)
|
|
75
|
-
* <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>
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link PreconditionFailedException} (client fault)
|
|
78
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
79
|
-
* <ul>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>
|
|
82
|
-
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
83
|
-
* </li>
|
|
84
|
-
* <li>
|
|
85
|
-
* <p>
|
|
86
|
-
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* </ul>
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link PublicPolicyException} (client fault)
|
|
91
|
-
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
92
|
-
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
93
|
-
* to allow public policies.</p>
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link ResourceConflictException} (client fault)
|
|
96
|
-
* <p>The resource already exists, or another operation is in progress.</p>
|
|
97
|
-
*
|
|
98
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
|
-
* <p>The resource specified in the request does not exist.</p>
|
|
100
|
-
*
|
|
101
|
-
* @throws {@link ServiceException} (server fault)
|
|
102
|
-
* <p>The Lambda service encountered an internal error.</p>
|
|
103
|
-
*
|
|
104
|
-
* @throws {@link TooManyRequestsException} (client fault)
|
|
105
|
-
* <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>
|
|
106
|
-
*
|
|
107
|
-
* @throws {@link LambdaServiceException}
|
|
108
|
-
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
109
|
-
*
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
113
|
-
/** @internal type navigation helper, not in runtime. */
|
|
114
|
-
protected static __types: {
|
|
115
|
-
api: {
|
|
116
|
-
input: PutResourcePolicyRequest;
|
|
117
|
-
output: PutResourcePolicyResponse;
|
|
118
|
-
};
|
|
119
|
-
sdk: {
|
|
120
|
-
input: PutResourcePolicyCommandInput;
|
|
121
|
-
output: PutResourcePolicyCommandOutput;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
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 {
|
|
36
|
-
protected static __types: {
|
|
37
|
-
api: {
|
|
38
|
-
input: DeleteResourcePolicyRequest;
|
|
39
|
-
output: {};
|
|
40
|
-
};
|
|
41
|
-
sdk: {
|
|
42
|
-
input: DeleteResourcePolicyCommandInput;
|
|
43
|
-
output: DeleteResourcePolicyCommandOutput;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 {
|
|
41
|
-
protected static __types: {
|
|
42
|
-
api: {
|
|
43
|
-
input: GetPublicAccessBlockConfigRequest;
|
|
44
|
-
output: GetPublicAccessBlockConfigResponse;
|
|
45
|
-
};
|
|
46
|
-
sdk: {
|
|
47
|
-
input: GetPublicAccessBlockConfigCommandInput;
|
|
48
|
-
output: GetPublicAccessBlockConfigCommandOutput;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 {
|
|
41
|
-
protected static __types: {
|
|
42
|
-
api: {
|
|
43
|
-
input: GetResourcePolicyRequest;
|
|
44
|
-
output: GetResourcePolicyResponse;
|
|
45
|
-
};
|
|
46
|
-
sdk: {
|
|
47
|
-
input: GetResourcePolicyCommandInput;
|
|
48
|
-
output: GetResourcePolicyCommandOutput;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 {
|
|
41
|
-
protected static __types: {
|
|
42
|
-
api: {
|
|
43
|
-
input: PutPublicAccessBlockConfigRequest;
|
|
44
|
-
output: PutPublicAccessBlockConfigResponse;
|
|
45
|
-
};
|
|
46
|
-
sdk: {
|
|
47
|
-
input: PutPublicAccessBlockConfigCommandInput;
|
|
48
|
-
output: PutPublicAccessBlockConfigCommandOutput;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 {
|
|
41
|
-
protected static __types: {
|
|
42
|
-
api: {
|
|
43
|
-
input: PutResourcePolicyRequest;
|
|
44
|
-
output: PutResourcePolicyResponse;
|
|
45
|
-
};
|
|
46
|
-
sdk: {
|
|
47
|
-
input: PutResourcePolicyCommandInput;
|
|
48
|
-
output: PutResourcePolicyCommandOutput;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|