@aws-sdk/client-ec2 3.865.0 → 3.868.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 (74) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +144 -35
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyInstanceConnectEndpointCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +3 -0
  7. package/dist-es/models/models_2.js +0 -11
  8. package/dist-es/models/models_3.js +11 -0
  9. package/dist-es/protocols/Aws_ec2.js +110 -22
  10. package/dist-types/EC2.d.ts +7 -0
  11. package/dist-types/EC2Client.d.ts +3 -2
  12. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +0 -1
  13. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +11 -1
  15. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +11 -1
  17. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -3
  19. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +11 -1
  23. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +0 -1
  26. package/dist-types/commands/DescribePrefixListsCommand.d.ts +0 -1
  27. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
  28. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -2
  30. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
  31. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  32. package/dist-types/commands/ModifyInstanceConnectEndpointCommand.d.ts +81 -0
  33. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -2
  34. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -4
  35. package/dist-types/commands/RegisterImageCommand.d.ts +3 -8
  36. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
  37. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  38. package/dist-types/commands/ReleaseAddressCommand.d.ts +4 -4
  39. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
  40. package/dist-types/commands/index.d.ts +1 -0
  41. package/dist-types/models/models_0.d.ts +5 -0
  42. package/dist-types/models/models_1.d.ts +42 -44
  43. package/dist-types/models/models_2.d.ts +49 -152
  44. package/dist-types/models/models_3.d.ts +153 -78
  45. package/dist-types/models/models_4.d.ts +79 -60
  46. package/dist-types/models/models_5.d.ts +50 -99
  47. package/dist-types/models/models_6.d.ts +94 -61
  48. package/dist-types/models/models_7.d.ts +132 -70
  49. package/dist-types/models/models_8.d.ts +69 -1
  50. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  51. package/dist-types/ts3.4/EC2.d.ts +17 -0
  52. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  53. package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ModifyInstanceConnectEndpointCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  65. package/dist-types/ts3.4/models/models_1.d.ts +12 -8
  66. package/dist-types/ts3.4/models/models_2.d.ts +9 -41
  67. package/dist-types/ts3.4/models/models_3.d.ts +46 -13
  68. package/dist-types/ts3.4/models/models_4.d.ts +12 -12
  69. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  70. package/dist-types/ts3.4/models/models_6.d.ts +13 -9
  71. package/dist-types/ts3.4/models/models_7.d.ts +19 -21
  72. package/dist-types/ts3.4/models/models_8.d.ts +22 -0
  73. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  74. package/package.json +1 -1
