@aws-sdk/client-ec2 3.445.0 → 3.448.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 (50) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/EC2.js +6 -0
  3. package/dist-cjs/commands/DisableSnapshotBlockPublicAccessCommand.js +51 -0
  4. package/dist-cjs/commands/EnableSnapshotBlockPublicAccessCommand.js +51 -0
  5. package/dist-cjs/commands/GetSnapshotBlockPublicAccessStateCommand.js +51 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_5.js +6 -1
  8. package/dist-cjs/protocols/Aws_ec2.js +177 -18
  9. package/dist-es/EC2.js +6 -0
  10. package/dist-es/commands/DisableSnapshotBlockPublicAccessCommand.js +47 -0
  11. package/dist-es/commands/EnableSnapshotBlockPublicAccessCommand.js +47 -0
  12. package/dist-es/commands/GetSnapshotBlockPublicAccessStateCommand.js +47 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_5.js +5 -0
  15. package/dist-es/protocols/Aws_ec2.js +153 -0
  16. package/dist-types/EC2.d.ts +21 -0
  17. package/dist-types/EC2Client.d.ts +5 -2
  18. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +81 -0
  19. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +85 -0
  20. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +76 -0
  21. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -1
  22. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  23. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  24. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  25. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  26. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  27. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -2
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/models_5.d.ts +129 -169
  30. package/dist-types/models/models_6.d.ts +172 -179
  31. package/dist-types/models/models_7.d.ts +178 -2
  32. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  33. package/dist-types/ts3.4/EC2.d.ts +57 -0
  34. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  35. package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  41. package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +4 -2
  45. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  46. package/dist-types/ts3.4/models/models_5.d.ts +26 -39
  47. package/dist-types/ts3.4/models/models_6.d.ts +41 -42
  48. package/dist-types/ts3.4/models/models_7.d.ts +41 -1
  49. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  50. package/package.json +1 -1
@@ -3030,6 +3030,41 @@ export interface DisableSerialConsoleAccessResult {
3030
3030
  */
3031
3031
  SerialConsoleAccessEnabled?: boolean;
3032
3032
  }
3033
+ /**
3034
+ * @public
3035
+ */
3036
+ export interface DisableSnapshotBlockPublicAccessRequest {
3037
+ /**
3038
+ * @public
3039
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3040
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3041
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3042
+ */
3043
+ DryRun?: boolean;
3044
+ }
3045
+ /**
3046
+ * @public
3047
+ * @enum
3048
+ */
3049
+ export declare const SnapshotBlockPublicAccessState: {
3050
+ readonly block_all_sharing: "block-all-sharing";
3051
+ readonly block_new_sharing: "block-new-sharing";
3052
+ readonly unblocked: "unblocked";
3053
+ };
3054
+ /**
3055
+ * @public
3056
+ */
3057
+ export type SnapshotBlockPublicAccessState = (typeof SnapshotBlockPublicAccessState)[keyof typeof SnapshotBlockPublicAccessState];
3058
+ /**
3059
+ * @public
3060
+ */
3061
+ export interface DisableSnapshotBlockPublicAccessResult {
3062
+ /**
3063
+ * @public
3064
+ * <p>Returns <code>unblocked</code> if the request succeeds.</p>
3065
+ */
3066
+ State?: SnapshotBlockPublicAccessState;
3067
+ }
3033
3068
  /**
3034
3069
  * @public
3035
3070
  */
@@ -4196,6 +4231,59 @@ export interface EnableSerialConsoleAccessResult {
4196
4231
  */
4197
4232
  SerialConsoleAccessEnabled?: boolean;
4198
4233
  }
