aws-sdk-ec2 1.527.0 → 1.529.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.
@@ -55,6 +55,7 @@ module Aws::EC2
55
55
  AccountID = Shapes::StringShape.new(name: 'AccountID')
56
56
  ActiveInstance = Shapes::StructureShape.new(name: 'ActiveInstance')
57
57
  ActiveInstanceSet = Shapes::ListShape.new(name: 'ActiveInstanceSet')
58
+ ActiveVpnTunnelStatus = Shapes::StructureShape.new(name: 'ActiveVpnTunnelStatus')
58
59
  ActivityStatus = Shapes::StringShape.new(name: 'ActivityStatus')
59
60
  AddIpamOperatingRegion = Shapes::StructureShape.new(name: 'AddIpamOperatingRegion')
60
61
  AddIpamOperatingRegionSet = Shapes::ListShape.new(name: 'AddIpamOperatingRegionSet')
@@ -775,6 +776,8 @@ module Aws::EC2
775
776
  DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
776
777
  DeleteSecurityGroupResult = Shapes::StructureShape.new(name: 'DeleteSecurityGroupResult')
777
778
  DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
779
+ DeleteSnapshotResultSet = Shapes::ListShape.new(name: 'DeleteSnapshotResultSet')
780
+ DeleteSnapshotReturnCode = Shapes::StructureShape.new(name: 'DeleteSnapshotReturnCode')
778
781
  DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
779
782
  DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
780
783
  DeleteSubnetCidrReservationResult = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationResult')
@@ -1599,6 +1602,8 @@ module Aws::EC2
1599
1602
  GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
1600
1603
  GatewayAssociationState = Shapes::StringShape.new(name: 'GatewayAssociationState')
1601
1604
  GatewayType = Shapes::StringShape.new(name: 'GatewayType')
1605
+ GetActiveVpnTunnelStatusRequest = Shapes::StructureShape.new(name: 'GetActiveVpnTunnelStatusRequest')
1606
+ GetActiveVpnTunnelStatusResult = Shapes::StructureShape.new(name: 'GetActiveVpnTunnelStatusResult')
1602
1607
  GetAllowedImagesSettingsRequest = Shapes::StructureShape.new(name: 'GetAllowedImagesSettingsRequest')
1603
1608
  GetAllowedImagesSettingsResult = Shapes::StructureShape.new(name: 'GetAllowedImagesSettingsResult')
1604
1609
  GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
@@ -3053,6 +3058,7 @@ module Aws::EC2
3053
3058
  SnapshotLocationEnum = Shapes::StringShape.new(name: 'SnapshotLocationEnum')
3054
3059
  SnapshotRecycleBinInfo = Shapes::StructureShape.new(name: 'SnapshotRecycleBinInfo')
3055
3060
  SnapshotRecycleBinInfoList = Shapes::ListShape.new(name: 'SnapshotRecycleBinInfoList')
3061
+ SnapshotReturnCodes = Shapes::StringShape.new(name: 'SnapshotReturnCodes')
3056
3062
  SnapshotSet = Shapes::ListShape.new(name: 'SnapshotSet')
3057
3063
  SnapshotState = Shapes::StringShape.new(name: 'SnapshotState')
3058
3064
  SnapshotTaskDetail = Shapes::StructureShape.new(name: 'SnapshotTaskDetail')
@@ -3542,6 +3548,7 @@ module Aws::EC2
3542
3548
  VpnTunnelLogOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelLogOptionsSpecification')
3543
3549
  VpnTunnelOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelOptionsSpecification')
3544
3550
  VpnTunnelOptionsSpecificationsList = Shapes::ListShape.new(name: 'VpnTunnelOptionsSpecificationsList')
3551
+ VpnTunnelProvisioningStatus = Shapes::StringShape.new(name: 'VpnTunnelProvisioningStatus')
3545
3552
  WeekDay = Shapes::StringShape.new(name: 'WeekDay')
3546
3553
  WithdrawByoipCidrRequest = Shapes::StructureShape.new(name: 'WithdrawByoipCidrRequest')
3547
3554
  WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
@@ -3682,6 +3689,17 @@ module Aws::EC2
3682
3689
 
3683
3690
  ActiveInstanceSet.member = Shapes::ShapeRef.new(shape: ActiveInstance, location_name: "item")
3684
3691
 