@@ -1,8 +1,55 @@
1
1
  import { ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, IpAddressType, Ipam, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
3
- import { DnsEntry, GroupIdentifier, InstanceIpv6Address, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion } from "./models_2";
4
- import { ConnectionNotification, Filter, IdFormat } from "./models_3";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, IpAddressType, Ipam, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
3
+ import { DnsEntry, GroupIdentifier, InstanceIpv6Address, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion } from "./models_2";
4
+ import { ConnectionNotification, Filter, IdFormat, State } from "./models_3";
5
5
  import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeIpamResourceDiscoveriesResult {
10
+ /**
11
+ * <p>The resource discoveries.</p>
12
+ * @public
13
+ */
14
+ IpamResourceDiscoveries?: IpamResourceDiscovery[] | undefined;
15
+ /**
16
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
17
+ * @public
18
+ */
19
+ NextToken?: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface DescribeIpamResourceDiscoveryAssociationsRequest {
25
+ /**
26
+ * <p>A check for whether you have the required permissions for the action without actually making the request
27
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
28
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
29
+ * @public
30
+ */
31
+ DryRun?: boolean | undefined;
32
+ /**
33
+ * <p>The resource discovery association IDs.</p>
34
+ * @public
35
+ */
36
+ IpamResourceDiscoveryAssociationIds?: string[] | undefined;
37
+ /**
38
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
39
+ * @public
40
+ */
41
+ NextToken?: string | undefined;
42
+ /**
43
+ * <p>The maximum number of resource discovery associations to return in one page of results.</p>
44
+ * @public
45
+ */
46
+ MaxResults?: number | undefined;
47
+ /**
48
+ * <p>The resource discovery association filters.</p>
49
+ * @public
50
+ */
51
+ Filters?: Filter[] | undefined;
52
+ }
6
53
  /**
7
54
  * @public
8
55
  */
@@ -10957,11 +11004,6 @@ export interface DescribeVpcEndpointAssociationsRequest {
10957
11004
  * <code>resource-configuration-group-arn</code> - The Amazon Resource Name (ARN) of
10958
11005
  * the resource configuration of type GROUP.</p>
10959
11006
  * </li>
10960
- * <li>
10961
- * <p>
10962
- * <code>service-network-resource-association-id</code> - The ID of the
10963
- * association.</p>
10964
- * </li>
10965
11007
  * </ul>
10966
11008
  * @public
10967
11009
  */
@@ -11268,97 +11310,6 @@ export interface VpcEndpointConnection {
11268
11310
  */
11269
11311
  VpcEndpointRegion?: string | undefined;
11270
11312
  }
11271
- /**
11272
- * @public
11273
- */
11274
- export interface DescribeVpcEndpointConnectionsResult {
11275
- /**
11276
- * <p>Information about the VPC endpoint connections.</p>
11277
- * @public
11278
- */
11279
- VpcEndpointConnections?: VpcEndpointConnection[] | undefined;
11280
- /**
11281
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11282
- * @public
11283
- */
11284
- NextToken?: string | undefined;
11285
- }
11286
- /**
11287
- * @public
11288
- */
11289
- export interface DescribeVpcEndpointsRequest {
11290
- /**
11291
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11292
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11293
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11294
- * @public
11295
- */
11296
- DryRun?: boolean | undefined;
11297
- /**
11298
- * <p>The IDs of the VPC endpoints.</p>
11299
- * @public
11300
- */
11301
- VpcEndpointIds?: string[] | undefined;
11302
- /**
11303
- * <p>The filters.</p>
11304
- * <ul>
11305
- * <li>
11306
- * <p>
11307
- * <code>ip-address-type</code> - The IP address type (<code>ipv4</code> | <code>ipv6</code>).</p>
11308
- * </li>
11309
- * <li>
11310
- * <p>
11311
- * <code>service-name</code> - The name of the service.</p>
11312
- * </li>
11313
- * <li>
11314
- * <p>
11315
- * <code>service-region</code> - The Region of the service.</p>
11316
- * </li>
11317
- * <li>
11318
- * <p>
11319
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11320
- * </li>
11321
- * <li>
11322
- * <p>
11323
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11324
- * </li>
11325
- * <li>
11326
- * <p>
11327
- * <code>vpc-id</code> - The ID of the VPC in which the endpoint resides.</p>
11328
- * </li>
11329
- * <li>
11330
- * <p>
11331
- * <code>vpc-endpoint-id</code> - The ID of the endpoint.</p>
11332
- * </li>
11333
- * <li>
11334
- * <p>
11335
- * <code>vpc-endpoint-state</code> - The state of the endpoint
11336
- * (<code>pendingAcceptance</code> | <code>pending</code> |
11337
- * <code>available</code> | <code>deleting</code> | <code>deleted</code> |
11338
- * <code>rejected</code> | <code>failed</code>).</p>
11339
- * </li>
11340
- * <li>
11341
- * <p>
11342
- * <code>vpc-endpoint-type</code> - The type of VPC endpoint (<code>Interface</code> |
11343
- * <code>Gateway</code> | <code>GatewayLoadBalancer</code> | <code>Resource</code> |
11344
- * <code>ServiceNetwork</code>).</p>
11345
- * </li>
11346
- * </ul>
11347
- * @public
11348
- */
11349
- Filters?: Filter[] | undefined;
11350
- /**
11351
- * <p>The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.</p>
11352
- * <p>Constraint: If the value is greater than 1,000, we return only 1,000 items.</p>
11353
- * @public
11354
- */
11355
- MaxResults?: number | undefined;
11356
- /**
11357
- * <p>The token for the next set of items to return. (You received this token from a prior call.)</p>
11358
- * @public
11359
- */
11360
- NextToken?: string | undefined;
11361
- }
11362
11313
  /**
11363
11314
  * @internal
11364
11315
  */
@@ -1,9 +1,100 @@
1
1
  import { AccessScopeAnalysisFinding, ActiveVpnTunnelStatus, AddressTransfer, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, CurrencyCodeValues, DeviceTrustProviderType, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, RouteServerAssociation, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { CapacityReservationState, DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, RequestIpamResourceTag, Vpc } from "./models_1";
3
- import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType, VpcEndpoint } from "./models_2";
4
- import { DnsNameState, Filter, IpamPoolCidr, MetricType, PayerResponsibility, PeriodType, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, StatisticType, VpnConnection, VpnGateway } from "./models_3";
3
+ import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType } from "./models_2";
4
+ import { DnsNameState, Filter, IpamPoolCidr, MetricType, PayerResponsibility, PeriodType, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, StatisticType, VpcEndpoint, VpnConnection, VpnGateway } from "./models_3";
5
5
  import { ArchitectureType, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, PaymentOption, VirtualizationType } from "./models_4";
6
- import { AnalysisStatus, ManagedBy } from "./models_5";
6
+ import { AnalysisStatus, ManagedBy, VpcEndpointConnection } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface DescribeVpcEndpointConnectionsResult {
11
+ /**
12
+ * <p>Information about the VPC endpoint connections.</p>
13
+ * @public
14
+ */
15
+ VpcEndpointConnections?: VpcEndpointConnection[] | undefined;
16
+ /**
17
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface DescribeVpcEndpointsRequest {
26
+ /**
27
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
28
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
29
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
30
+ * @public
31
+ */
32
+ DryRun?: boolean | undefined;
33
+ /**
34
+ * <p>The IDs of the VPC endpoints.</p>
35
+ * @public
36
+ */
37
+ VpcEndpointIds?: string[] | undefined;
38
+ /**
39
+ * <p>The filters.</p>
40
+ * <ul>
41
+ * <li>
42
+ * <p>
43
+ * <code>ip-address-type</code> - The IP address type (<code>ipv4</code> | <code>ipv6</code>).</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>service-name</code> - The name of the service.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>service-region</code> - The Region of the service.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>
59
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>vpc-id</code> - The ID of the VPC in which the endpoint resides.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>
67
+ * <code>vpc-endpoint-id</code> - The ID of the endpoint.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <code>vpc-endpoint-state</code> - The state of the endpoint
72
+ * (<code>pendingAcceptance</code> | <code>pending</code> |
73
+ * <code>available</code> | <code>deleting</code> | <code>deleted</code> |
74
+ * <code>rejected</code> | <code>failed</code>).</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>
78
+ * <code>vpc-endpoint-type</code> - The type of VPC endpoint (<code>Interface</code> |
79
+ * <code>Gateway</code> | <code>GatewayLoadBalancer</code> | <code>Resource</code> |
80
+ * <code>ServiceNetwork</code>).</p>
81
+ * </li>
82
+ * </ul>
83
+ * @public
84
+ */
85
+ Filters?: Filter[] | undefined;
86
+ /**
87
+ * <p>The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.</p>
88
+ * <p>Constraint: If the value is greater than 1,000, we return only 1,000 items.</p>
89
+ * @public
90
+ */
91
+ MaxResults?: number | undefined;
92
+ /**
93
+ * <p>The token for the next set of items to return. (You received this token from a prior call.)</p>
94
+ * @public
95
+ */
96
+ NextToken?: string | undefined;
97
+ }
7
98
  /**
8
99
  * @public
9
100
  */
@@ -6898,64 +6989,6 @@ export interface GetSerialConsoleAccessStatusResult {
6898
6989
  */
6899
6990
  ManagedBy?: ManagedBy | undefined;
6900
6991
  }
6901
- /**
6902
- * @public
6903
- */
6904
- export interface GetSnapshotBlockPublicAccessStateRequest {
6905
- /**
6906
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6907
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6908
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6909
- * @public
6910
- */
6911
- DryRun?: boolean | undefined;
6912
- }
6913
- /**
6914
- * @public
6915
- */
6916
- export interface GetSnapshotBlockPublicAccessStateResult {
6917
- /**
6918
- * <p>The current state of block public access for snapshots. Possible values include:</p>
6919
- * <ul>
6920
- * <li>
6921
- * <p>
6922
- * <code>block-all-sharing</code> - All public sharing of snapshots is blocked. Users in
6923
- * the account can't request new public sharing. Additionally, snapshots that were already
6924
- * publicly shared are treated as private and are not publicly available.</p>
6925
- * </li>
6926
- * <li>
6927
- * <p>
6928
- * <code>block-new-sharing</code> - Only new public sharing of snapshots is blocked.
6929
- * Users in the account can't request new public sharing. However, snapshots that were
6930
- * already publicly shared, remain publicly available.</p>
6931
- * </li>
6932
- * <li>
6933
- * <p>
6934
- * <code>unblocked</code> - Public sharing is not blocked. Users can publicly share
6935
- * snapshots.</p>
6936
- * </li>
6937
- * </ul>
6938
- * @public
6939
- */
6940
- State?: SnapshotBlockPublicAccessState | undefined;
6941
- /**
6942
- * <p>The entity that manages the state for block public access for snapshots. Possible
6943
- * values include:</p>
6944
- * <ul>
6945
- * <li>
6946
- * <p>
6947
- * <code>account</code> - The state is managed by the account.</p>
6948
- * </li>
6949
- * <li>
6950
- * <p>
6951
- * <code>declarative-policy</code> - The state is managed by a declarative policy and
6952
- * can't be modified by the account.</p>
6953
- * </li>
6954
- * </ul>
6955
- * @public
6956
- */
6957
- ManagedBy?: ManagedBy | undefined;
6958
- }
6959
6992
  /**
6960
6993
  * @internal
6961
6994
  */
@@ -3,8 +3,66 @@ import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation,
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, InternetGatewayExclusionMode, LocalGatewayRoute, ManagedPrefixList, RouteServer, RouteServerPersistRoutesAction, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue } from "./models_2";
4
4
  import { Byoasn, CapacityBlock, CapacityBlockExtension, Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_3";
5
5
  import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues, VirtualizationType } from "./models_4";
6
- import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InternetGatewayBlockMode, LaunchTemplateConfig, LockState, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
6
+ import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InternetGatewayBlockMode, LaunchTemplateConfig, LockState, ManagedBy, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface GetSnapshotBlockPublicAccessStateRequest {
12
+ /**
13
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
14
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
15
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
16
+ * @public
17
+ */
18
+ DryRun?: boolean | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface GetSnapshotBlockPublicAccessStateResult {
24
+ /**
25
+ * <p>The current state of block public access for snapshots. Possible values include:</p>
26
+ * <ul>
27
+ * <li>
28
+ * <p>
29
+ * <code>block-all-sharing</code> - All public sharing of snapshots is blocked. Users in
30
+ * the account can't request new public sharing. Additionally, snapshots that were already
31
+ * publicly shared are treated as private and are not publicly available.</p>
32
+ * </li>
33
+ * <li>
34
+ * <p>
35
+ * <code>block-new-sharing</code> - Only new public sharing of snapshots is blocked.
36
+ * Users in the account can't request new public sharing. However, snapshots that were
37
+ * already publicly shared, remain publicly available.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <code>unblocked</code> - Public sharing is not blocked. Users can publicly share
42
+ * snapshots.</p>
43
+ * </li>
44
+ * </ul>
45
+ * @public
46
+ */
47
+ State?: SnapshotBlockPublicAccessState | undefined;
48
+ /**
49
+ * <p>The entity that manages the state for block public access for snapshots. Possible
50
+ * values include:</p>
51
+ * <ul>
52
+ * <li>
53
+ * <p>
54
+ * <code>account</code> - The state is managed by the account.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>declarative-policy</code> - The state is managed by a declarative policy and
59
+ * can't be modified by the account.</p>
60
+ * </li>
61
+ * </ul>
62
+ * @public
63
+ */
64
+ ManagedBy?: ManagedBy | undefined;
65
+ }
8
66
  /**
9
67
  * <p>The architecture type, virtualization type, and other attributes for the instance types.
10
68
  * When you specify instance attributes, Amazon EC2 will identify instance types with those
@@ -3364,6 +3422,78 @@ export interface ModifyInstanceCapacityReservationAttributesResult {
3364
3422
  */
3365
3423
  Return?: boolean | undefined;
3366
3424
  }
3425
+ /**
3426
+ * @public
3427
+ */
3428
+ export interface ModifyInstanceConnectEndpointRequest {
3429
+ /**
3430
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
3431
+ * request, and provides an error response. If you have the required permissions, the error response is
3432
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3433
+ * @public
3434
+ */
3435
+ DryRun?: boolean | undefined;
3436
+ /**
3437
+ * <p>The ID of the EC2 Instance Connect Endpoint to modify.</p>
3438
+ * @public
3439
+ */
3440
+ InstanceConnectEndpointId: string | undefined;
3441
+ /**
3442
+ * <p>The new IP address type for the EC2 Instance Connect Endpoint.</p>
3443
+ * <note>
3444
+ * <p>
3445
+ * <code>PreserveClientIp</code> is only supported on IPv4 EC2 Instance Connect
3446
+ * Endpoints. To use <code>PreserveClientIp</code>, the value for
3447
+ * <code>IpAddressType</code> must be <code>ipv4</code>.</p>
3448
+ * </note>
3449
+ * @public
3450
+ */
3451
+ IpAddressType?: IpAddressType | undefined;
3452
+ /**
3453
+ * <p>Changes the security groups for the EC2 Instance Connect Endpoint. The new set of
3454
+ * groups you specify replaces the current set. You must specify at least one group, even
3455
+ * if it's just the default security group in the VPC. You must specify the ID of the
3456
+ * security group, not the name.</p>
3457
+ * @public
3458
+ */
3459
+ SecurityGroupIds?: string[] | undefined;
3460
+ /**
3461
+ * <p>Indicates whether the client IP address is preserved as the source. The following are the possible values.</p>
3462
+ * <ul>
3463
+ * <li>
3464
+ * <p>
3465
+ * <code>true</code> - Use the client IP address as the source.</p>
3466
+ * </li>
3467
+ * <li>
3468
+ * <p>
3469
+ * <code>false</code> - Use the network interface IP address as the source.</p>
3470
+ * </li>
3471
+ * </ul>
3472
+ * <note>
3473
+ * <p>
3474
+ * <code>PreserveClientIp=true</code> is only supported on IPv4 EC2 Instance Connect
3475
+ * Endpoints. If modifying <code>PreserveClientIp</code> to <code>true</code>, either
3476
+ * the endpoint's existing <code>IpAddressType</code> must be <code>ipv4</code>, or if
3477
+ * modifying <code>IpAddressType</code> in the same request, the new value must be
3478
+ * <code>ipv4</code>.</p>
3479
+ * </note>
3480
+ * <p>Default: <code>false</code>
3481
+ * </p>
3482
+ * @public
3483
+ */
3484
+ PreserveClientIp?: boolean | undefined;
3485
+ }
3486
+ /**
3487
+ * @public
3488
+ */
3489
+ export interface ModifyInstanceConnectEndpointResult {
3490
+ /**
3491
+ * <p>The return value of the request. Returns <code>true</code> if the specified product
3492
+ * code is owned by the requester and associated with the specified instance.</p>
3493
+ * @public
3494
+ */
3495
+ Return?: boolean | undefined;
3496
+ }
3367
3497
  /**
3368
3498
  * @public
3369
3499
  */
@@ -8411,74 +8541,6 @@ export interface TransitGatewayMulticastRegisteredGroupMembers {
8411
8541
  */
8412
8542
  GroupIpAddress?: string | undefined;
8413
8543
  }
8414
- /**
8415
- * @public
8416
- */
8417
- export interface RegisterTransitGatewayMulticastGroupMembersResult {
8418
- /**
8419
- * <p>Information about the registered transit gateway multicast group members.</p>
8420
- * @public
8421
- */
8422
- RegisteredMulticastGroupMembers?: TransitGatewayMulticastRegisteredGroupMembers | undefined;
8423
- }
8424
- /**
8425
- * @public
8426
- */
8427
- export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
8428
- /**
8429
- * <p>The ID of the transit gateway multicast domain.</p>
8430
- * @public
8431
- */
8432
- TransitGatewayMulticastDomainId: string | undefined;
8433
- /**
8434
- * <p>The IP address assigned to the transit gateway multicast group.</p>
8435
- * @public
8436
- */
8437
- GroupIpAddress?: string | undefined;
8438
- /**
8439
- * <p>The group sources' network interface IDs to register with the transit gateway multicast group.</p>
8440
- * @public
8441
- */
8442
- NetworkInterfaceIds: string[] | undefined;
8443
- /**
8444
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8445
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8446
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8447
- * @public
8448
- */
8449
- DryRun?: boolean | undefined;
8450
- }
8451
- /**
8452
- * <p>Describes the members registered with the transit gateway multicast group.</p>
8453
- * @public
8454
- */
8455
- export interface TransitGatewayMulticastRegisteredGroupSources {
8456
- /**
8457
- * <p>The ID of the transit gateway multicast domain.</p>
8458
- * @public
8459
- */
8460
- TransitGatewayMulticastDomainId?: string | undefined;
8461
- /**
8462
- * <p>The IDs of the network interfaces members registered with the transit gateway multicast group.</p>
8463
- * @public
8464
- */
8465
- RegisteredNetworkInterfaceIds?: string[] | undefined;
8466
- /**
8467
- * <p>The IP address assigned to the transit gateway multicast group.</p>
8468
- * @public
8469
- */
8470
- GroupIpAddress?: string | undefined;
8471
- }
8472
- /**
8473
- * @public
8474
- */
8475
- export interface RegisterTransitGatewayMulticastGroupSourcesResult {
8476
- /**
8477
- * <p>Information about the transit gateway multicast group sources.</p>
8478
- * @public
8479
- */
8480
- RegisteredMulticastGroupSources?: TransitGatewayMulticastRegisteredGroupSources | undefined;
8481
- }
8482
8544
  /**
8483
8545
  * @internal
8484
8546
  */