4234
+ /**
4235
+ * @public
4236
+ */
4237
+ export interface EnableSnapshotBlockPublicAccessRequest {
4238
+ /**
4239
+ * @public
4240
+ * <p>The mode in which to enable block public access for snapshots for the Region.
4241
+ * Specify one of the following values:</p>
4242
+ * <ul>
4243
+ * <li>
4244
+ * <p>
4245
+ * <code>block-all-sharing</code> - Prevents all public sharing of snapshots in
4246
+ * the Region. Users in the account will no longer be able to request new public
4247
+ * sharing. Additionally, snapshots that are already publicly shared are treated as
4248
+ * private and they are no longer publicly available.</p>
4249
+ * <note>
4250
+ * <p>If you enable block public access for snapshots in <code>block-all-sharing</code>
4251
+ * mode, it does not change the permissions for snapshots that are already publicly shared.
4252
+ * Instead, it prevents these snapshots from be publicly visible and publicly accessible.
4253
+ * Therefore, the attributes for these snapshots still indicate that they are publicly
4254
+ * shared, even though they are not publicly available.</p>
4255
+ * </note>
4256
+ * </li>
4257
+ * <li>
4258
+ * <p>
4259
+ * <code>block-new-sharing</code> - Prevents only new public sharing of snapshots
4260
+ * in the Region. Users in the account will no longer be able to request new public
4261
+ * sharing. However, snapshots that are already publicly shared, remain publicly
4262
+ * available.</p>
4263
+ * </li>
4264
+ * </ul>
4265
+ */
4266
+ State: SnapshotBlockPublicAccessState | undefined;
4267
+ /**
4268
+ * @public
4269
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4270
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4271
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4272
+ */
4273
+ DryRun?: boolean;
4274
+ }
4275
+ /**
4276
+ * @public
4277
+ */
4278
+ export interface EnableSnapshotBlockPublicAccessResult {
4279
+ /**
4280
+ * @public
4281
+ * <p>The state of block public access for snapshots for the account and Region. Returns
4282
+ * either <code>block-all-sharing</code> or <code>block-new-sharing</code> if the request
4283
+ * succeeds.</p>
4284
+ */
4285
+ State?: SnapshotBlockPublicAccessState;
4286
+ }
4199
4287
  /**
4200
4288
  * @public
4201
4289
  */
@@ -6904,6 +6992,47 @@ export interface GetSerialConsoleAccessStatusResult {
6904
6992
  */
6905
6993
  SerialConsoleAccessEnabled?: boolean;
6906
6994
  }
6995
+ /**
6996
+ * @public
6997
+ */
6998
+ export interface GetSnapshotBlockPublicAccessStateRequest {
6999
+ /**
7000
+ * @public
7001
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
7002
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7003
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7004
+ */
7005
+ DryRun?: boolean;
7006
+ }
7007
+ /**
7008
+ * @public
7009
+ */
7010
+ export interface GetSnapshotBlockPublicAccessStateResult {
7011
+ /**
7012
+ * @public
7013
+ * <p>The current state of block public access for snapshots. Possible values include:</p>
7014
+ * <ul>
7015
+ * <li>
7016
+ * <p>
7017
+ * <code>block-all-sharing</code> - All public sharing of snapshots is blocked. Users in
7018
+ * the account can't request new public sharing. Additionally, snapshots that were already
7019
+ * publicly shared are treated as private and are not publicly available.</p>
7020
+ * </li>
7021
+ * <li>
7022
+ * <p>
7023
+ * <code>block-new-sharing</code> - Only new public sharing of snapshots is blocked.
7024
+ * Users in the account can't request new public sharing. However, snapshots that were
7025
+ * already publicly shared, remain publicly available.</p>
7026
+ * </li>
7027
+ * <li>
7028
+ * <p>
7029
+ * <code>unblocked</code> - Public sharing is not blocked. Users can publicly share
7030
+ * snapshots.</p>
7031
+ * </li>
7032
+ * </ul>
7033
+ */
7034
+ State?: SnapshotBlockPublicAccessState;
7035
+ }
6907
7036
  /**
6908
7037
  * @public
6909
7038
  * <p>The architecture type, virtualization type, and other attributes for the instance types.
@@ -7288,175 +7417,6 @@ export interface TransitGatewayMulticastDomainAssociation {
7288
7417
  */
7289
7418
  Subnet?: SubnetAssociation;
