aws-sdk-ec2 1.505.0 → 1.509.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.
@@ -238,6 +238,8 @@ module Aws::EC2
238
238
  BlockDeviceMapping = Shapes::StructureShape.new(name: 'BlockDeviceMapping')
239
239
  BlockDeviceMappingList = Shapes::ListShape.new(name: 'BlockDeviceMappingList')
240
240
  BlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'BlockDeviceMappingRequestList')
241
+ BlockDeviceMappingResponse = Shapes::StructureShape.new(name: 'BlockDeviceMappingResponse')
242
+ BlockDeviceMappingResponseList = Shapes::ListShape.new(name: 'BlockDeviceMappingResponseList')
241
243
  BlockPublicAccessMode = Shapes::StringShape.new(name: 'BlockPublicAccessMode')
242
244
  BlockPublicAccessStates = Shapes::StructureShape.new(name: 'BlockPublicAccessStates')
243
245
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -810,6 +812,7 @@ module Aws::EC2
810
812
  DeprovisionPublicIpv4PoolCidrResult = Shapes::StructureShape.new(name: 'DeprovisionPublicIpv4PoolCidrResult')
811
813
  DeprovisionedAddressSet = Shapes::ListShape.new(name: 'DeprovisionedAddressSet')
812
814
  DeregisterImageRequest = Shapes::StructureShape.new(name: 'DeregisterImageRequest')
815
+ DeregisterImageResult = Shapes::StructureShape.new(name: 'DeregisterImageResult')
813
816
  DeregisterInstanceEventNotificationAttributesRequest = Shapes::StructureShape.new(name: 'DeregisterInstanceEventNotificationAttributesRequest')
814
817
  DeregisterInstanceEventNotificationAttributesResult = Shapes::StructureShape.new(name: 'DeregisterInstanceEventNotificationAttributesResult')
815
818
  DeregisterInstanceTagAttributeRequest = Shapes::StructureShape.new(name: 'DeregisterInstanceTagAttributeRequest')
@@ -1331,6 +1334,7 @@ module Aws::EC2
1331
1334
  DrainSeconds = Shapes::IntegerShape.new(name: 'DrainSeconds')
1332
1335
  DynamicRoutingValue = Shapes::StringShape.new(name: 'DynamicRoutingValue')
1333
1336
  EbsBlockDevice = Shapes::StructureShape.new(name: 'EbsBlockDevice')
1337
+ EbsBlockDeviceResponse = Shapes::StructureShape.new(name: 'EbsBlockDeviceResponse')
1334
1338
  EbsEncryptionSupport = Shapes::StringShape.new(name: 'EbsEncryptionSupport')
1335
1339
  EbsInfo = Shapes::StructureShape.new(name: 'EbsInfo')
1336
1340
  EbsInstanceBlockDevice = Shapes::StructureShape.new(name: 'EbsInstanceBlockDevice')
@@ -1485,11 +1489,14 @@ module Aws::EC2
1485
1489
  FirewallStatefulRule = Shapes::StructureShape.new(name: 'FirewallStatefulRule')
1486
1490
  FirewallStatelessRule = Shapes::StructureShape.new(name: 'FirewallStatelessRule')
1487
1491
  FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
1492
+ FleetBlockDeviceMappingRequest = Shapes::StructureShape.new(name: 'FleetBlockDeviceMappingRequest')
1493
+ FleetBlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'FleetBlockDeviceMappingRequestList')
1488
1494
  FleetCapacityReservation = Shapes::StructureShape.new(name: 'FleetCapacityReservation')
1489
1495
  FleetCapacityReservationSet = Shapes::ListShape.new(name: 'FleetCapacityReservationSet')
1490
1496
  FleetCapacityReservationTenancy = Shapes::StringShape.new(name: 'FleetCapacityReservationTenancy')
1491
1497
  FleetCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'FleetCapacityReservationUsageStrategy')
1492
1498
  FleetData = Shapes::StructureShape.new(name: 'FleetData')
1499
+ FleetEbsBlockDeviceRequest = Shapes::StructureShape.new(name: 'FleetEbsBlockDeviceRequest')
1493
1500
  FleetEventType = Shapes::StringShape.new(name: 'FleetEventType')
1494
1501
  FleetExcessCapacityTerminationPolicy = Shapes::StringShape.new(name: 'FleetExcessCapacityTerminationPolicy')