3692
+ ActiveVpnTunnelStatus.add_member(:phase_1_encryption_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase1EncryptionAlgorithm"))
3693
+ ActiveVpnTunnelStatus.add_member(:phase_2_encryption_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase2EncryptionAlgorithm"))
3694
+ ActiveVpnTunnelStatus.add_member(:phase_1_integrity_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase1IntegrityAlgorithm"))
3695
+ ActiveVpnTunnelStatus.add_member(:phase_2_integrity_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase2IntegrityAlgorithm"))
3696
+ ActiveVpnTunnelStatus.add_member(:phase_1_dh_group, Shapes::ShapeRef.new(shape: Integer, location_name: "phase1DHGroup"))
3697
+ ActiveVpnTunnelStatus.add_member(:phase_2_dh_group, Shapes::ShapeRef.new(shape: Integer, location_name: "phase2DHGroup"))
3698
+ ActiveVpnTunnelStatus.add_member(:ike_version, Shapes::ShapeRef.new(shape: String, location_name: "ikeVersion"))
3699
+ ActiveVpnTunnelStatus.add_member(:provisioning_status, Shapes::ShapeRef.new(shape: VpnTunnelProvisioningStatus, location_name: "provisioningStatus"))
3700
+ ActiveVpnTunnelStatus.add_member(:provisioning_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "provisioningStatusReason"))
3701
+ ActiveVpnTunnelStatus.struct_class = Types::ActiveVpnTunnelStatus
3702
+
3685
3703
  AddIpamOperatingRegion.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "RegionName"))
3686
3704
  AddIpamOperatingRegion.struct_class = Types::AddIpamOperatingRegion
3687
3705
 
@@ -6225,6 +6243,7 @@ module Aws::EC2
6225
6243
  CreateVpnConnectionRequest.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: VpnGatewayId, location_name: "VpnGatewayId"))
6226
6244
  CreateVpnConnectionRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "TransitGatewayId"))
6227
6245
  CreateVpnConnectionRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
6246
+ CreateVpnConnectionRequest.add_member(:pre_shared_key_storage, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKeyStorage"))
6228
6247
  CreateVpnConnectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6229
6248
  CreateVpnConnectionRequest.add_member(:options, Shapes::ShapeRef.new(shape: VpnConnectionOptionsSpecification, location_name: "options"))
6230
6249
  CreateVpnConnectionRequest.struct_class = Types::CreateVpnConnectionRequest
@@ -6672,6 +6691,12 @@ module Aws::EC2
6672
6691
  DeleteSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6673
6692
  DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
6674
6693
 
6694
+ DeleteSnapshotResultSet.member = Shapes::ShapeRef.new(shape: DeleteSnapshotReturnCode, location_name: "item")
6695
+
6696
+ DeleteSnapshotReturnCode.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
6697
+ DeleteSnapshotReturnCode.add_member(:return_code, Shapes::ShapeRef.new(shape: SnapshotReturnCodes, location_name: "returnCode"))
6698
+ DeleteSnapshotReturnCode.struct_class = Types::DeleteSnapshotReturnCode
6699
+
6675
6700
  DeleteSpotDatafeedSubscriptionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6676
6701
  DeleteSpotDatafeedSubscriptionRequest.struct_class = Types::DeleteSpotDatafeedSubscriptionRequest
6677
6702
 
@@ -6920,9 +6945,12 @@ module Aws::EC2
6920
6945
  DeprovisionedAddressSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
6921
6946
 
6922
6947
  DeregisterImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
6948
+ DeregisterImageRequest.add_member(:delete_associated_snapshots, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAssociatedSnapshots"))
6923
6949
  DeregisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6924
6950
  DeregisterImageRequest.struct_class = Types::DeregisterImageRequest
6925
6951
 
6952
+ DeregisterImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
6953
+ DeregisterImageResult.add_member(:delete_snapshot_results, Shapes::ShapeRef.new(shape: DeleteSnapshotResultSet, location_name: "deleteSnapshotResultSet"))
6926
6954
  DeregisterImageResult.struct_class = Types::DeregisterImageResult
6927
6955
 
6928
6956
  DeregisterInstanceEventNotificationAttributesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -10011,6 +10039,14 @@ module Aws::EC2
10011
10039
  FpgaInfo.add_member(:total_fpga_memory_in_mi_b, Shapes::ShapeRef.new(shape: totalFpgaMemory, location_name: "totalFpgaMemoryInMiB"))
10012
10040
  FpgaInfo.struct_class = Types::FpgaInfo
10013
10041
 
10042
+ GetActiveVpnTunnelStatusRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
10043
+ GetActiveVpnTunnelStatusRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
10044
+ GetActiveVpnTunnelStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
10045
+ GetActiveVpnTunnelStatusRequest.struct_class = Types::GetActiveVpnTunnelStatusRequest
10046
+
10047
+ GetActiveVpnTunnelStatusResult.add_member(:active_vpn_tunnel_status, Shapes::ShapeRef.new(shape: ActiveVpnTunnelStatus, location_name: "activeVpnTunnelStatus"))
10048
+ GetActiveVpnTunnelStatusResult.struct_class = Types::GetActiveVpnTunnelStatusResult
10049
+
10014
10050
  GetAllowedImagesSettingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
10015
10051
  GetAllowedImagesSettingsRequest.struct_class = Types::GetAllowedImagesSettingsRequest
10016
10052
 
@@ -10550,6 +10586,7 @@ module Aws::EC2
10550
10586
  GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
10551
10587
  GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeId, required: true, location_name: "VpnConnectionDeviceTypeId"))