7290
7419
  }
7291
- /**
7292
- * @public
7293
- */
7294
- export interface GetTransitGatewayMulticastDomainAssociationsResult {
7295
- /**
7296
- * @public
7297
- * <p>Information about the multicast domain associations.</p>
7298
- */
7299
- MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[];
7300
- /**
7301
- * @public
7302
- * <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>
7303
- */
7304
- NextToken?: string;
7305
- }
7306
- /**
7307
- * @public
7308
- */
7309
- export interface GetTransitGatewayPolicyTableAssociationsRequest {
7310
- /**
7311
- * @public
7312
- * <p>The ID of the transit gateway policy table.</p>
7313
- */
7314
- TransitGatewayPolicyTableId: string | undefined;
7315
- /**
7316
- * @public
7317
- * <p>The filters associated with the transit gateway policy table.</p>
7318
- */
7319
- Filters?: Filter[];
7320
- /**
7321
- * @public
7322
- * <p>The maximum number of results to return with a single call.
7323
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
7324
- */
7325
- MaxResults?: number;
7326
- /**
7327
- * @public
7328
- * <p>The token for the next page of results.</p>
7329
- */
7330
- NextToken?: string;
7331
- /**
7332
- * @public
7333
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7334
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7335
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7336
- */
7337
- DryRun?: boolean;
7338
- }
7339
- /**
7340
- * @public
7341
- */
7342
- export interface GetTransitGatewayPolicyTableAssociationsResult {
7343
- /**
7344
- * @public
7345
- * <p>Returns details about the transit gateway policy table association.</p>
7346
- */
7347
- Associations?: TransitGatewayPolicyTableAssociation[];
7348
- /**
7349
- * @public
7350
- * <p>The token for the next page of results.</p>
7351
- */
7352
- NextToken?: string;
7353
- }
7354
- /**
7355
- * @public
7356
- */
7357
- export interface GetTransitGatewayPolicyTableEntriesRequest {
7358
- /**
7359
- * @public
7360
- * <p>The ID of the transit gateway policy table.</p>
7361
- */
7362
- TransitGatewayPolicyTableId: string | undefined;
7363
- /**
7364
- * @public
7365
- * <p>The filters associated with the transit gateway policy table.</p>
7366
- */
7367
- Filters?: Filter[];
7368
- /**
7369
- * @public
7370
- * <p>The maximum number of results to return with a single call.
7371
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
7372
- */
7373
- MaxResults?: number;
7374
- /**
7375
- * @public
7376
- * <p>The token for the next page of results.</p>
7377
- */
7378
- NextToken?: string;
7379
- /**
7380
- * @public
7381
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7382
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7383
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7384
- */
7385
- DryRun?: boolean;
7386
- }
7387
- /**
7388
- * @public
7389
- * <p>Describes the meta data tags associated with a transit gateway policy rule.</p>
7390
- */
7391
- export interface TransitGatewayPolicyRuleMetaData {
7392
- /**
7393
- * @public
7394
- * <p>The key name for the transit gateway policy rule meta data tag.</p>
7395
- */
7396
- MetaDataKey?: string;
7397
- /**
7398
- * @public
7399
- * <p>The value of the key for the transit gateway policy rule meta data tag.</p>
7400
- */
7401
- MetaDataValue?: string;
7402
- }
7403
- /**
7404
- * @public
7405
- * <p>Describes a rule associated with a transit gateway policy.</p>
7406
- */
7407
- export interface TransitGatewayPolicyRule {
7408
- /**
7409
- * @public
7410
- * <p>The source CIDR block for the transit gateway policy rule.</p>
7411
- */
7412
- SourceCidrBlock?: string;
7413
- /**
7414
- * @public
7415
- * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
7416
- */
7417
- SourcePortRange?: string;
7418
- /**
7419
- * @public
7420
- * <p>The destination CIDR block for the transit gateway policy rule.</p>
7421
- */
7422
- DestinationCidrBlock?: string;
7423
- /**
7424
- * @public
7425
- * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
7426
- */
7427
- DestinationPortRange?: string;
7428
- /**
7429
- * @public
7430
- * <p>The protocol used by the transit gateway policy rule.</p>
7431
- */
7432
- Protocol?: string;
7433
- /**
7434
- * @public
7435
- * <p>The meta data tags used for the transit gateway policy rule.</p>
7436
- */
7437
- MetaData?: TransitGatewayPolicyRuleMetaData;
7438
- }
7439
- /**
7440
- * @public
7441
- * <p>Describes a transit gateway policy table entry</p>
7442
- */
7443
- export interface TransitGatewayPolicyTableEntry {
7444
- /**
7445
- * @public
7446
- * <p>The rule number for the transit gateway policy table entry.</p>
7447
- */
7448
- PolicyRuleNumber?: string;
7449
- /**
7450
- * @public
7451
- * <p>The policy rule associated with the transit gateway policy table.</p>
7452
- */
7453
- PolicyRule?: TransitGatewayPolicyRule;
7454
- /**
7455
- * @public
7456
- * <p>The ID of the target route table.</p>
7457
- */
7458
- TargetRouteTableId?: string;
7459
- }
7460
7420
  /**
7461
7421
  * @internal
7462
7422
  */