1495
1502
  FleetId = Shapes::StringShape.new(name: 'FleetId')
@@ -3344,6 +3351,13 @@ module Aws::EC2
3344
3351
  VpcClassicLink = Shapes::StructureShape.new(name: 'VpcClassicLink')
3345
3352
  VpcClassicLinkIdList = Shapes::ListShape.new(name: 'VpcClassicLinkIdList')
3346
3353
  VpcClassicLinkList = Shapes::ListShape.new(name: 'VpcClassicLinkList')
3354
+ VpcEncryptionControl = Shapes::StructureShape.new(name: 'VpcEncryptionControl')
3355
+ VpcEncryptionControlExclusion = Shapes::StructureShape.new(name: 'VpcEncryptionControlExclusion')
3356
+ VpcEncryptionControlExclusionState = Shapes::StringShape.new(name: 'VpcEncryptionControlExclusionState')
3357
+ VpcEncryptionControlExclusions = Shapes::StructureShape.new(name: 'VpcEncryptionControlExclusions')
3358
+ VpcEncryptionControlId = Shapes::StringShape.new(name: 'VpcEncryptionControlId')
3359
+ VpcEncryptionControlMode = Shapes::StringShape.new(name: 'VpcEncryptionControlMode')
3360
+ VpcEncryptionControlState = Shapes::StringShape.new(name: 'VpcEncryptionControlState')
3347
3361
  VpcEndpoint = Shapes::StructureShape.new(name: 'VpcEndpoint')
3348
3362
  VpcEndpointAssociation = Shapes::StructureShape.new(name: 'VpcEndpointAssociation')
3349
3363
  VpcEndpointAssociationSet = Shapes::ListShape.new(name: 'VpcEndpointAssociationSet')
@@ -4200,6 +4214,14 @@ module Aws::EC2
4200
4214
 
4201
4215
  BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
4202
4216
 
4217
+ BlockDeviceMappingResponse.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "deviceName"))
4218
+ BlockDeviceMappingResponse.add_member(:virtual_name, Shapes::ShapeRef.new(shape: String, location_name: "virtualName"))
4219
+ BlockDeviceMappingResponse.add_member(:ebs, Shapes::ShapeRef.new(shape: EbsBlockDeviceResponse, location_name: "ebs"))
4220
+ BlockDeviceMappingResponse.add_member(:no_device, Shapes::ShapeRef.new(shape: String, location_name: "noDevice"))
4221
+ BlockDeviceMappingResponse.struct_class = Types::BlockDeviceMappingResponse
4222
+
4223
+ BlockDeviceMappingResponseList.member = Shapes::ShapeRef.new(shape: BlockDeviceMappingResponse, location_name: "item")
4224
+
4203
4225
  BlockPublicAccessStates.add_member(:internet_gateway_block_mode, Shapes::ShapeRef.new(shape: BlockPublicAccessMode, location_name: "internetGatewayBlockMode"))
4204
4226
  BlockPublicAccessStates.struct_class = Types::BlockPublicAccessStates
4205
4227
 
@@ -4801,6 +4823,7 @@ module Aws::EC2
4801
4823
  CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
4802
4824
  CopyImageRequest.add_member(:copy_image_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "CopyImageTags"))
4803
4825
  CopyImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4826
+ CopyImageRequest.add_member(:snapshot_copy_completion_duration_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "SnapshotCopyCompletionDurationMinutes"))
4804
4827
  CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
4805
4828
  CopyImageRequest.struct_class = Types::CopyImageRequest
4806
4829
 
@@ -6631,6 +6654,8 @@ module Aws::EC2
6631
6654
  DeregisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6632
6655
  DeregisterImageRequest.struct_class = Types::DeregisterImageRequest
6633
6656
 
6657
+ DeregisterImageResult.struct_class = Types::DeregisterImageResult
6658
+
6634
6659
  DeregisterInstanceEventNotificationAttributesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6635
6660
  DeregisterInstanceEventNotificationAttributesRequest.add_member(:instance_tag_attribute, Shapes::ShapeRef.new(shape: DeregisterInstanceTagAttributeRequest, required: true, location_name: "InstanceTagAttribute"))
6636
6661
  DeregisterInstanceEventNotificationAttributesRequest.struct_class = Types::DeregisterInstanceEventNotificationAttributesRequest
@@ -8859,6 +8884,16 @@ module Aws::EC2
8859
8884
  EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