10552
10588
  GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:internet_key_exchange_version, Shapes::ShapeRef.new(shape: String, location_name: "InternetKeyExchangeVersion"))
10589
+ GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:sample_type, Shapes::ShapeRef.new(shape: String, location_name: "SampleType"))
10553
10590
  GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
10554
10591
  GetVpnConnectionDeviceSampleConfigurationRequest.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationRequest
10555
10592
 
@@ -13427,6 +13464,7 @@ module Aws::EC2
13427
13464
  ModifyVpnTunnelOptionsRequest.add_member(:tunnel_options, Shapes::ShapeRef.new(shape: ModifyVpnTunnelOptionsSpecification, required: true, location_name: "TunnelOptions"))
13428
13465
  ModifyVpnTunnelOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
13429
13466
  ModifyVpnTunnelOptionsRequest.add_member(:skip_tunnel_replacement, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipTunnelReplacement"))
13467
+ ModifyVpnTunnelOptionsRequest.add_member(:pre_shared_key_storage, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKeyStorage"))
13430
13468
  ModifyVpnTunnelOptionsRequest.struct_class = Types::ModifyVpnTunnelOptionsRequest
13431
13469
 
13432
13470
  ModifyVpnTunnelOptionsResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
@@ -17378,6 +17416,7 @@ module Aws::EC2
17378
17416
  VpnConnection.add_member(:routes, Shapes::ShapeRef.new(shape: VpnStaticRouteList, location_name: "routes"))
17379
17417
  VpnConnection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
17380
17418
  VpnConnection.add_member(:vgw_telemetry, Shapes::ShapeRef.new(shape: VgwTelemetryList, location_name: "vgwTelemetry"))
17419
+ VpnConnection.add_member(:pre_shared_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "preSharedKeyArn"))
17381
17420
  VpnConnection.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpnConnectionId"))
17382
17421
  VpnConnection.add_member(:state, Shapes::ShapeRef.new(shape: VpnState, location_name: "state"))
17383
17422
  VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: customerGatewayConfiguration, location_name: "customerGatewayConfiguration"))
@@ -22042,6 +22081,14 @@ module Aws::EC2
22042
22081
  o.output = Shapes::ShapeRef.new(shape: ExportVerifiedAccessInstanceClientConfigurationResult)
22043
22082
  end)
22044
22083
 
