@aws-sdk/client-ec2 3.1034.0 → 3.1035.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.
Files changed (61) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +33 -0
  3. package/dist-cjs/schemas/schemas_0.js +110 -57
  4. package/dist-es/EC2.js +4 -0
  5. package/dist-es/commands/GetManagedResourceVisibilityCommand.js +16 -0
  6. package/dist-es/commands/ModifyManagedResourceVisibilityCommand.js +16 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/enums.js +4 -0
  9. package/dist-es/schemas/schemas_0.js +74 -21
  10. package/dist-types/EC2.d.ts +16 -0
  11. package/dist-types/EC2Client.d.ts +4 -2
  12. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
  15. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -0
  16. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -0
  17. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -0
  22. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
  23. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -0
  25. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -0
  27. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -0
  28. package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -0
  29. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
  30. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
  31. package/dist-types/commands/GetManagedResourceVisibilityCommand.d.ts +77 -0
  32. package/dist-types/commands/ListVolumesInRecycleBinCommand.d.ts +1 -0
  33. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -0
  34. package/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +80 -0
  35. package/dist-types/commands/ModifyRouteServerCommand.d.ts +2 -1
  36. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  37. package/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
  38. package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
  39. package/dist-types/commands/index.d.ts +2 -0
  40. package/dist-types/models/enums.d.ts +12 -0
  41. package/dist-types/models/models_0.d.ts +6 -0
  42. package/dist-types/models/models_4.d.ts +31 -0
  43. package/dist-types/models/models_5.d.ts +22 -1
  44. package/dist-types/models/models_6.d.ts +66 -137
  45. package/dist-types/models/models_7.d.ts +136 -1
  46. package/dist-types/schemas/schemas_0.d.ts +7 -0
  47. package/dist-types/ts3.4/EC2.d.ts +36 -0
  48. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  49. package/dist-types/ts3.4/commands/GetManagedResourceVisibilityCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  54. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_4.d.ts +5 -0
  57. package/dist-types/ts3.4/models/models_5.d.ts +5 -0
  58. package/dist-types/ts3.4/models/models_6.d.ts +17 -26
  59. package/dist-types/ts3.4/models/models_7.d.ts +26 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  61. package/package.json +5 -5
@@ -1,11 +1,146 @@
1
1
  import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsSupportValue, EncryptionSupportOptionValue, ExcessCapacityTerminationPolicy, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, Ipv6SupportValue, MarketType, MembershipType, NestedVirtualizationSpecification, OperationType, PayerResponsibility, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, SecurityGroupReferencingSupportValue, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAttachmentResourceType, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue } from "./enums";
2
2
  import type { AddedPrincipal, AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VpcEncryptionControl } from "./models_0";