8860
8885
  EbsBlockDevice.struct_class = Types::EbsBlockDevice
8861
8886
 
8887
+ EbsBlockDeviceResponse.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
8888
+ EbsBlockDeviceResponse.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
8889
+ EbsBlockDeviceResponse.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
8890
+ EbsBlockDeviceResponse.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
8891
+ EbsBlockDeviceResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
8892
+ EbsBlockDeviceResponse.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
8893
+ EbsBlockDeviceResponse.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
8894
+ EbsBlockDeviceResponse.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
8895
+ EbsBlockDeviceResponse.struct_class = Types::EbsBlockDeviceResponse
8896
+
8862
8897
  EbsInfo.add_member(:ebs_optimized_support, Shapes::ShapeRef.new(shape: EbsOptimizedSupport, location_name: "ebsOptimizedSupport"))
8863
8898
  EbsInfo.add_member(:encryption_support, Shapes::ShapeRef.new(shape: EbsEncryptionSupport, location_name: "encryptionSupport"))
8864
8899
  EbsInfo.add_member(:ebs_optimized_info, Shapes::ShapeRef.new(shape: EbsOptimizedInfo, location_name: "ebsOptimizedInfo"))
@@ -9418,6 +9453,14 @@ module Aws::EC2
9418
9453
  FirewallStatelessRule.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
9419
9454
  FirewallStatelessRule.struct_class = Types::FirewallStatelessRule
9420
9455
 
9456
+ FleetBlockDeviceMappingRequest.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "DeviceName"))
9457
+ FleetBlockDeviceMappingRequest.add_member(:virtual_name, Shapes::ShapeRef.new(shape: String, location_name: "VirtualName"))
9458
+ FleetBlockDeviceMappingRequest.add_member(:ebs, Shapes::ShapeRef.new(shape: FleetEbsBlockDeviceRequest, location_name: "Ebs"))
9459
+ FleetBlockDeviceMappingRequest.add_member(:no_device, Shapes::ShapeRef.new(shape: String, location_name: "NoDevice"))
9460
+ FleetBlockDeviceMappingRequest.struct_class = Types::FleetBlockDeviceMappingRequest
9461
+
9462
+ FleetBlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: FleetBlockDeviceMappingRequest, location_name: "BlockDeviceMapping")
9463
+
9421
9464
  FleetCapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "capacityReservationId"))
9422
9465
  FleetCapacityReservation.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
9423
9466
  FleetCapacityReservation.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
@@ -9456,6 +9499,16 @@ module Aws::EC2
9456
9499
  FleetData.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
9457
9500
  FleetData.struct_class = Types::FleetData
9458
9501
 
9502
+ FleetEbsBlockDeviceRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
9503
+ FleetEbsBlockDeviceRequest.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
9504
+ FleetEbsBlockDeviceRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
9505
+ FleetEbsBlockDeviceRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
9506
+ FleetEbsBlockDeviceRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
9507
+ FleetEbsBlockDeviceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
9508
+ FleetEbsBlockDeviceRequest.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeSize"))
9509
+ FleetEbsBlockDeviceRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
9510
+ FleetEbsBlockDeviceRequest.struct_class = Types::FleetEbsBlockDeviceRequest
9511
+
9459
9512
  FleetIdSet.member = Shapes::ShapeRef.new(shape: FleetId)
9460
9513
 
9461
9514
  FleetLaunchTemplateConfig.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: FleetLaunchTemplateSpecification, location_name: "launchTemplateSpecification"))
@@ -9479,6 +9532,7 @@ module Aws::EC2
9479
9532
  FleetLaunchTemplateOverrides.add_member(:placement, Shapes::ShapeRef.new(shape: PlacementResponse, location_name: "placement"))
9480
9533
  FleetLaunchTemplateOverrides.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "instanceRequirements"))
9481
9534
  FleetLaunchTemplateOverrides.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
9535
+ FleetLaunchTemplateOverrides.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingResponseList, location_name: "blockDeviceMappingSet"))
9482
9536
  FleetLaunchTemplateOverrides.struct_class = Types::FleetLaunchTemplateOverrides
9483
9537
 
9484
9538
  FleetLaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverrides, location_name: "item")
@@ -9492,6 +9546,7 @@ module Aws::EC2
9492
9546
  FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
9493
9547
  FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
9494
9548
  FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
9549
+ FleetLaunchTemplateOverridesRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: FleetBlockDeviceMappingRequestList, location_name: "BlockDeviceMapping"))
9495
9550
  FleetLaunchTemplateOverridesRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