22084
+ api.add_operation(:get_active_vpn_tunnel_status, Seahorse::Model::Operation.new.tap do |o|
22085
+ o.name = "GetActiveVpnTunnelStatus"
22086
+ o.http_method = "POST"
22087
+ o.http_request_uri = "/"
22088
+ o.input = Shapes::ShapeRef.new(shape: GetActiveVpnTunnelStatusRequest)
22089
+ o.output = Shapes::ShapeRef.new(shape: GetActiveVpnTunnelStatusResult)
22090
+ end)
22091
+
22045
22092
  api.add_operation(:get_allowed_images_settings, Seahorse::Model::Operation.new.tap do |o|
22046
22093
  o.name = "GetAllowedImagesSettings"
22047
22094
  o.http_method = "POST"
@@ -142,8 +142,9 @@ module Aws::EC2
142
142
  data[:virtualization_type]
143
143
  end
144
144
 
145
- # The boot mode of the image. For more information, see [Boot modes][1]
146
- # in the *Amazon EC2 User Guide*.
145
+ # The boot mode of the image. For more information, see [Instance launch
146
+ # behavior with Amazon EC2 boot modes][1] in the *Amazon EC2 User
147
+ # Guide*.
147
148
  #
148
149
  #
149
150
  #
@@ -245,7 +246,8 @@ module Aws::EC2
245
246
  # CopyImage, or CreateRestoreImageTask. The ID does not appear if the
246
247
  # AMI was created using any other API. For some older AMIs, the ID might
247
248
  # not be available. For more information, see [Identify the source AMI
248
- # used to create a new AMI][1] in the *Amazon EC2 User Guide*.
249
+ # used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
250
+ # Guide*.
249
251
  #
250
252
  #
251
253
  #
@@ -261,8 +263,8 @@ module Aws::EC2
261
263
  # CopyImage, or CreateRestoreImageTask. The Region does not appear if
262
264
  # the AMI was created using any other API. For some older AMIs, the
263
265
  # Region might not be available. For more information, see [Identify the
264
- # source AMI used to create a new AMI][1] in the *Amazon EC2 User
265
- # Guide*.
266
+ # source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
267
+ # User Guide*.
266
268
  #
267
269
  #
268
270
  #
@@ -605,9 +607,20 @@ module Aws::EC2
605
607
  # @example Request syntax with placeholder values
606
608
  #
607
609
  # image.deregister({
610
+ # delete_associated_snapshots: false,
608
611
  # dry_run: false,
609
612
  # })
610
613
  # @param [Hash] options ({})
614
+ # @option options [Boolean] :delete_associated_snapshots
615
+ # Specifies whether to delete the snapshots associated with the AMI
616
+ # during deregistration.
617
+ #
618
+ # <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
619
+ # regardless of this setting.
620
+ #
621
+ # </note>
622
+ #
623
+ # Default: The snapshots are not deleted.
611
624
  # @option options [Boolean] :dry_run
612
625
  # Checks whether you have the required permissions for the action,
613
626
  # without actually making the request, and provides an error response.
@@ -1968,7 +1968,7 @@ module Aws::EC2
1968
1968
  # The full path to your AMI manifest in Amazon S3 storage. The specified
1969
1969
  # bucket must have the `aws-exec-read` canned access control list (ACL)
1970
1970
  # to ensure that it can be accessed by Amazon EC2. For more information,
1971
- # see [Canned ACLs][1] in the *Amazon S3 Service Developer Guide*.
1971
+ # see [Canned ACL][1] in the *Amazon S3 Service Developer Guide*.
1972
1972
  #
1973
1973
  #
1974
1974
  #
@@ -1981,8 +1981,9 @@ module Aws::EC2
1981
1981
  # you can publish AMIs that include billable software and list them on
1982
1982
  # the Amazon Web Services Marketplace. You must first register as a
1983
1983
  # seller on the Amazon Web Services Marketplace. For more information,
1984
- # see [Getting started as a seller][1] and [AMI-based products][2] in
1985
- # the *Amazon Web Services Marketplace Seller Guide*.
1984
+ # see [Getting started as an Amazon Web Services Marketplace seller][1]
1985
+ # and [AMI-based products in Amazon Web Services Marketplace][2] in the
1986
+ # *Amazon Web Services Marketplace Seller Guide*.
1986
1987
  #
1987
1988
  #
1988
1989
  #
@@ -1997,8 +1998,8 @@ module Aws::EC2
1997
1998
  #
1998
1999
  # </note>
1999
2000
  #
2000
- # For more information, see [Boot modes][1] in the *Amazon EC2 User
2001
- # Guide*.
2001
+ # For more information, see [Instance launch behavior with Amazon EC2
2002
+ # boot modes][1] in the *Amazon EC2 User Guide*.
2002
2003
  #
2003
2004
  #
2004
2005
  #
@@ -2014,8 +2015,8 @@ module Aws::EC2
2014
2015
  # Base64 representation of the non-volatile UEFI variable store. To
2015
2016
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
2016
2017
  # can inspect and modify the UEFI data by using the [python-uefivars
2017
- # tool][2] on GitHub. For more information, see [UEFI Secure Boot][3] in
2018
- # the *Amazon EC2 User Guide*.
2018
+ # tool][2] on GitHub. For more information, see [UEFI Secure Boot for
2019
+ # Amazon EC2 instances][3] in the *Amazon EC2 User Guide*.
2019
2020
  #
2020
2021
  #
2021
2022
  #
@@ -2082,8 +2083,8 @@ module Aws::EC2
2082
2083
  # If you create an AMI on an Outpost, then all backing snapshots must be
2083
2084
  # on the same Outpost or in the Region of that Outpost. AMIs on an
2084
2085
  # Outpost that include local snapshots can be used to launch instances
2085
- # on the same Outpost only. For more information, [Amazon EBS local
2086
- # snapshots on Outposts][1] in the *Amazon EBS User Guide*.
2086
+ # on the same Outpost only. For more information, [Create AMIs from
2087
+ # local snapshots][1] in the *Amazon EBS User Guide*.
2087
2088
  #
2088
2089
  #
2089
2090
  #
@@ -535,6 +535,63 @@ module Aws::EC2
535
535
  include Aws::Structure
536
536
  end
537
537
 
538
+ # Contains information about the current security configuration of an
539
+ # active VPN tunnel.
540
+ #
541
+ # @!attribute [rw] phase_1_encryption_algorithm
542
+ # The encryption algorithm negotiated in Phase 1 IKE negotiations.
543
+ # @return [String]
544
+ #
545
+ # @!attribute [rw] phase_2_encryption_algorithm
546
+ # The encryption algorithm negotiated in Phase 2 IKE negotiations.
547
+ # @return [String]
548
+ #
549
+ # @!attribute [rw] phase_1_integrity_algorithm
550
+ # The integrity algorithm negotiated in Phase 1 IKE negotiations.
551
+ # @return [String]
552
+ #
553
+ # @!attribute [rw] phase_2_integrity_algorithm
554
+ # The integrity algorithm negotiated in Phase 2 IKE negotiations.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] phase_1_dh_group
558
+ # The Diffie-Hellman group number being used in Phase 1 IKE
559
+ # negotiations.
560
+ # @return [Integer]
561
+ #
562
+ # @!attribute [rw] phase_2_dh_group
563
+ # The Diffie-Hellman group number being used in Phase 2 IKE
564
+ # negotiations.
565
+ # @return [Integer]
566
+ #
567
+ # @!attribute [rw] ike_version
568
+ # The version of the Internet Key Exchange (IKE) protocol being used.
569
+ # @return [String]
570
+ #
571
+ # @!attribute [rw] provisioning_status
572
+ # The current provisioning status of the VPN tunnel.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] provisioning_status_reason
576
+ # The reason for the current provisioning status.
577
+ # @return [String]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveVpnTunnelStatus AWS API Documentation
580
+ #
581
+ class ActiveVpnTunnelStatus < Struct.new(
582
+ :phase_1_encryption_algorithm,
583
+ :phase_2_encryption_algorithm,
584
+ :phase_1_integrity_algorithm,
585
+ :phase_2_integrity_algorithm,
586
+ :phase_1_dh_group,
587
+ :phase_2_dh_group,
588
+ :ike_version,
589
+ :provisioning_status,
590
+ :provisioning_status_reason)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
538
595
  # Add an operating Region to an IPAM. Operating Regions are Amazon Web
539
596
  # Services Regions where the IPAM is allowed to manage IP address CIDRs.
540
597
  # IPAM only discovers and monitors resources in the Amazon Web Services
@@ -7200,8 +7257,8 @@ module Aws::EC2
7200
7257
  #
7201
7258
  # @!attribute [rw] client_token
7202
7259
  # Unique, case-sensitive identifier you provide to ensure idempotency
7203
- # of the request. For more information, see [Ensuring idempotency][1]
7204
- # in the *Amazon EC2 API Reference*.
7260
+ # of the request. For more information, see [Ensuring idempotency in
7261
+ # Amazon EC2 API requests][1] in the *Amazon EC2 API Reference*.
7205
7262
  #
7206
7263
  # **A suitable default value is auto-generated.** You should normally
7207
7264
  # not need to pass this option.
@@ -7328,7 +7385,8 @@ module Aws::EC2
7328
7385
  # If you do not specify a value, the AMI copy operation is completed
7329
7386
  # on a best-effort basis.
7330
7387
  #
7331
- # For more information, see [ Time-based copies][1].
7388
+ # For more information, see [Time-based copies for Amazon EBS
7389
+ # snapshots and EBS-backed AMIs][1].
7332
7390
  #
7333
7391
  #
7334
7392
  #
@@ -15207,6 +15265,12 @@ module Aws::EC2
15207
15265
  # The tags to apply to the VPN connection.
15208
15266
  # @return [Array<Types::TagSpecification>]
15209
15267
  #
15268
+ # @!attribute [rw] pre_shared_key_storage
15269
+ # Specifies the storage mode for the pre-shared key (PSK). Valid
15270
+ # values are `Standard`" (stored in the Site-to-Site VPN service) or
15271
+ # `SecretsManager` (stored in Amazon Web Services Secrets Manager).
15272
+ # @return [String]
15273
+ #
15210
15274
  # @!attribute [rw] dry_run
15211
15275
  # Checks whether you have the required permissions for the action,
15212
15276
  # without actually making the request, and provides an error response.
@@ -15226,6 +15290,7 @@ module Aws::EC2
15226
15290
  :vpn_gateway_id,
15227
15291
  :transit_gateway_id,
15228
15292
  :tag_specifications,
15293
+ :pre_shared_key_storage,
15229
15294
  :dry_run,
15230
15295
  :options)