3
- import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement } from "./models_1";
3
+ import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement, RouteServer } from "./models_1";
4
4
  import type { DnsOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { AttributeBooleanValue, Byoasn, CapacityBlock, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
6
  import type { CreateVolumePermission, InstanceNetworkInterfaceSpecification, InstanceState, LaunchTemplateConfig, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
7
7
  import type { CapacityManagerMonitoredTagKey, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
8
  import type { CapacityReservationSpecification, Purchase } from "./models_6";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface ModifyRouteServerResult {
13
+ /**
14
+ * <p>Information about the modified route server.</p>
15
+ * @public
16
+ */
17
+ RouteServer?: RouteServer | undefined;
18
+ }
19
+ /**
20
+ * <p>Describes a security group rule.</p>
21
+ * <p>You must specify exactly one of the following parameters, based on the rule type:</p>
22
+ * <ul>
23
+ * <li>
24
+ * <p>CidrIpv4</p>
25
+ * </li>
26
+ * <li>
27
+ * <p>CidrIpv6</p>
28
+ * </li>
29
+ * <li>
30
+ * <p>PrefixListId</p>
31
+ * </li>
32
+ * <li>
33
+ * <p>ReferencedGroupId</p>
34
+ * </li>
35
+ * </ul>
36
+ * <note>
37
+ * <p>
38
+ * 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,
39
+ * Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will
40
+ * return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the
41
+ * non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized
42
+ * form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.</p>
43
+ * </note>
44
+ * <p>When you modify a rule, you cannot change the rule type. For example, if the rule
45
+ * uses an IPv4 address range, you must use <code>CidrIpv4</code> to specify a new IPv4
46
+ * address range.</p>
47
+ * @public
48
+ */
49
+ export interface SecurityGroupRuleRequest {
50
+ /**
51
+ * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>,
52
+ * <code>icmpv6</code>) or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>). </p>
53
+ * <p>Use <code>-1</code> to specify all protocols.</p>
54
+ * @public
55
+ */
56
+ IpProtocol?: string | undefined;
57
+ /**
58
+ * <p>If the protocol is TCP or UDP, this is the start of the port range.
59
+ * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
60
+ * @public
61
+ */
62
+ FromPort?: number | undefined;
63
+ /**
64
+ * <p>If the protocol is TCP or UDP, this is the end of the port range.
65
+ * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).
66
+ * If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).</p>
67
+ * @public
68
+ */
69
+ ToPort?: number | undefined;
70
+ /**
71
+ * <p>The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length. </p>
72
+ * @public
73
+ */
74
+ CidrIpv4?: string | undefined;
75
+ /**
76
+ * <p>The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.</p>
77
+ * @public
78
+ */
79
+ CidrIpv6?: string | undefined;
80
+ /**
81
+ * <p>The ID of the prefix list.</p>
82
+ * @public
83
+ */
84
+ PrefixListId?: string | undefined;
85
+ /**
86
+ * <p>The ID of the security group that is referenced in the security group rule.</p>
87
+ * @public
88
+ */
89
+ ReferencedGroupId?: string | undefined;
90
+ /**
91
+ * <p>The description of the security group rule.</p>
92
+ * @public
93
+ */
94
+ Description?: string | undefined;
95
+ }
96
+ /**
97
+ * <p>Describes an update to a security group rule.</p>
98
+ * @public
99
+ */
100
+ export interface SecurityGroupRuleUpdate {
101
+ /**
102
+ * <p>The ID of the security group rule.</p>
103
+ * @public
104
+ */
105
+ SecurityGroupRuleId: string | undefined;
106
+ /**
107
+ * <p>Information about the security group rule.</p>
108
+ * @public
109
+ */
110
+ SecurityGroupRule?: SecurityGroupRuleRequest | undefined;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface ModifySecurityGroupRulesRequest {
116
+ /**
117
+ * <p>The ID of the security group.</p>
118
+ * @public
119
+ */
120
+ GroupId: string | undefined;
121
+ /**
122
+ * <p>Information about the security group properties to update.</p>
123
+ * @public
124
+ */
125
+ SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined;
126
+ /**
127
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
128
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
129
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
130
+ * @public
131
+ */
132
+ DryRun?: boolean | undefined;
133
+ }
134
+ /**
135
+ * @public
136
+ */
137
+ export interface ModifySecurityGroupRulesResult {
138
+ /**
139
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
140
+ * @public
141
+ */
142
+ Return?: boolean | undefined;
143
+ }
9
144
  /**
10
145
  * <p>Describes modifications to the list of create volume permissions for a volume.</p>
11
146
  * @public
@@ -1368,6 +1368,8 @@ export declare var GetManagedPrefixListAssociationsRequest$: StaticStructureSche
1368
1368
  export declare var GetManagedPrefixListAssociationsResult$: StaticStructureSchema;
1369
1369
  export declare var GetManagedPrefixListEntriesRequest$: StaticStructureSchema;
1370
1370
  export declare var GetManagedPrefixListEntriesResult$: StaticStructureSchema;
1371
+ export declare var GetManagedResourceVisibilityRequest$: StaticStructureSchema;
1372
+ export declare var GetManagedResourceVisibilityResult$: StaticStructureSchema;
1371
1373
  export declare var GetNetworkInsightsAccessScopeAnalysisFindingsRequest$: StaticStructureSchema;
1372
1374
  export declare var GetNetworkInsightsAccessScopeAnalysisFindingsResult$: StaticStructureSchema;
1373
1375
  export declare var GetNetworkInsightsAccessScopeContentRequest$: StaticStructureSchema;
@@ -1680,6 +1682,7 @@ export declare var MacSystemIntegrityProtectionConfiguration$: StaticStructureSc
1680
1682
  export declare var MacSystemIntegrityProtectionConfigurationRequest$: StaticStructureSchema;
1681
1683
  export declare var MaintenanceDetails$: StaticStructureSchema;
1682
1684
  export declare var ManagedPrefixList$: StaticStructureSchema;
1685
+ export declare var ManagedResourceVisibilitySettings$: StaticStructureSchema;
1683
1686
  export declare var MediaAcceleratorInfo$: StaticStructureSchema;
1684
1687
  export declare var MediaDeviceInfo$: StaticStructureSchema;
1685
1688
  export declare var MediaDeviceMemoryInfo$: StaticStructureSchema;
@@ -1759,6 +1762,8 @@ export declare var ModifyLocalGatewayRouteRequest$: StaticStructureSchema;
1759
1762
  export declare var ModifyLocalGatewayRouteResult$: StaticStructureSchema;
1760
1763
  export declare var ModifyManagedPrefixListRequest$: StaticStructureSchema;
1761
1764
  export declare var ModifyManagedPrefixListResult$: StaticStructureSchema;
1765
+ export declare var ModifyManagedResourceVisibilityRequest$: StaticStructureSchema;
1766
+ export declare var ModifyManagedResourceVisibilityResult$: StaticStructureSchema;
1762
1767
  export declare var ModifyNetworkInterfaceAttributeRequest$: StaticStructureSchema;
1763
1768
  export declare var ModifyPrivateDnsNameOptionsRequest$: StaticStructureSchema;
1764
1769
  export declare var ModifyPrivateDnsNameOptionsResult$: StaticStructureSchema;
@@ -2947,6 +2952,7 @@ export declare var GetIpamResourceCidrs$: StaticOperationSchema;
2947
2952
  export declare var GetLaunchTemplateData$: StaticOperationSchema;
2948
2953
  export declare var GetManagedPrefixListAssociations$: StaticOperationSchema;
2949
2954
  export declare var GetManagedPrefixListEntries$: StaticOperationSchema;
2955
+ export declare var GetManagedResourceVisibility$: StaticOperationSchema;
2950
2956
  export declare var GetNetworkInsightsAccessScopeAnalysisFindings$: StaticOperationSchema;
2951
2957
  export declare var GetNetworkInsightsAccessScopeContent$: StaticOperationSchema;
2952
2958
  export declare var GetPasswordData$: StaticOperationSchema;
@@ -3020,6 +3026,7 @@ export declare var ModifyIpamScope$: StaticOperationSchema;
3020
3026
  export declare var ModifyLaunchTemplate$: StaticOperationSchema;
3021
3027
  export declare var ModifyLocalGatewayRoute$: StaticOperationSchema;
3022
3028
  export declare var ModifyManagedPrefixList$: StaticOperationSchema;
3029
+ export declare var ModifyManagedResourceVisibility$: StaticOperationSchema;
3023
3030
  export declare var ModifyNetworkInterfaceAttribute$: StaticOperationSchema;
3024
3031
  export declare var ModifyPrivateDnsNameOptions$: StaticOperationSchema;
3025
3032
  export declare var ModifyPublicIpDnsNameOptions$: StaticOperationSchema;
@@ -2273,6 +2273,10 @@ import {
2273
2273
  GetManagedPrefixListEntriesCommandInput,
2274
2274
  GetManagedPrefixListEntriesCommandOutput,
2275
2275
  } from "./commands/GetManagedPrefixListEntriesCommand";
2276
+ import {
2277
+ GetManagedResourceVisibilityCommandInput,
2278
+ GetManagedResourceVisibilityCommandOutput,
2279
+ } from "./commands/GetManagedResourceVisibilityCommand";
2276
2280
  import {
2277
2281
  GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput,
2278
2282
  GetNetworkInsightsAccessScopeAnalysisFindingsCommandOutput,
@@ -2565,6 +2569,10 @@ import {
2565
2569
  ModifyManagedPrefixListCommandInput,
2566
2570
  ModifyManagedPrefixListCommandOutput,
2567
2571
  } from "./commands/ModifyManagedPrefixListCommand";
2572
+ import {
2573
+ ModifyManagedResourceVisibilityCommandInput,
2574
+ ModifyManagedResourceVisibilityCommandOutput,
2575
+ } from "./commands/ModifyManagedResourceVisibilityCommand";
2568
2576
  import {
2569
2577
  ModifyNetworkInterfaceAttributeCommandInput,
2570
2578
  ModifyNetworkInterfaceAttributeCommandOutput,
@@ -11438,6 +11446,20 @@ export interface EC2 {
11438
11446
  options: __HttpHandlerOptions,
11439
11447
  cb: (err: any, data?: GetManagedPrefixListEntriesCommandOutput) => void
11440
11448
  ): void;
11449
+ getManagedResourceVisibility(): Promise<GetManagedResourceVisibilityCommandOutput>;
11450
+ getManagedResourceVisibility(
11451
+ args: GetManagedResourceVisibilityCommandInput,
11452
+ options?: __HttpHandlerOptions
11453
+ ): Promise<GetManagedResourceVisibilityCommandOutput>;
11454
+ getManagedResourceVisibility(
11455
+ args: GetManagedResourceVisibilityCommandInput,
11456
+ cb: (err: any, data?: GetManagedResourceVisibilityCommandOutput) => void
11457
+ ): void;
11458
+ getManagedResourceVisibility(
11459
+ args: GetManagedResourceVisibilityCommandInput,
11460
+ options: __HttpHandlerOptions,
11461
+ cb: (err: any, data?: GetManagedResourceVisibilityCommandOutput) => void
11462
+ ): void;
11441
11463
  getNetworkInsightsAccessScopeAnalysisFindings(
11442
11464
  args: GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput,
11443
11465
  options?: __HttpHandlerOptions
@@ -12511,6 +12533,20 @@ export interface EC2 {
12511
12533
  options: __HttpHandlerOptions,
12512
12534
  cb: (err: any, data?: ModifyManagedPrefixListCommandOutput) => void
12513
12535
  ): void;
12536
+ modifyManagedResourceVisibility(): Promise<ModifyManagedResourceVisibilityCommandOutput>;
12537
+ modifyManagedResourceVisibility(
12538
+ args: ModifyManagedResourceVisibilityCommandInput,
12539
+ options?: __HttpHandlerOptions
12540
+ ): Promise<ModifyManagedResourceVisibilityCommandOutput>;
12541
+ modifyManagedResourceVisibility(
12542
+ args: ModifyManagedResourceVisibilityCommandInput,
12543
+ cb: (err: any, data?: ModifyManagedResourceVisibilityCommandOutput) => void
12544
+ ): void;
12545
+ modifyManagedResourceVisibility(
12546
+ args: ModifyManagedResourceVisibilityCommandInput,
12547
+ options: __HttpHandlerOptions,
12548
+ cb: (err: any, data?: ModifyManagedResourceVisibilityCommandOutput) => void
12549
+ ): void;
12514
12550
  modifyNetworkInterfaceAttribute(
12515
12551
  args: ModifyNetworkInterfaceAttributeCommandInput,
12516
12552
  options?: __HttpHandlerOptions
@@ -2312,6 +2312,10 @@ import {
2312
2312
  GetManagedPrefixListEntriesCommandInput,
2313
2313
  GetManagedPrefixListEntriesCommandOutput,
2314
2314
  } from "./commands/GetManagedPrefixListEntriesCommand";
2315
+ import {
2316
+ GetManagedResourceVisibilityCommandInput,
2317
+ GetManagedResourceVisibilityCommandOutput,
2318
+ } from "./commands/GetManagedResourceVisibilityCommand";
2315
2319
  import {
2316
2320
  GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput,
2317
2321
  GetNetworkInsightsAccessScopeAnalysisFindingsCommandOutput,
@@ -2604,6 +2608,10 @@ import {
2604
2608
  ModifyManagedPrefixListCommandInput,
2605
2609
  ModifyManagedPrefixListCommandOutput,
2606
2610
  } from "./commands/ModifyManagedPrefixListCommand";
2611
+ import {
2612
+ ModifyManagedResourceVisibilityCommandInput,
2613
+ ModifyManagedResourceVisibilityCommandOutput,
2614
+ } from "./commands/ModifyManagedResourceVisibilityCommand";
2607
2615
  import {
2608
2616
  ModifyNetworkInterfaceAttributeCommandInput,
2609
2617
  ModifyNetworkInterfaceAttributeCommandOutput,
@@ -3663,6 +3671,7 @@ export type ServiceInputTypes =
3663
3671
  | GetLaunchTemplateDataCommandInput
3664
3672
  | GetManagedPrefixListAssociationsCommandInput
3665
3673
  | GetManagedPrefixListEntriesCommandInput
3674
+ | GetManagedResourceVisibilityCommandInput
3666
3675
  | GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput
3667
3676
  | GetNetworkInsightsAccessScopeContentCommandInput
3668
3677
  | GetPasswordDataCommandInput
@@ -3736,6 +3745,7 @@ export type ServiceInputTypes =
3736
3745
  | ModifyLaunchTemplateCommandInput
3737
3746
  | ModifyLocalGatewayRouteCommandInput
3738
3747
  | ModifyManagedPrefixListCommandInput
3748
+ | ModifyManagedResourceVisibilityCommandInput
3739
3749
  | ModifyNetworkInterfaceAttributeCommandInput
3740
3750
  | ModifyPrivateDnsNameOptionsCommandInput
3741
3751
  | ModifyPublicIpDnsNameOptionsCommandInput
@@ -4425,6 +4435,7 @@ export type ServiceOutputTypes =
4425
4435
  | GetLaunchTemplateDataCommandOutput
4426
4436
  | GetManagedPrefixListAssociationsCommandOutput
4427
4437
  | GetManagedPrefixListEntriesCommandOutput
4438
+ | GetManagedResourceVisibilityCommandOutput
4428
4439
  | GetNetworkInsightsAccessScopeAnalysisFindingsCommandOutput
4429
4440
  | GetNetworkInsightsAccessScopeContentCommandOutput
4430
4441
  | GetPasswordDataCommandOutput
@@ -4498,6 +4509,7 @@ export type ServiceOutputTypes =
4498
4509
  | ModifyLaunchTemplateCommandOutput
4499
4510
  | ModifyLocalGatewayRouteCommandOutput
4500
4511
  | ModifyManagedPrefixListCommandOutput
4512
+ | ModifyManagedResourceVisibilityCommandOutput
4501
4513
  | ModifyNetworkInterfaceAttributeCommandOutput
4502
4514
  | ModifyPrivateDnsNameOptionsCommandOutput
4503
4515
  | ModifyPublicIpDnsNameOptionsCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ GetManagedResourceVisibilityRequest,
10
+ GetManagedResourceVisibilityResult,
11
+ } from "../models/models_6";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetManagedResourceVisibilityCommandInput
15
+ extends GetManagedResourceVisibilityRequest {}
16
+ export interface GetManagedResourceVisibilityCommandOutput
17
+ extends GetManagedResourceVisibilityResult,
18
+ __MetadataBearer {}
19
+ declare const GetManagedResourceVisibilityCommand_base: {
20
+ new (
21
+ input: GetManagedResourceVisibilityCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetManagedResourceVisibilityCommandInput,
24
+ GetManagedResourceVisibilityCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [GetManagedResourceVisibilityCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetManagedResourceVisibilityCommandInput,
33
+ GetManagedResourceVisibilityCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetManagedResourceVisibilityCommand extends GetManagedResourceVisibilityCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetManagedResourceVisibilityRequest;
44
+ output: GetManagedResourceVisibilityResult;
45
+ };
46
+ sdk: {
47
+ input: GetManagedResourceVisibilityCommandInput;
48
+ output: GetManagedResourceVisibilityCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ ModifyManagedResourceVisibilityRequest,
10
+ ModifyManagedResourceVisibilityResult,
11
+ } from "../models/models_6";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ModifyManagedResourceVisibilityCommandInput
15
+ extends ModifyManagedResourceVisibilityRequest {}
16
+ export interface ModifyManagedResourceVisibilityCommandOutput
17
+ extends ModifyManagedResourceVisibilityResult,
18
+ __MetadataBearer {}
19
+ declare const ModifyManagedResourceVisibilityCommand_base: {
20
+ new (
21
+ input: ModifyManagedResourceVisibilityCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ModifyManagedResourceVisibilityCommandInput,
24
+ ModifyManagedResourceVisibilityCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ModifyManagedResourceVisibilityCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ModifyManagedResourceVisibilityCommandInput,
33
+ ModifyManagedResourceVisibilityCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ModifyManagedResourceVisibilityCommand extends ModifyManagedResourceVisibilityCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ModifyManagedResourceVisibilityRequest;
44
+ output: ModifyManagedResourceVisibilityResult;
45
+ };
46
+ sdk: {
47
+ input: ModifyManagedResourceVisibilityCommandInput;
48
+ output: ModifyManagedResourceVisibilityCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ModifyRouteServerRequest,
10
- ModifyRouteServerResult,
11
- } from "../models/models_6";
8
+ import { ModifyRouteServerRequest } from "../models/models_6";
9
+ import { ModifyRouteServerResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ModifyRouteServerCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ModifySecurityGroupRulesRequest,
10
10
  ModifySecurityGroupRulesResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ModifySecurityGroupRulesCommandInput
@@ -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";
@@ -4536,6 +4536,12 @@ export declare const IpamManagementState: {
4536
4536
  };
4537
4537
  export type IpamManagementState =
4538
4538
  (typeof IpamManagementState)[keyof typeof IpamManagementState];
4539
+ export declare const ManagedResourceDefaultVisibility: {
4540
+ readonly hidden: "hidden";
4541
+ readonly visible: "visible";
4542
+ };
4543
+ export type ManagedResourceDefaultVisibility =
4544
+ (typeof ManagedResourceDefaultVisibility)[keyof typeof ManagedResourceDefaultVisibility];
4539
4545
  export declare const RouteServerRouteInstallationStatus: {
4540
4546
  readonly INSTALLED: "installed";
4541
4547
  readonly REJECTED: "rejected";
@@ -1550,6 +1550,7 @@ export interface CopyVolumesRequest {
1550
1550
  export interface OperatorResponse {
1551
1551
  Managed?: boolean | undefined;
1552
1552
  Principal?: string | undefined;
1553
+ HiddenByDefault?: boolean | undefined;
1553
1554
  }
1554
1555
  export interface Volume {
1555
1556
  AvailabilityZoneId?: string | undefined;
@@ -246,6 +246,7 @@ export interface DescribeInstanceImageMetadataResult {
246
246
  }
247
247
  export interface DescribeInstancesRequest {
248
248
  InstanceIds?: string[] | undefined;
249
+ IncludeManagedResources?: boolean | undefined;
249
250
  DryRun?: boolean | undefined;
250
251
  Filters?: Filter[] | undefined;
251
252
  NextToken?: string | undefined;
@@ -505,6 +506,7 @@ export interface DescribeInstanceStatusRequest {
505
506
  InstanceIds?: string[] | undefined;
506
507
  MaxResults?: number | undefined;
507
508
  NextToken?: string | undefined;
509
+ IncludeManagedResources?: boolean | undefined;
508
510
  DryRun?: boolean | undefined;
509
511
  Filters?: Filter[] | undefined;
510
512
  IncludeAllInstances?: boolean | undefined;
@@ -976,6 +978,7 @@ export interface DescribeLaunchTemplatesRequest {
976
978
  Filters?: Filter[] | undefined;
977
979
  NextToken?: string | undefined;
978
980
  MaxResults?: number | undefined;
981
+ IncludeManagedResources?: boolean | undefined;
979
982
  }
980
983
  export interface DescribeLaunchTemplatesResult {
981
984
  LaunchTemplates?: LaunchTemplate[] | undefined;
@@ -992,6 +995,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
992
995
  MaxResults?: number | undefined;
993
996
  Filters?: Filter[] | undefined;
994
997
  ResolveAlias?: boolean | undefined;
998
+ IncludeManagedResources?: boolean | undefined;
995
999
  }
996
1000
  export interface DescribeLaunchTemplateVersionsResult {
997
1001
  LaunchTemplateVersions?: LaunchTemplateVersion[] | undefined;
@@ -1283,6 +1287,7 @@ export interface DescribeNetworkInterfacePermissionsResult {
1283
1287
  export interface DescribeNetworkInterfacesRequest {
1284
1288
  NextToken?: string | undefined;
1285
1289
  MaxResults?: number | undefined;
1290
+ IncludeManagedResources?: boolean | undefined;
1286
1291
  DryRun?: boolean | undefined;
1287
1292
  NetworkInterfaceIds?: string[] | undefined;
1288
1293
  Filters?: Filter[] | undefined;
@@ -60,6 +60,7 @@ import {
60
60
  InstanceEventWindow,
61
61
  IpamResourceDiscoveryAssociation,
62
62
  NatGatewayAddress,
63
+ OperatorResponse,
63
64
  RouteServerAssociation,
64
65
  SubnetIpv6CidrBlockAssociation,
65
66
  Tag,
@@ -426,6 +427,7 @@ export interface DescribeVolumeAttributeResult {
426
427
  }
427
428
  export interface DescribeVolumesRequest {
428
429
  VolumeIds?: string[] | undefined;
430
+ IncludeManagedResources?: boolean | undefined;
429
431
  DryRun?: boolean | undefined;
430
432
  Filters?: Filter[] | undefined;
431
433
  NextToken?: string | undefined;
@@ -459,6 +461,7 @@ export interface VolumeModification {
459
461
  Progress?: number | undefined;
460
462
  StartTime?: Date | undefined;
461
463
  EndTime?: Date | undefined;
464
+ Operator?: OperatorResponse | undefined;
462
465
  }
463
466
  export interface DescribeVolumesModificationsResult {
464
467
  NextToken?: string | undefined;
@@ -468,6 +471,7 @@ export interface DescribeVolumeStatusRequest {
468
471
  MaxResults?: number | undefined;
469
472
  NextToken?: string | undefined;
470
473
  VolumeIds?: string[] | undefined;
474
+ IncludeManagedResources?: boolean | undefined;
471
475
  DryRun?: boolean | undefined;
472
476
  Filters?: Filter[] | undefined;
473
477
  }
@@ -512,6 +516,7 @@ export interface VolumeStatusItem {
512
516
  AttachmentStatuses?: VolumeStatusAttachmentStatus[] | undefined;
513
517
  InitializationStatusDetails?: InitializationStatusDetails | undefined;
514
518
  AvailabilityZoneId?: string | undefined;
519
+ Operator?: OperatorResponse | undefined;
515
520
  }
516
521
  export interface DescribeVolumeStatusResult {
517
522
  NextToken?: string | undefined;
@@ -53,6 +53,7 @@ import {
53
53
  LockMode,
54
54
  LockState,
55
55
  ManagedBy,
56
+ ManagedResourceDefaultVisibility,
56
57
  MetadataDefaultHttpTokensState,
57
58
  ModifyAvailabilityZoneOptInStatus,
58
59
  NestedVirtualizationSpecification,
@@ -127,7 +128,6 @@ import {
127
128
  Placement,
128
129
  RequestIpamResourceTag,
129
130
  ResponseLaunchTemplateData,
130
- RouteServer,
131
131
  TargetCapacitySpecificationRequest,
132
132
  } from "./models_1";
133
133
  import {
@@ -702,6 +702,15 @@ export interface GetManagedPrefixListEntriesResult {
702
702
  Entries?: PrefixListEntry[] | undefined;
703
703
  NextToken?: string | undefined;
704
704
  }
705
+ export interface GetManagedResourceVisibilityRequest {
706
+ DryRun?: boolean | undefined;
707
+ }
708
+ export interface ManagedResourceVisibilitySettings {
709
+ DefaultVisibility?: ManagedResourceDefaultVisibility | undefined;
710
+ }
711
+ export interface GetManagedResourceVisibilityResult {
712
+ Visibility?: ManagedResourceVisibilitySettings | undefined;
713
+ }
705
714
  export interface GetNetworkInsightsAccessScopeAnalysisFindingsRequest {
706
715
  NetworkInsightsAccessScopeAnalysisId: string | undefined;
707
716
  MaxResults?: number | undefined;
@@ -1814,6 +1823,13 @@ export interface ModifyManagedPrefixListRequest {
1814
1823
  export interface ModifyManagedPrefixListResult {
1815
1824
  PrefixList?: ManagedPrefixList | undefined;
1816
1825
  }
1826
+ export interface ModifyManagedResourceVisibilityRequest {
1827
+ DryRun?: boolean | undefined;
1828
+ DefaultVisibility?: ManagedResourceDefaultVisibility | undefined;
1829
+ }
1830
+ export interface ModifyManagedResourceVisibilityResult {
1831
+ Visibility?: ManagedResourceVisibilitySettings | undefined;
1832
+ }
1817
1833
  export interface NetworkInterfaceAttachmentChanges {
1818
1834
  DefaultEnaQueueCount?: boolean | undefined;
1819
1835
  EnaQueueCount?: number | undefined;
@@ -1868,28 +1884,3 @@ export interface ModifyRouteServerRequest {
1868
1884
  SnsNotificationsEnabled?: boolean | undefined;
1869
1885
  DryRun?: boolean | undefined;
1870
1886
  }
1871
- export interface ModifyRouteServerResult {
1872
- RouteServer?: RouteServer | undefined;
1873
- }
1874
- export interface SecurityGroupRuleRequest {
1875
- IpProtocol?: string | undefined;
1876
- FromPort?: number | undefined;
1877
- ToPort?: number | undefined;
1878
- CidrIpv4?: string | undefined;
1879
- CidrIpv6?: string | undefined;
1880
- PrefixListId?: string | undefined;
1881
- ReferencedGroupId?: string | undefined;
1882
- Description?: string | undefined;
1883
- }
1884
- export interface SecurityGroupRuleUpdate {
1885
- SecurityGroupRuleId: string | undefined;
1886
- SecurityGroupRule?: SecurityGroupRuleRequest | undefined;
1887
- }
1888
- export interface ModifySecurityGroupRulesRequest {
1889
- GroupId: string | undefined;
1890
- SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined;
1891
- DryRun?: boolean | undefined;
1892
- }
1893
- export interface ModifySecurityGroupRulesResult {
1894
- Return?: boolean | undefined;
1895
- }
@@ -97,6 +97,7 @@ import {
97
97
  ManagedPrefixList,
98
98
  OperatorRequest,
99
99
  Placement,
100
+ RouteServer,
100
101
  } from "./models_1";
101
102
  import {
102
103
  DnsOptionsSpecification,
@@ -155,6 +156,31 @@ import {
155
156
  VpcBlockPublicAccessOptions,
156
157
  } from "./models_5";
157
158
  import { CapacityReservationSpecification, Purchase } from "./models_6";
159
+ export interface ModifyRouteServerResult {
160
+ RouteServer?: RouteServer | undefined;
161
+ }
162
+ export interface SecurityGroupRuleRequest {
163
+ IpProtocol?: string | undefined;
164
+ FromPort?: number | undefined;
165
+ ToPort?: number | undefined;
166
+ CidrIpv4?: string | undefined;
167
+ CidrIpv6?: string | undefined;
168
+ PrefixListId?: string | undefined;
169
+ ReferencedGroupId?: string | undefined;
170
+ Description?: string | undefined;
171
+ }
172
+ export interface SecurityGroupRuleUpdate {
173
+ SecurityGroupRuleId: string | undefined;
174
+ SecurityGroupRule?: SecurityGroupRuleRequest | undefined;
175
+ }
176
+ export interface ModifySecurityGroupRulesRequest {
177
+ GroupId: string | undefined;
178
+ SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined;
179
+ DryRun?: boolean | undefined;
180
+ }
181
+ export interface ModifySecurityGroupRulesResult {
182
+ Return?: boolean | undefined;
183
+ }
158
184
  export interface CreateVolumePermissionModifications {
159
185
  Add?: CreateVolumePermission[] | undefined;
160
186
  Remove?: CreateVolumePermission[] | undefined;