@@ -4,7 +4,75 @@ import { IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList
4
4
  import { Filter } from "./models_3";
5
5
  import { ClientVpnConnectionStatus, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState } from "./models_4";
6
6
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
7
- import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_7";
7
+ import { CapacityReservationSpecification, InstanceMonitoring, Status, TransitGatewayMulticastRegisteredGroupMembers } from "./models_7";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RegisterTransitGatewayMulticastGroupMembersResult {
12
+ /**
13
+ * <p>Information about the registered transit gateway multicast group members.</p>
14
+ * @public
15
+ */
16
+ RegisteredMulticastGroupMembers?: TransitGatewayMulticastRegisteredGroupMembers | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
22
+ /**
23
+ * <p>The ID of the transit gateway multicast domain.</p>
24
+ * @public
25
+ */
26
+ TransitGatewayMulticastDomainId: string | undefined;
27
+ /**
28
+ * <p>The IP address assigned to the transit gateway multicast group.</p>
29
+ * @public
30
+ */
31
+ GroupIpAddress?: string | undefined;
32
+ /**
33
+ * <p>The group sources' network interface IDs to register with the transit gateway multicast group.</p>
34
+ * @public
35
+ */
36
+ NetworkInterfaceIds: string[] | undefined;
37
+ /**
38
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
39
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
40
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
41
+ * @public
42
+ */
43
+ DryRun?: boolean | undefined;
44
+ }
45
+ /**
46
+ * <p>Describes the members registered with the transit gateway multicast group.</p>
47
+ * @public
48
+ */
49
+ export interface TransitGatewayMulticastRegisteredGroupSources {
50
+ /**
51
+ * <p>The ID of the transit gateway multicast domain.</p>
52
+ * @public
53
+ */
54
+ TransitGatewayMulticastDomainId?: string | undefined;
55
+ /**
56
+ * <p>The IDs of the network interfaces members registered with the transit gateway multicast group.</p>
57
+ * @public
58
+ */
59
+ RegisteredNetworkInterfaceIds?: string[] | undefined;
60
+ /**
61
+ * <p>The IP address assigned to the transit gateway multicast group.</p>
62
+ * @public
63
+ */
64
+ GroupIpAddress?: string | undefined;
65
+ }
66
+ /**
67
+ * @public
68
+ */
69
+ export interface RegisterTransitGatewayMulticastGroupSourcesResult {
70
+ /**
71
+ * <p>Information about the transit gateway multicast group sources.</p>
72
+ * @public
73
+ */
74
+ RegisteredMulticastGroupSources?: TransitGatewayMulticastRegisteredGroupSources | undefined;
75
+ }
8
76
  /**
9
77
  * @public
10
78
  */