@@ -1,9 +1,178 @@
1
- import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPolicyTableEntry, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayMulticastDomainAssociation, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface GetTransitGatewayMulticastDomainAssociationsResult {
11
+ /**
12
+ * @public
13
+ * <p>Information about the multicast domain associations.</p>
14
+ */
15
+ MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[];
16
+ /**
17
+ * @public
18
+ * <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>
19
+ */
20
+ NextToken?: string;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface GetTransitGatewayPolicyTableAssociationsRequest {
26
+ /**
27
+ * @public
28
+ * <p>The ID of the transit gateway policy table.</p>
29
+ */
30
+ TransitGatewayPolicyTableId: string | undefined;
31
+ /**
32
+ * @public
33
+ * <p>The filters associated with the transit gateway policy table.</p>
34
+ */
35
+ Filters?: Filter[];
36
+ /**
37
+ * @public
38
+ * <p>The maximum number of results to return with a single call.
39
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
40
+ */
41
+ MaxResults?: number;
42
+ /**
43
+ * @public
44
+ * <p>The token for the next page of results.</p>
45
+ */
46
+ NextToken?: string;
47
+ /**
48
+ * @public
49
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
50
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
51
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
52
+ */
53
+ DryRun?: boolean;
54
+ }
55
+ /**
56
+ * @public
57
+ */
58
+ export interface GetTransitGatewayPolicyTableAssociationsResult {
59
+ /**
60
+ * @public
61
+ * <p>Returns details about the transit gateway policy table association.</p>
62
+ */
63
+ Associations?: TransitGatewayPolicyTableAssociation[];
64
+ /**
65
+ * @public
66
+ * <p>The token for the next page of results.</p>
67
+ */
68
+ NextToken?: string;
69
+ }
70
+ /**
71
+ * @public
72
+ */
73
+ export interface GetTransitGatewayPolicyTableEntriesRequest {
74
+ /**
75
+ * @public
76
+ * <p>The ID of the transit gateway policy table.</p>
77
+ */
78
+ TransitGatewayPolicyTableId: string | undefined;
79
+ /**
80
+ * @public
81
+ * <p>The filters associated with the transit gateway policy table.</p>
82
+ */
83
+ Filters?: Filter[];
84
+ /**
85
+ * @public
86
+ * <p>The maximum number of results to return with a single call.
87
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
88
+ */
89
+ MaxResults?: number;
90
+ /**
91
+ * @public
92
+ * <p>The token for the next page of results.</p>
93
+ */
94
+ NextToken?: string;
95
+ /**
96
+ * @public
97
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
98
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
99
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
100
+ */
101
+ DryRun?: boolean;
102
+ }
103
+ /**
104
+ * @public
105
+ * <p>Describes the meta data tags associated with a transit gateway policy rule.</p>
106
+ */
107
+ export interface TransitGatewayPolicyRuleMetaData {
108
+ /**
109
+ * @public
110
+ * <p>The key name for the transit gateway policy rule meta data tag.</p>
111
+ */
112
+ MetaDataKey?: string;
113
+ /**
114
+ * @public
115
+ * <p>The value of the key for the transit gateway policy rule meta data tag.</p>
116
+ */
117
+ MetaDataValue?: string;
118
+ }
119
+ /**
120
+ * @public
121
+ * <p>Describes a rule associated with a transit gateway policy.</p>
122
+ */
123
+ export interface TransitGatewayPolicyRule {
124
+ /**
125
+ * @public
126
+ * <p>The source CIDR block for the transit gateway policy rule.</p>
127
+ */
128
+ SourceCidrBlock?: string;
129
+ /**
130
+ * @public
131
+ * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
132
+ */
133
+ SourcePortRange?: string;
134
+ /**
135
+ * @public
136
+ * <p>The destination CIDR block for the transit gateway policy rule.</p>
137
+ */
138
+ DestinationCidrBlock?: string;
139
+ /**
140
+ * @public
141
+ * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
142
+ */
143
+ DestinationPortRange?: string;
144
+ /**
145
+ * @public
146
+ * <p>The protocol used by the transit gateway policy rule.</p>
147
+ */
148
+ Protocol?: string;
149
+ /**
150
+ * @public
151
+ * <p>The meta data tags used for the transit gateway policy rule.</p>
152
+ */
153
+ MetaData?: TransitGatewayPolicyRuleMetaData;
154
+ }
155
+ /**
156
+ * @public
157
+ * <p>Describes a transit gateway policy table entry</p>
158
+ */
159
+ export interface TransitGatewayPolicyTableEntry {
160
+ /**
161
+ * @public
162
+ * <p>The rule number for the transit gateway policy table entry.</p>
163
+ */
164
+ PolicyRuleNumber?: string;
165
+ /**
166
+ * @public
167
+ * <p>The policy rule associated with the transit gateway policy table.</p>
168
+ */
169
+ PolicyRule?: TransitGatewayPolicyRule;
170
+ /**
171
+ * @public
172
+ * <p>The ID of the target route table.</p>
173
+ */
174
+ TargetRouteTableId?: string;
175
+ }
7
176
  /**
8
177
  * @public
9
178
  */
@@ -7814,182 +7983,6 @@ export interface RestoreAddressToClassicResult {
7814
7983
  */
7815
7984
  Status?: Status;
7816
7985
  }
7817
- /**
7818
- * @public
7819
- */
7820
- export interface RestoreImageFromRecycleBinRequest {
7821
- /**
7822
- * @public
7823
- * <p>The ID of the AMI to restore.</p>
7824
- */
7825
- ImageId: string | undefined;
7826
- /**
7827
- * @public
7828
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7829
- * and provides an error response. If you have the required permissions, the error response is
7830
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7831
- */
7832
- DryRun?: boolean;
7833
- }
7834
- /**
7835
- * @public
7836
- */
7837
- export interface RestoreImageFromRecycleBinResult {
7838
- /**
7839
- * @public
7840
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
7841
- */
7842
- Return?: boolean;
7843
- }
7844
- /**
7845
- * @public
7846
- */
7847
- export interface RestoreManagedPrefixListVersionRequest {
7848
- /**
7849
- * @public
7850
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7851
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7852
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7853
- */
7854
- DryRun?: boolean;
7855
- /**
7856
- * @public
7857
- * <p>The ID of the prefix list.</p>
7858
- */
7859
- PrefixListId: string | undefined;
7860
- /**
7861
- * @public
7862
- * <p>The version to restore.</p>
7863
- */
7864
- PreviousVersion: number | undefined;
7865
- /**
7866
- * @public
7867
- * <p>The current version number for the prefix list.</p>
7868
- */
7869
- CurrentVersion: number | undefined;
7870
- }
7871
- /**
7872
- * @public
7873
- */
7874
- export interface RestoreManagedPrefixListVersionResult {
7875
- /**
7876
- * @public
7877
- * <p>Information about the prefix list.</p>
7878
- */
7879
- PrefixList?: ManagedPrefixList;
7880
- }
7881
- /**
7882
- * @public
7883
- */
7884
- export interface RestoreSnapshotFromRecycleBinRequest {
7885
- /**
7886
- * @public
7887
- * <p>The ID of the snapshot to restore.</p>
7888
- */
7889
- SnapshotId: string | undefined;
7890
- /**
7891
- * @public
7892
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7893
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7894
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7895
- */
7896
- DryRun?: boolean;
7897
- }
7898
- /**
7899
- * @public
7900
- */
7901
- export interface RestoreSnapshotFromRecycleBinResult {
7902
- /**
7903
- * @public
7904
- * <p>The ID of the snapshot.</p>
7905
- */
7906
- SnapshotId?: string;
7907
- /**
7908
- * @public
7909
- * <p>The ARN of the Outpost on which the snapshot is stored. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html">Amazon EBS local snapshots on Outposts</a> in the
7910
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
7911
- */
7912
- OutpostArn?: string;
7913
- /**
7914
- * @public
7915
- * <p>The description for the snapshot.</p>
7916
- */
7917
- Description?: string;
7918
- /**
7919
- * @public
7920
- * <p>Indicates whether the snapshot is encrypted.</p>
7921
- */
7922
- Encrypted?: boolean;
7923
- /**
7924
- * @public
7925
- * <p>The ID of the Amazon Web Services account that owns the EBS snapshot.</p>
7926
- */
7927
- OwnerId?: string;
7928
- /**
7929
- * @public
7930
- * <p>The progress of the snapshot, as a percentage.</p>
7931
- */
7932
- Progress?: string;
7933
- /**
7934
- * @public
7935
- * <p>The time stamp when the snapshot was initiated.</p>
7936
- */
7937
- StartTime?: Date;
7938
- /**
7939
- * @public
7940
- * <p>The state of the snapshot.</p>
7941
- */
7942
- State?: SnapshotState;
7943
- /**
7944
- * @public
7945
- * <p>The ID of the volume that was used to create the snapshot.</p>
7946
- */
7947
- VolumeId?: string;
7948
- /**
7949
- * @public
7950
- * <p>The size of the volume, in GiB.</p>
7951
- */
7952
- VolumeSize?: number;
7953
- /**
7954
- * @public
7955
- * <p>Reserved for future use.</p>
7956
- */
7957
- SseType?: SSEType;
7958
- }
7959
- /**
7960
- * @public
7961
- */
7962
- export interface RestoreSnapshotTierRequest {
7963
- /**
7964
- * @public
7965
- * <p>The ID of the snapshot to restore.</p>
7966
- */
7967
- SnapshotId: string | undefined;
7968
- /**
7969
- * @public
7970
- * <p>Specifies the number of days for which to temporarily restore an archived snapshot.
7971
- * Required for temporary restores only. The snapshot will be automatically re-archived
7972
- * after this period.</p>
7973
- * <p>To temporarily restore an archived snapshot, specify the number of days and omit
7974
- * the <b>PermanentRestore</b> parameter or set it to
7975
- * <code>false</code>.</p>
7976
- */
7977
- TemporaryRestoreDays?: number;
7978
- /**
7979
- * @public
7980
- * <p>Indicates whether to permanently restore an archived snapshot. To permanently restore
7981
- * an archived snapshot, specify <code>true</code> and omit the
7982
- * <b>RestoreSnapshotTierRequest$TemporaryRestoreDays</b> parameter.</p>
7983
- */
7984
- PermanentRestore?: boolean;
7985
- /**
7986
- * @public
7987
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7988
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7989
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7990
- */
7991
- DryRun?: boolean;
7992
- }
7993
7986
  /**
7994
7987
  * @internal
7995
7988
  */