15231
15296
  SENSITIVE = []
@@ -17339,6 +17404,49 @@ module Aws::EC2
17339
17404
  include Aws::Structure
17340
17405
  end
17341
17406
 
17407
+ # The snapshot ID and its deletion result code.
17408
+ #
17409
+ # @!attribute [rw] snapshot_id
17410
+ # The ID of the snapshot.
17411
+ # @return [String]
17412
+ #
17413
+ # @!attribute [rw] return_code
17414
+ # The result code from the snapshot deletion attempt. Possible values:
17415
+ #
17416
+ # * `success` - The snapshot was successfully deleted.
17417
+ #
17418
+ # * `skipped` - The snapshot was not deleted because it's associated
17419
+ # with other AMIs.
17420
+ #
17421
+ # * `missing-permissions` - The snapshot was not deleted because the
17422
+ # role lacks `DeleteSnapshot` permissions. For more information, see
17423
+ # [How Amazon EBS works with IAM][1].
17424
+ #
17425
+ # * `internal-error` - The snapshot was not deleted due to a server
17426
+ # error.
17427
+ #
17428
+ # * `client-error` - The snapshot was not deleted due to a client
17429
+ # configuration error.
17430
+ #
17431
+ # For details about an error, check the `DeleteSnapshot` event in the
17432
+ # CloudTrail event history. For more information, see [View event
17433
+ # history][2] in the *Amazon Web Services CloudTrail User Guide*.
17434
+ #
17435
+ #
17436
+ #
17437
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html
17438
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html
17439
+ # @return [String]
17440
+ #
17441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotReturnCode AWS API Documentation
17442
+ #
17443
+ class DeleteSnapshotReturnCode < Struct.new(
17444
+ :snapshot_id,
17445
+ :return_code)
17446
+ SENSITIVE = []
17447
+ include Aws::Structure
17448
+ end
17449
+
17342
17450
  # Contains the parameters for DeleteSpotDatafeedSubscription.