9496
9551
  FleetLaunchTemplateOverridesRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
9497
9552
  FleetLaunchTemplateOverridesRequest.struct_class = Types::FleetLaunchTemplateOverridesRequest
@@ -16507,6 +16562,7 @@ module Aws::EC2
16507
16562
  Vpc.add_member(:ipv_6_cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcIpv6CidrBlockAssociationSet, location_name: "ipv6CidrBlockAssociationSet"))
16508
16563
  Vpc.add_member(:cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcCidrBlockAssociationSet, location_name: "cidrBlockAssociationSet"))
16509
16564
  Vpc.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDefault"))
16565
+ Vpc.add_member(:encryption_control, Shapes::ShapeRef.new(shape: VpcEncryptionControl, location_name: "encryptionControl"))
16510
16566
  Vpc.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
16511
16567
  Vpc.add_member(:block_public_access_states, Shapes::ShapeRef.new(shape: BlockPublicAccessStates, location_name: "blockPublicAccessStates"))
16512
16568
  Vpc.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
@@ -16566,6 +16622,26 @@ module Aws::EC2
16566
16622
 
16567
16623
  VpcClassicLinkList.member = Shapes::ShapeRef.new(shape: VpcClassicLink, location_name: "item")
16568
16624
 
16625
+ VpcEncryptionControl.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
16626
+ VpcEncryptionControl.add_member(:vpc_encryption_control_id, Shapes::ShapeRef.new(shape: VpcEncryptionControlId, location_name: "vpcEncryptionControlId"))
16627
+ VpcEncryptionControl.add_member(:mode, Shapes::ShapeRef.new(shape: VpcEncryptionControlMode, location_name: "mode"))
16628
+ VpcEncryptionControl.add_member(:state, Shapes::ShapeRef.new(shape: VpcEncryptionControlState, location_name: "state"))
16629
+ VpcEncryptionControl.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
16630
+ VpcEncryptionControl.add_member(:resource_exclusions, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusions, location_name: "resourceExclusions"))
16631
+ VpcEncryptionControl.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
16632
+ VpcEncryptionControl.struct_class = Types::VpcEncryptionControl
16633
+
16634
+ VpcEncryptionControlExclusion.add_member(:state, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "state"))
16635
+ VpcEncryptionControlExclusion.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
16636
+ VpcEncryptionControlExclusion.struct_class = Types::VpcEncryptionControlExclusion
16637
+
16638
+ VpcEncryptionControlExclusions.add_member(:internet_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusion, location_name: "internetGateway"))
16639
+ VpcEncryptionControlExclusions.add_member(:egress_only_internet_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusion, location_name: "egressOnlyInternetGateway"))
16640
+ VpcEncryptionControlExclusions.add_member(:nat_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusion, location_name: "natGateway"))
16641
+ VpcEncryptionControlExclusions.add_member(:virtual_private_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusion, location_name: "virtualPrivateGateway"))
16642
+ VpcEncryptionControlExclusions.add_member(:vpc_peering, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusion, location_name: "vpcPeering"))
16643
+ VpcEncryptionControlExclusions.struct_class = Types::VpcEncryptionControlExclusions
16644
+
16569
16645
  VpcEndpoint.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcEndpointId"))
16570
16646
  VpcEndpoint.add_member(:vpc_endpoint_type, Shapes::ShapeRef.new(shape: VpcEndpointType, location_name: "vpcEndpointType"))
16571
16647
  VpcEndpoint.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
@@ -18615,7 +18691,7 @@ module Aws::EC2
18615
18691
  o.http_method = "POST"
18616
18692
  o.http_request_uri = "/"
18617
18693
  o.input = Shapes::ShapeRef.new(shape: DeregisterImageRequest)
18618
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
18694
+ o.output = Shapes::ShapeRef.new(shape: DeregisterImageResult)
18619
18695
  end)
18620
18696
 
18621
18697
  api.add_operation(:deregister_instance_event_notification_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -613,7 +613,7 @@ module Aws::EC2
613
613
  # without actually making the request, and provides an error response.
614
614
  # If you have the required permissions, the error response is
615
615
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
616
- # @return [EmptyStructure]
616
+ # @return [Types::DeregisterImageResult]
617
617
  def deregister(options = {})
618
618
  options = options.merge(image_id: @id)
619
619
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do