@aws-sdk/client-ec2 3.1034.0 → 3.1036.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 +14 -0
- package/dist-cjs/index.js +33 -0
- package/dist-cjs/schemas/schemas_0.js +110 -57
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/GetManagedResourceVisibilityCommand.js +16 -0
- package/dist-es/commands/ModifyManagedResourceVisibilityCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +74 -21
- package/dist-types/EC2.d.ts +16 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CopyVolumesCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -0
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +2 -0
- package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
- package/dist-types/commands/GetManagedResourceVisibilityCommand.d.ts +77 -0
- package/dist-types/commands/ListVolumesInRecycleBinCommand.d.ts +1 -0
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +80 -0
- package/dist-types/commands/ModifyRouteServerCommand.d.ts +2 -1
- package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +6 -0
- package/dist-types/models/models_4.d.ts +31 -0
- package/dist-types/models/models_5.d.ts +22 -1
- package/dist-types/models/models_6.d.ts +66 -137
- package/dist-types/models/models_7.d.ts +136 -1
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/EC2.d.ts +36 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetManagedResourceVisibilityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +5 -0
- package/dist-types/ts3.4/models/models_5.d.ts +5 -0
- package/dist-types/ts3.4/models/models_6.d.ts +17 -26
- package/dist-types/ts3.4/models/models_7.d.ts +26 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +16 -16
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import type { GetManagedResourceVisibilityRequest, GetManagedResourceVisibilityResult } from "../models/models_6";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetManagedResourceVisibilityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetManagedResourceVisibilityCommandInput extends GetManagedResourceVisibilityRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetManagedResourceVisibilityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetManagedResourceVisibilityCommandOutput extends GetManagedResourceVisibilityResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetManagedResourceVisibilityCommand_base: {
|
|
25
|
+
new (input: GetManagedResourceVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedResourceVisibilityCommandInput, GetManagedResourceVisibilityCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetManagedResourceVisibilityCommandInput]): import("@smithy/smithy-client").CommandImpl<GetManagedResourceVisibilityCommandInput, GetManagedResourceVisibilityCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the managed resource visibility configuration for the account. The response
|
|
31
|
+
* indicates whether managed resources are hidden or visible by default.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { EC2Client, GetManagedResourceVisibilityCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
36
|
+
* // const { EC2Client, GetManagedResourceVisibilityCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
37
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
38
|
+
* const config = {}; // type is EC2ClientConfig
|
|
39
|
+
* const client = new EC2Client(config);
|
|
40
|
+
* const input = { // GetManagedResourceVisibilityRequest
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetManagedResourceVisibilityCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetManagedResourceVisibilityResult
|
|
46
|
+
* // Visibility: { // ManagedResourceVisibilitySettings
|
|
47
|
+
* // DefaultVisibility: "hidden" || "visible",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetManagedResourceVisibilityCommandInput - {@link GetManagedResourceVisibilityCommandInput}
|
|
54
|
+
* @returns {@link GetManagedResourceVisibilityCommandOutput}
|
|
55
|
+
* @see {@link GetManagedResourceVisibilityCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetManagedResourceVisibilityCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link EC2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class GetManagedResourceVisibilityCommand extends GetManagedResourceVisibilityCommand_base {
|
|
66
|
+
/** @internal type navigation helper, not in runtime. */
|
|
67
|
+
protected static __types: {
|
|
68
|
+
api: {
|
|
69
|
+
input: GetManagedResourceVisibilityRequest;
|
|
70
|
+
output: GetManagedResourceVisibilityResult;
|
|
71
|
+
};
|
|
72
|
+
sdk: {
|
|
73
|
+
input: GetManagedResourceVisibilityCommandInput;
|
|
74
|
+
output: GetManagedResourceVisibilityCommandOutput;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -63,6 +63,7 @@ declare const ListVolumesInRecycleBinCommand_base: {
|
|
|
63
63
|
* // Operator: { // OperatorResponse
|
|
64
64
|
* // Managed: true || false,
|
|
65
65
|
* // Principal: "STRING_VALUE",
|
|
66
|
+
* // HiddenByDefault: true || false,
|
|
66
67
|
* // },
|
|
67
68
|
* // CreateTime: new Date("TIMESTAMP"),
|
|
68
69
|
* // RecycleBinEnterTime: new Date("TIMESTAMP"),
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import type { ModifyManagedResourceVisibilityRequest, ModifyManagedResourceVisibilityResult } from "../models/models_6";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ModifyManagedResourceVisibilityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ModifyManagedResourceVisibilityCommandInput extends ModifyManagedResourceVisibilityRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ModifyManagedResourceVisibilityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ModifyManagedResourceVisibilityCommandOutput extends ModifyManagedResourceVisibilityResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ModifyManagedResourceVisibilityCommand_base: {
|
|
25
|
+
new (input: ModifyManagedResourceVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyManagedResourceVisibilityCommandInput, ModifyManagedResourceVisibilityCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ModifyManagedResourceVisibilityCommandInput]): import("@smithy/smithy-client").CommandImpl<ModifyManagedResourceVisibilityCommandInput, ModifyManagedResourceVisibilityCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modifies the managed resource visibility configuration for the account. Use this
|
|
31
|
+
* operation to control whether managed resources are hidden or visible by default.
|
|
32
|
+
* Visibility settings are account-wide and affect all IAM principals uniformly. Hidden
|
|
33
|
+
* resources remain fully operational and billable.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { EC2Client, ModifyManagedResourceVisibilityCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
38
|
+
* // const { EC2Client, ModifyManagedResourceVisibilityCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
40
|
+
* const config = {}; // type is EC2ClientConfig
|
|
41
|
+
* const client = new EC2Client(config);
|
|
42
|
+
* const input = { // ModifyManagedResourceVisibilityRequest
|
|
43
|
+
* DryRun: true || false,
|
|
44
|
+
* DefaultVisibility: "hidden" || "visible",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ModifyManagedResourceVisibilityCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ModifyManagedResourceVisibilityResult
|
|
49
|
+
* // Visibility: { // ManagedResourceVisibilitySettings
|
|
50
|
+
* // DefaultVisibility: "hidden" || "visible",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ModifyManagedResourceVisibilityCommandInput - {@link ModifyManagedResourceVisibilityCommandInput}
|
|
57
|
+
* @returns {@link ModifyManagedResourceVisibilityCommandOutput}
|
|
58
|
+
* @see {@link ModifyManagedResourceVisibilityCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ModifyManagedResourceVisibilityCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link EC2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class ModifyManagedResourceVisibilityCommand extends ModifyManagedResourceVisibilityCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: ModifyManagedResourceVisibilityRequest;
|
|
73
|
+
output: ModifyManagedResourceVisibilityResult;
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: ModifyManagedResourceVisibilityCommandInput;
|
|
77
|
+
output: ModifyManagedResourceVisibilityCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { ModifyRouteServerRequest
|
|
4
|
+
import type { ModifyRouteServerRequest } from "../models/models_6";
|
|
5
|
+
import type { ModifyRouteServerResult } from "../models/models_7";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import type { ModifySecurityGroupRulesRequest, ModifySecurityGroupRulesResult } from "../models/
|
|
4
|
+
import type { ModifySecurityGroupRulesRequest, ModifySecurityGroupRulesResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -80,6 +80,11 @@ declare const ModifyVolumeCommand_base: {
|
|
|
80
80
|
* // Progress: Number("long"),
|
|
81
81
|
* // StartTime: new Date("TIMESTAMP"),
|
|
82
82
|
* // EndTime: new Date("TIMESTAMP"),
|
|
83
|
+
* // Operator: { // OperatorResponse
|
|
84
|
+
* // Managed: true || false,
|
|
85
|
+
* // Principal: "STRING_VALUE",
|
|
86
|
+
* // HiddenByDefault: true || false,
|
|
87
|
+
* // },
|
|
83
88
|
* // },
|
|
84
89
|
* // };
|
|
85
90
|
*
|
|
@@ -345,6 +345,7 @@ declare const RunInstancesCommand_base: {
|
|
|
345
345
|
* // Operator: { // OperatorResponse
|
|
346
346
|
* // Managed: true || false,
|
|
347
347
|
* // Principal: "STRING_VALUE",
|
|
348
|
+
* // HiddenByDefault: true || false,
|
|
348
349
|
* // },
|
|
349
350
|
* // EbsCardIndex: Number("int"),
|
|
350
351
|
* // },
|
|
@@ -454,6 +455,7 @@ declare const RunInstancesCommand_base: {
|
|
|
454
455
|
* // Operator: {
|
|
455
456
|
* // Managed: true || false,
|
|
456
457
|
* // Principal: "STRING_VALUE",
|
|
458
|
+
* // HiddenByDefault: true || false,
|
|
457
459
|
* // },
|
|
458
460
|
* // },
|
|
459
461
|
* // ],
|
|
@@ -565,6 +565,7 @@ export * from "./GetIpamResourceCidrsCommand";
|
|
|
565
565
|
export * from "./GetLaunchTemplateDataCommand";
|
|
566
566
|
export * from "./GetManagedPrefixListAssociationsCommand";
|
|
567
567
|
export * from "./GetManagedPrefixListEntriesCommand";
|
|
568
|
+
export * from "./GetManagedResourceVisibilityCommand";
|
|
568
569
|
export * from "./GetNetworkInsightsAccessScopeAnalysisFindingsCommand";
|
|
569
570
|
export * from "./GetNetworkInsightsAccessScopeContentCommand";
|
|
570
571
|
export * from "./GetPasswordDataCommand";
|
|
@@ -638,6 +639,7 @@ export * from "./ModifyIpamScopeCommand";
|
|
|
638
639
|
export * from "./ModifyLaunchTemplateCommand";
|
|
639
640
|
export * from "./ModifyLocalGatewayRouteCommand";
|
|
640
641
|
export * from "./ModifyManagedPrefixListCommand";
|
|
642
|
+
export * from "./ModifyManagedResourceVisibilityCommand";
|
|
641
643
|
export * from "./ModifyNetworkInterfaceAttributeCommand";
|
|
642
644
|
export * from "./ModifyPrivateDnsNameOptionsCommand";
|
|
643
645
|
export * from "./ModifyPublicIpDnsNameOptionsCommand";
|
|
@@ -7150,6 +7150,18 @@ export declare const IpamManagementState: {
|
|
|
7150
7150
|
* @public
|
|
7151
7151
|
*/
|
|
7152
7152
|
export type IpamManagementState = (typeof IpamManagementState)[keyof typeof IpamManagementState];
|
|
7153
|
+
/**
|
|
7154
|
+
* @public
|
|
7155
|
+
* @enum
|
|
7156
|
+
*/
|
|
7157
|
+
export declare const ManagedResourceDefaultVisibility: {
|
|
7158
|
+
readonly hidden: "hidden";
|
|
7159
|
+
readonly visible: "visible";
|
|
7160
|
+
};
|
|
7161
|
+
/**
|
|
7162
|
+
* @public
|
|
7163
|
+
*/
|
|
7164
|
+
export type ManagedResourceDefaultVisibility = (typeof ManagedResourceDefaultVisibility)[keyof typeof ManagedResourceDefaultVisibility];
|
|
7153
7165
|
/**
|
|
7154
7166
|
* @public
|
|
7155
7167
|
* @enum
|
|
@@ -6950,6 +6950,12 @@ export interface OperatorResponse {
|
|
|
6950
6950
|
* @public
|
|
6951
6951
|
*/
|
|
6952
6952
|
Principal?: string | undefined;
|
|
6953
|
+
/**
|
|
6954
|
+
* <p>If <code>true</code>, the resource is hidden by default based on the managed resource
|
|
6955
|
+
* visibility settings for the account.</p>
|
|
6956
|
+
* @public
|
|
6957
|
+
*/
|
|
6958
|
+
HiddenByDefault?: boolean | undefined;
|
|
6953
6959
|
}
|
|
6954
6960
|
/**
|
|
6955
6961
|
* <p>Describes a volume.</p>
|
|
@@ -509,6 +509,13 @@ export interface DescribeInstancesRequest {
|
|
|
509
509
|
* @public
|
|
510
510
|
*/
|
|
511
511
|
InstanceIds?: string[] | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set
|
|
514
|
+
* to <code>true</code>, the output includes resources that are managed by Amazon Web Services services,
|
|
515
|
+
* even if managed resource visibility is set to hidden.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
IncludeManagedResources?: boolean | undefined;
|
|
512
519
|
/**
|
|
513
520
|
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
514
521
|
* request, and provides an error response. If you have the required permissions, the error response is
|
|
@@ -2647,6 +2654,13 @@ export interface DescribeInstanceStatusRequest {
|
|
|
2647
2654
|
* @public
|
|
2648
2655
|
*/
|
|
2649
2656
|
NextToken?: string | undefined;
|
|
2657
|
+
/**
|
|
2658
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set
|
|
2659
|
+
* to <code>true</code>, the output includes resources that are managed by Amazon Web Services services,
|
|
2660
|
+
* even if managed resource visibility is set to hidden.</p>
|
|
2661
|
+
* @public
|
|
2662
|
+
*/
|
|
2663
|
+
IncludeManagedResources?: boolean | undefined;
|
|
2650
2664
|
/**
|
|
2651
2665
|
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
2652
2666
|
* request, and provides an error response. If you have the required permissions, the error response is
|
|
@@ -5355,6 +5369,11 @@ export interface DescribeLaunchTemplatesRequest {
|
|
|
5355
5369
|
* @public
|
|
5356
5370
|
*/
|
|
5357
5371
|
MaxResults?: number | undefined;
|
|
5372
|
+
/**
|
|
5373
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set to <code>true</code>, the output includes resources that are managed by Amazon Web Services services, even if managed resource visibility is set to hidden.</p>
|
|
5374
|
+
* @public
|
|
5375
|
+
*/
|
|
5376
|
+
IncludeManagedResources?: boolean | undefined;
|
|
5358
5377
|
}
|
|
5359
5378
|
/**
|
|
5360
5379
|
* @public
|
|
@@ -5525,6 +5544,11 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
5525
5544
|
* @public
|
|
5526
5545
|
*/
|
|
5527
5546
|
ResolveAlias?: boolean | undefined;
|
|
5547
|
+
/**
|
|
5548
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set to <code>true</code>, the output includes resources that are managed by Amazon Web Services services, even if managed resource visibility is set to hidden.</p>
|
|
5549
|
+
* @public
|
|
5550
|
+
*/
|
|
5551
|
+
IncludeManagedResources?: boolean | undefined;
|
|
5528
5552
|
}
|
|
5529
5553
|
/**
|
|
5530
5554
|
* @public
|
|
@@ -7223,6 +7247,13 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
7223
7247
|
* @public
|
|
7224
7248
|
*/
|
|
7225
7249
|
MaxResults?: number | undefined;
|
|
7250
|
+
/**
|
|
7251
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set
|
|
7252
|
+
* to <code>true</code>, the output includes resources that are managed by Amazon Web Services services,
|
|
7253
|
+
* even if managed resource visibility is set to hidden.</p>
|
|
7254
|
+
* @public
|
|
7255
|
+
*/
|
|
7256
|
+
IncludeManagedResources?: boolean | undefined;
|
|
7226
7257
|
/**
|
|
7227
7258
|
* <p>Checks whether you have the required permissions for the action, without actually
|
|
7228
7259
|
* making the request, and provides an error response. If you have the required
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityTenancy, ClientCertificateRevocationListStatusCode, Comparison, DeviceTrustProviderType, DiskImageFormat, DnsNameState, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, ImageBlockPublicAccessDisabledState, ImageBlockPublicAccessEnabledState, IngestionStatus, InitializationType, InternetGatewayBlockMode, IpAddressType, ManagedBy, Metric, MetricType, PayerResponsibility, PeriodType, ReservationEndDateType, ReservationState, ReservationType, ResourceType, RouteServerPropagationState, SecurityGroupVpcAssociationState, ServiceConnectivityType, SnapshotBlockPublicAccessState, State, StatisticType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, UserTrustProviderType, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
|
|
2
|
-
import type { ActiveVpnTunnelStatus, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, RouteServerAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, Vpc, VpcCidrBlockAssociation, VpcEncryptionControl, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import type { ActiveVpnTunnelStatus, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, OperatorResponse, RouteServerAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, Vpc, VpcCidrBlockAssociation, VpcEncryptionControl, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
3
3
|
import type { ConnectionNotification, DnsEntry, ServiceConfiguration, ServiceTypeDetail, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import type { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter, ProductCode } from "./models_3";
|
|
5
5
|
import type { RegisteredInstance } from "./models_4";
|
|
@@ -1677,6 +1677,11 @@ export interface DescribeVolumesRequest {
|
|
|
1677
1677
|
* @public
|
|
1678
1678
|
*/
|
|
1679
1679
|
VolumeIds?: string[] | undefined;
|
|
1680
|
+
/**
|
|
1681
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set to <code>true</code>, the output includes resources that are managed by Amazon Web Services services, even if managed resource visibility is set to hidden.</p>
|
|
1682
|
+
* @public
|
|
1683
|
+
*/
|
|
1684
|
+
IncludeManagedResources?: boolean | undefined;
|
|
1680
1685
|
/**
|
|
1681
1686
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
1682
1687
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -1986,6 +1991,12 @@ export interface VolumeModification {
|
|
|
1986
1991
|
* @public
|
|
1987
1992
|
*/
|
|
1988
1993
|
EndTime?: Date | undefined;
|
|
1994
|
+
/**
|
|
1995
|
+
* <p>Describes whether the resource is managed by a service provider and, if so, describes
|
|
1996
|
+
* the service provider that manages it.</p>
|
|
1997
|
+
* @public
|
|
1998
|
+
*/
|
|
1999
|
+
Operator?: OperatorResponse | undefined;
|
|
1989
2000
|
}
|
|
1990
2001
|
/**
|
|
1991
2002
|
* @public
|
|
@@ -2026,6 +2037,11 @@ export interface DescribeVolumeStatusRequest {
|
|
|
2026
2037
|
* @public
|
|
2027
2038
|
*/
|
|
2028
2039
|
VolumeIds?: string[] | undefined;
|
|
2040
|
+
/**
|
|
2041
|
+
* <p>Indicates whether to include managed resources in the output. If this parameter is set to <code>true</code>, the output includes resources that are managed by Amazon Web Services services, even if managed resource visibility is set to hidden.</p>
|
|
2042
|
+
* @public
|
|
2043
|
+
*/
|
|
2044
|
+
IncludeManagedResources?: boolean | undefined;
|
|
2029
2045
|
/**
|
|
2030
2046
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
2031
2047
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -2325,6 +2341,11 @@ export interface VolumeStatusItem {
|
|
|
2325
2341
|
* @public
|
|
2326
2342
|
*/
|
|
2327
2343
|
AvailabilityZoneId?: string | undefined;
|
|
2344
|
+
/**
|
|
2345
|
+
* <p>The service provider that manages the resource.</p>
|
|
2346
|
+
* @public
|
|
2347
|
+
*/
|
|
2348
|
+
Operator?: OperatorResponse | undefined;
|
|
2328
2349
|
}
|
|
2329
2350
|
/**
|
|
2330
2351
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityReservationPreference, CapacityReservationState, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
|
|
1
|
+
import type { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityReservationPreference, CapacityReservationState, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
|
|
2
2
|
import type { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, EnaSrdSpecification, InstanceEventWindow, InterruptibleCapacityAllocation, InterruptionInfo, IpamPoolAllocation, OperatorResponse, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayConfigurationInputStructure, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
|
|
3
|
-
import type { AttributeValue, CapacityReservationTarget, ConnectionTrackingSpecificationRequest, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData,
|
|
3
|
+
import type { AttributeValue, CapacityReservationTarget, ConnectionTrackingSpecificationRequest, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacitySpecificationRequest } from "./models_1";
|
|
4
4
|
import type { SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
|
|
5
5
|
import type { AttributeBooleanValue, ConversionTask, Filter, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, SnapshotDetail, SnapshotTaskDetail } from "./models_3";
|
|
6
6
|
import type { InstanceMetadataOptionsResponse, InstanceStatusEvent, ReservedInstancesConfiguration } from "./models_4";
|
|
@@ -2751,6 +2751,42 @@ export interface GetManagedPrefixListEntriesResult {
|
|
|
2751
2751
|
*/
|
|
2752
2752
|
NextToken?: string | undefined;
|
|
2753
2753
|
}
|
|
2754
|
+
/**
|
|
2755
|
+
* @public
|
|
2756
|
+
*/
|
|
2757
|
+
export interface GetManagedResourceVisibilityRequest {
|
|
2758
|
+
/**
|
|
2759
|
+
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
2760
|
+
* request, and provides an error response. If you have the required permissions, the error response is
|
|
2761
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
2762
|
+
* @public
|
|
2763
|
+
*/
|
|
2764
|
+
DryRun?: boolean | undefined;
|
|
2765
|
+
}
|
|
2766
|
+
/**
|
|
2767
|
+
* <p>Describes the managed resource visibility settings for the account.</p>
|
|
2768
|
+
* @public
|
|
2769
|
+
*/
|
|
2770
|
+
export interface ManagedResourceVisibilitySettings {
|
|
2771
|
+
/**
|
|
2772
|
+
* <p>The default visibility setting for managed resources. A value of
|
|
2773
|
+
* <code>hidden</code> indicates that managed resources are not included in Describe
|
|
2774
|
+
* operation responses by default. A value of <code>visible</code> indicates that managed
|
|
2775
|
+
* resources are included by default.</p>
|
|
2776
|
+
* @public
|
|
2777
|
+
*/
|
|
2778
|
+
DefaultVisibility?: ManagedResourceDefaultVisibility | undefined;
|
|
2779
|
+
}
|
|
2780
|
+
/**
|
|
2781
|
+
* @public
|
|
2782
|
+
*/
|
|
2783
|
+
export interface GetManagedResourceVisibilityResult {
|
|
2784
|
+
/**
|
|
2785
|
+
* <p>The managed resource visibility settings for the account.</p>
|
|
2786
|
+
* @public
|
|
2787
|
+
*/
|
|
2788
|
+
Visibility?: ManagedResourceVisibilitySettings | undefined;
|
|
2789
|
+
}
|
|
2754
2790
|
/**
|
|
2755
2791
|
* @public
|
|
2756
2792
|
*/
|
|
@@ -8375,6 +8411,34 @@ export interface ModifyManagedPrefixListResult {
|
|
|
8375
8411
|
*/
|
|
8376
8412
|
PrefixList?: ManagedPrefixList | undefined;
|
|
8377
8413
|
}
|
|
8414
|
+
/**
|
|
8415
|
+
* @public
|
|
8416
|
+
*/
|
|
8417
|
+
export interface ModifyManagedResourceVisibilityRequest {
|
|
8418
|
+
/**
|
|
8419
|
+
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
8420
|
+
* request, and provides an error response. If you have the required permissions, the error response is
|
|
8421
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8422
|
+
* @public
|
|
8423
|
+
*/
|
|
8424
|
+
DryRun?: boolean | undefined;
|
|
8425
|
+
/**
|
|
8426
|
+
* <p>The default visibility setting for managed resources. Valid values:
|
|
8427
|
+
* <code>hidden</code> | <code>visible</code>.</p>
|
|
8428
|
+
* @public
|
|
8429
|
+
*/
|
|
8430
|
+
DefaultVisibility?: ManagedResourceDefaultVisibility | undefined;
|
|
8431
|
+
}
|
|
8432
|
+
/**
|
|
8433
|
+
* @public
|
|
8434
|
+
*/
|
|
8435
|
+
export interface ModifyManagedResourceVisibilityResult {
|
|
8436
|
+
/**
|
|
8437
|
+
* <p>The updated managed resource visibility settings for the account.</p>
|
|
8438
|
+
* @public
|
|
8439
|
+
*/
|
|
8440
|
+
Visibility?: ManagedResourceVisibilitySettings | undefined;
|
|
8441
|
+
}
|
|
8378
8442
|
/**
|
|
8379
8443
|
* <p>Describes an attachment change.</p>
|
|
8380
8444
|
* @public
|
|
@@ -8663,138 +8727,3 @@ export interface ModifyRouteServerRequest {
|
|
|
8663
8727
|
*/
|
|
8664
8728
|
DryRun?: boolean | undefined;
|
|
8665
8729
|
}
|
|
8666
|
-
/**
|
|
8667
|
-
* @public
|
|
8668
|
-
*/
|
|
8669
|
-
export interface ModifyRouteServerResult {
|
|
8670
|
-
/**
|
|
8671
|
-
* <p>Information about the modified route server.</p>
|
|
8672
|
-
* @public
|
|
8673
|
-
*/
|
|
8674
|
-
RouteServer?: RouteServer | undefined;
|
|
8675
|
-
}
|
|
8676
|
-
/**
|
|
8677
|
-
* <p>Describes a security group rule.</p>
|
|
8678
|
-
* <p>You must specify exactly one of the following parameters, based on the rule type:</p>
|
|
8679
|
-
* <ul>
|
|
8680
|
-
* <li>
|
|
8681
|
-
* <p>CidrIpv4</p>
|
|
8682
|
-
* </li>
|
|
8683
|
-
* <li>
|
|
8684
|
-
* <p>CidrIpv6</p>
|
|
8685
|
-
* </li>
|
|
8686
|
-
* <li>
|
|
8687
|
-
* <p>PrefixListId</p>
|
|
8688
|
-
* </li>
|
|
8689
|
-
* <li>
|
|
8690
|
-
* <p>ReferencedGroupId</p>
|
|
8691
|
-
* </li>
|
|
8692
|
-
* </ul>
|
|
8693
|
-
* <note>
|
|
8694
|
-
* <p>
|
|
8695
|
-
* Amazon Web Services <a href="https://en.wikipedia.org/wiki/Canonicalization">canonicalizes</a> IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block,
|
|
8696
|
-
* Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
|
8697
|
-
* return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the
|
|
8698
|
-
* non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized
|
|
8699
|
-
* form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.</p>
|
|
8700
|
-
* </note>
|
|
8701
|
-
* <p>When you modify a rule, you cannot change the rule type. For example, if the rule
|
|
8702
|
-
* uses an IPv4 address range, you must use <code>CidrIpv4</code> to specify a new IPv4
|
|
8703
|
-
* address range.</p>
|
|
8704
|
-
* @public
|
|
8705
|
-
*/
|
|
8706
|
-
export interface SecurityGroupRuleRequest {
|
|
8707
|
-
/**
|
|
8708
|
-
* <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>,
|
|
8709
|
-
* <code>icmpv6</code>) or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>). </p>
|
|
8710
|
-
* <p>Use <code>-1</code> to specify all protocols.</p>
|
|
8711
|
-
* @public
|
|
8712
|
-
*/
|
|
8713
|
-
IpProtocol?: string | undefined;
|
|
8714
|
-
/**
|
|
8715
|
-
* <p>If the protocol is TCP or UDP, this is the start of the port range.
|
|
8716
|
-
* If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
|
|
8717
|
-
* @public
|
|
8718
|
-
*/
|
|
8719
|
-
FromPort?: number | undefined;
|
|
8720
|
-
/**
|
|
8721
|
-
* <p>If the protocol is TCP or UDP, this is the end of the port range.
|
|
8722
|
-
* If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).
|
|
8723
|
-
* If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).</p>
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
ToPort?: number | undefined;
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length. </p>
|
|
8729
|
-
* @public
|
|
8730
|
-
*/
|
|
8731
|
-
CidrIpv4?: string | undefined;
|
|
8732
|
-
/**
|
|
8733
|
-
* <p>The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.</p>
|
|
8734
|
-
* @public
|
|
8735
|
-
*/
|
|
8736
|
-
CidrIpv6?: string | undefined;
|
|
8737
|
-
/**
|
|
8738
|
-
* <p>The ID of the prefix list.</p>
|
|
8739
|
-
* @public
|
|
8740
|
-
*/
|
|
8741
|
-
PrefixListId?: string | undefined;
|
|
8742
|
-
/**
|
|
8743
|
-
* <p>The ID of the security group that is referenced in the security group rule.</p>
|
|
8744
|
-
* @public
|
|
8745
|
-
*/
|
|
8746
|
-
ReferencedGroupId?: string | undefined;
|
|
8747
|
-
/**
|
|
8748
|
-
* <p>The description of the security group rule.</p>
|
|
8749
|
-
* @public
|
|
8750
|
-
*/
|
|
8751
|
-
Description?: string | undefined;
|
|
8752
|
-
}
|
|
8753
|
-
/**
|
|
8754
|
-
* <p>Describes an update to a security group rule.</p>
|
|
8755
|
-
* @public
|
|
8756
|
-
*/
|
|
8757
|
-
export interface SecurityGroupRuleUpdate {
|
|
8758
|
-
/**
|
|
8759
|
-
* <p>The ID of the security group rule.</p>
|
|
8760
|
-
* @public
|
|
8761
|
-
*/
|
|
8762
|
-
SecurityGroupRuleId: string | undefined;
|
|
8763
|
-
/**
|
|
8764
|
-
* <p>Information about the security group rule.</p>
|
|
8765
|
-
* @public
|
|
8766
|
-
*/
|
|
8767
|
-
SecurityGroupRule?: SecurityGroupRuleRequest | undefined;
|
|
8768
|
-
}
|
|
8769
|
-
/**
|
|
8770
|
-
* @public
|
|
8771
|
-
*/
|
|
8772
|
-
export interface ModifySecurityGroupRulesRequest {
|
|
8773
|
-
/**
|
|
8774
|
-
* <p>The ID of the security group.</p>
|
|
8775
|
-
* @public
|
|
8776
|
-
*/
|
|
8777
|
-
GroupId: string | undefined;
|
|
8778
|
-
/**
|
|
8779
|
-
* <p>Information about the security group properties to update.</p>
|
|
8780
|
-
* @public
|
|
8781
|
-
*/
|
|
8782
|
-
SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined;
|
|
8783
|
-
/**
|
|
8784
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8785
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8786
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8787
|
-
* @public
|
|
8788
|
-
*/
|
|
8789
|
-
DryRun?: boolean | undefined;
|
|
8790
|
-
}
|
|
8791
|
-
/**
|
|
8792
|
-
* @public
|
|
8793
|
-
*/
|
|
8794
|
-
export interface ModifySecurityGroupRulesResult {
|
|
8795
|
-
/**
|
|
8796
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
|
|
8797
|
-
* @public
|
|
8798
|
-
*/
|
|
8799
|
-
Return?: boolean | undefined;
|
|
8800
|
-
}
|