17343
17451
  #
17344
17452
  # @!attribute [rw] dry_run
@@ -18548,6 +18656,18 @@ module Aws::EC2
18548
18656
  # The ID of the AMI.
18549
18657
  # @return [String]
18550
18658
  #
18659
+ # @!attribute [rw] delete_associated_snapshots
18660
+ # Specifies whether to delete the snapshots associated with the AMI
18661
+ # during deregistration.
18662
+ #
18663
+ # <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
18664
+ # regardless of this setting.
18665
+ #
18666
+ # </note>
18667
+ #
18668
+ # Default: The snapshots are not deleted.
18669
+ # @return [Boolean]
18670
+ #
18551
18671
  # @!attribute [rw] dry_run
18552
18672
  # Checks whether you have the required permissions for the action,
18553
18673
  # without actually making the request, and provides an error response.
@@ -18559,14 +18679,30 @@ module Aws::EC2
18559
18679
  #
18560
18680
  class DeregisterImageRequest < Struct.new(
18561
18681
  :image_id,
18682
+ :delete_associated_snapshots,
18562
18683
  :dry_run)
18563
18684
  SENSITIVE = []
18564
18685
  include Aws::Structure
18565
18686
  end
18566
18687
 
18688
+ # @!attribute [rw] return
18689
+ # Returns `true` if the request succeeds; otherwise, it returns an
18690
+ # error.
18691
+ # @return [Boolean]
18692
+ #
18693
+ # @!attribute [rw] delete_snapshot_results
18694
+ # The deletion result for each snapshot associated with the AMI,
18695
+ # including the snapshot ID and its success or error code.
18696
+ # @return [Array<Types::DeleteSnapshotReturnCode>]
18697
+ #
18567
18698
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageResult AWS API Documentation
18568
18699
  #
18569
- class DeregisterImageResult < Aws::EmptyStructure; end
18700
+ class DeregisterImageResult < Struct.new(
18701
+ :return,
18702
+ :delete_snapshot_results)
18703
+ SENSITIVE = []
18704
+ include Aws::Structure
18705
+ end
18570
18706
 
18571
18707
  # @!attribute [rw] dry_run
18572
18708
  # Checks whether you have the required permissions for the action,
@@ -38419,6 +38555,44 @@ module Aws::EC2
38419
38555
  include Aws::Structure
38420
38556
  end
38421
38557
 
38558
+ # @!attribute [rw] vpn_connection_id
38559
+ # The ID of the VPN connection for which to retrieve the active tunnel
38560
+ # status.
38561
+ # @return [String]
38562
+ #
38563
+ # @!attribute [rw] vpn_tunnel_outside_ip_address
38564
+ # The external IP address of the VPN tunnel for which to retrieve the
38565
+ # active status.
38566
+ # @return [String]
38567
+ #
38568
+ # @!attribute [rw] dry_run
38569
+ # Checks whether you have the required permissions for the action,
38570
+ # without actually making the request.
38571
+ # @return [Boolean]
38572
+ #
38573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatusRequest AWS API Documentation
38574
+ #
38575
+ class GetActiveVpnTunnelStatusRequest < Struct.new(
38576
+ :vpn_connection_id,
38577
+ :vpn_tunnel_outside_ip_address,
38578
+ :dry_run)
38579
+ SENSITIVE = []
38580
+ include Aws::Structure
38581
+ end
38582
+
38583
+ # @!attribute [rw] active_vpn_tunnel_status
38584
+ # Information about the current security configuration of the VPN
38585
+ # tunnel.
38586
+ # @return [Types::ActiveVpnTunnelStatus]
38587
+ #
38588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatusResult AWS API Documentation
38589
+ #
38590
+ class GetActiveVpnTunnelStatusResult < Struct.new(
38591
+ :active_vpn_tunnel_status)
38592
+ SENSITIVE = []
38593
+ include Aws::Structure
38594
+ end
38595
+
38422
38596
  # @!attribute [rw] dry_run
38423
38597
  # Checks whether you have the required permissions for the action,
38424
38598
  # without actually making the request, and provides an error response.
@@ -41357,6 +41531,12 @@ module Aws::EC2
41357
41531
  # versions: `ikev1` or `ikev2`.
41358
41532
  # @return [String]
41359
41533
  #
41534
+ # @!attribute [rw] sample_type
41535
+ # The type of sample configuration to generate. Valid values are
41536
+ # "compatibility" (includes IKEv1) or "recommended" (throws
41537
+ # UnsupportedOperationException for IKEv1).
41538
+ # @return [String]
41539
+ #
41360
41540
  # @!attribute [rw] dry_run
41361
41541
  # Checks whether you have the required permissions for the action,
41362
41542
  # without actually making the request, and provides an error response.
@@ -41370,6 +41550,7 @@ module Aws::EC2
41370
41550
  :vpn_connection_id,
41371
41551
  :vpn_connection_device_type_id,
41372
41552
  :internet_key_exchange_version,
41553
+ :sample_type,
41373
41554
  :dry_run)
41374
41555
  SENSITIVE = []
41375
41556
  include Aws::Structure
@@ -42267,8 +42448,9 @@ module Aws::EC2
42267
42448
  # @return [String]
42268
42449
  #
42269
42450
  # @!attribute [rw] boot_mode
42270
- # The boot mode of the image. For more information, see [Boot
42271
- # modes][1] in the *Amazon EC2 User Guide*.
42451
+ # The boot mode of the image. For more information, see [Instance
42452
+ # launch behavior with Amazon EC2 boot modes][1] in the *Amazon EC2
42453
+ # User Guide*.
42272
42454
  #
42273
42455
  #
42274
42456
  #
@@ -42356,8 +42538,8 @@ module Aws::EC2
42356
42538
  # CopyImage, or CreateRestoreImageTask. The ID does not appear if the
42357
42539
  # AMI was created using any other API. For some older AMIs, the ID
42358
42540
  # might not be available. For more information, see [Identify the
42359
- # source AMI used to create a new AMI][1] in the *Amazon EC2 User
42360
- # Guide*.
42541
+ # source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
42542
+ # EC2 User Guide*.
42361
42543
  #
42362
42544
  #
42363
42545
  #
@@ -42371,8 +42553,8 @@ module Aws::EC2
42371
42553
  # CopyImage, or CreateRestoreImageTask. The Region does not appear if
42372
42554
  # the AMI was created using any other API. For some older AMIs, the
42373
42555
  # Region might not be available. For more information, see [Identify
42374
- # the source AMI used to create a new AMI][1] in the *Amazon EC2 User
42375
- # Guide*.
42556
+ # the source AMI used to create a new Amazon EC2 AMI][1] in the
42557
+ # *Amazon EC2 User Guide*.
42376
42558
  #
42377
42559
  #
42378
42560
  #
@@ -42509,7 +42691,8 @@ module Aws::EC2
42509
42691
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
42510
42692
  # You can inspect and modify the UEFI data by using the
42511
42693
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
42512
- # Secure Boot][3] in the *Amazon EC2 User Guide*.
42694
+ # Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
42695
+ # Guide*.
42513
42696
  #
42514
42697
  #
42515
42698
  #
@@ -57677,6 +57860,12 @@ module Aws::EC2
57677
57860
  # Valid values: `True` \| `False`
57678
57861
  # @return [Boolean]
57679
57862
  #
57863
+ # @!attribute [rw] pre_shared_key_storage
57864
+ # Specifies the storage mode for the pre-shared key (PSK). Valid
57865
+ # values are `Standard` (stored in Site-to-Site VPN service) or
57866
+ # `SecretsManager` (stored in Amazon Web Services Secrets Manager).
57867
+ # @return [String]
57868
+ #
57680
57869
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsRequest AWS API Documentation
57681
57870
  #
57682
57871
  class ModifyVpnTunnelOptionsRequest < Struct.new(
@@ -57684,7 +57873,8 @@ module Aws::EC2
57684
57873
  :vpn_tunnel_outside_ip_address,
57685
57874
  :tunnel_options,
57686
57875
  :dry_run,
57687
- :skip_tunnel_replacement)
57876
+ :skip_tunnel_replacement,
57877
+ :pre_shared_key_storage)
57688
57878
  SENSITIVE = [:tunnel_options]
57689
57879
  include Aws::Structure
57690
57880
  end
@@ -62205,8 +62395,8 @@ module Aws::EC2
62205
62395
  # The full path to your AMI manifest in Amazon S3 storage. The
62206
62396
  # specified bucket must have the `aws-exec-read` canned access control
62207
62397
  # list (ACL) to ensure that it can be accessed by Amazon EC2. For more
62208
- # information, see [Canned ACLs][1] in the *Amazon S3 Service
62209
- # Developer Guide*.
62398
+ # information, see [Canned ACL][1] in the *Amazon S3 Service Developer
62399
+ # Guide*.
62210
62400
  #
62211
62401
  #
62212
62402
  #
@@ -62221,8 +62411,10 @@ module Aws::EC2
62221
62411
  # you can publish AMIs that include billable software and list them on
62222
62412
  # the Amazon Web Services Marketplace. You must first register as a
62223
62413
  # seller on the Amazon Web Services Marketplace. For more information,
62224
- # see [Getting started as a seller][1] and [AMI-based products][2] in
62225
- # the *Amazon Web Services Marketplace Seller Guide*.
62414
+ # see [Getting started as an Amazon Web Services Marketplace
62415
+ # seller][1] and [AMI-based products in Amazon Web Services
62416
+ # Marketplace][2] in the *Amazon Web Services Marketplace Seller
62417
+ # Guide*.
62226
62418
  #
62227
62419
  #
62228
62420
  #
@@ -62239,8 +62431,8 @@ module Aws::EC2
62239
62431
  #
62240
62432
  # </note>
62241
62433
  #
62242
- # For more information, see [Boot modes][1] in the *Amazon EC2 User
62243
- # Guide*.
62434
+ # For more information, see [Instance launch behavior with Amazon EC2
62435
+ # boot modes][1] in the *Amazon EC2 User Guide*.
62244
62436
  #
62245
62437
  #
62246
62438
  #
@@ -62261,7 +62453,8 @@ module Aws::EC2
62261
62453
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
62262
62454
  # You can inspect and modify the UEFI data by using the
62263
62455
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
62264
- # Secure Boot][3] in the *Amazon EC2 User Guide*.
62456
+ # Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
62457
+ # Guide*.
62265
62458
  #
62266
62459
  #
62267
62460
  #
@@ -62350,8 +62543,8 @@ module Aws::EC2
62350
62543
  # If you create an AMI on an Outpost, then all backing snapshots must
62351
62544
  # be on the same Outpost or in the Region of that Outpost. AMIs on an
62352
62545
  # Outpost that include local snapshots can be used to launch instances
62353
- # on the same Outpost only. For more information, [Amazon EBS local
62354
- # snapshots on Outposts][1] in the *Amazon EBS User Guide*.
62546
+ # on the same Outpost only. For more information, [Create AMIs from
62547
+ # local snapshots][1] in the *Amazon EBS User Guide*.
62355
62548
  #
62356
62549
  #
62357
62550
  #
@@ -77313,6 +77506,11 @@ module Aws::EC2
77313
77506
  # Information about the VPN tunnel.
77314
77507
  # @return [Array<Types::VgwTelemetry>]
77315
77508
  #
77509
+ # @!attribute [rw] pre_shared_key_arn
77510
+ # The Amazon Resource Name (ARN) of the Secrets Manager secret storing
77511
+ # the pre-shared key(s) for the VPN connection.
77512
+ # @return [String]
77513
+ #
77316
77514
  # @!attribute [rw] vpn_connection_id
77317
77515
  # The ID of the VPN connection.
77318
77516
  # @return [String]
@@ -77354,6 +77552,7 @@ module Aws::EC2
77354
77552
  :routes,
77355
77553
  :tags,
77356
77554
  :vgw_telemetry,
77555
+ :pre_shared_key_arn,
77357
77556
  :vpn_connection_id,
77358
77557
  :state,
77359
77558
  :customer_gateway_configuration,
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.527.0'
81
+ GEM_VERSION = '1.529.0'
82
82
 
83
83
  end
84
84