aws-sdk-ec2 1.238.0 → 1.243.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +309 -502
- data/lib/aws-sdk-ec2/client_api.rb +47 -129
- data/lib/aws-sdk-ec2/image.rb +8 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/nat_gateway.rb +7 -0
- data/lib/aws-sdk-ec2/resource.rb +51 -25
- data/lib/aws-sdk-ec2/security_group.rb +3 -51
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +12 -3
- data/lib/aws-sdk-ec2/types.rb +276 -711
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +7 -7
- metadata +2 -2
@@ -126,9 +126,7 @@ module Aws::EC2
|
|
126
126
|
AuthorizeClientVpnIngressRequest = Shapes::StructureShape.new(name: 'AuthorizeClientVpnIngressRequest')
|
127
127
|
AuthorizeClientVpnIngressResult = Shapes::StructureShape.new(name: 'AuthorizeClientVpnIngressResult')
|
128
128
|
AuthorizeSecurityGroupEgressRequest = Shapes::StructureShape.new(name: 'AuthorizeSecurityGroupEgressRequest')
|
129
|
-
AuthorizeSecurityGroupEgressResult = Shapes::StructureShape.new(name: 'AuthorizeSecurityGroupEgressResult')
|
130
129
|
AuthorizeSecurityGroupIngressRequest = Shapes::StructureShape.new(name: 'AuthorizeSecurityGroupIngressRequest')
|
131
|
-
AuthorizeSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'AuthorizeSecurityGroupIngressResult')
|
132
130
|
AutoAcceptSharedAssociationsValue = Shapes::StringShape.new(name: 'AutoAcceptSharedAssociationsValue')
|
133
131
|
AutoAcceptSharedAttachmentsValue = Shapes::StringShape.new(name: 'AutoAcceptSharedAttachmentsValue')
|
134
132
|
AutoPlacement = Shapes::StringShape.new(name: 'AutoPlacement')
|
@@ -273,6 +271,7 @@ module Aws::EC2
|
|
273
271
|
ConnectionNotificationSet = Shapes::ListShape.new(name: 'ConnectionNotificationSet')
|
274
272
|
ConnectionNotificationState = Shapes::StringShape.new(name: 'ConnectionNotificationState')
|
275
273
|
ConnectionNotificationType = Shapes::StringShape.new(name: 'ConnectionNotificationType')
|
274
|
+
ConnectivityType = Shapes::StringShape.new(name: 'ConnectivityType')
|
276
275
|
ContainerFormat = Shapes::StringShape.new(name: 'ContainerFormat')
|
277
276
|
ConversionIdStringList = Shapes::ListShape.new(name: 'ConversionIdStringList')
|
278
277
|
ConversionTask = Shapes::StructureShape.new(name: 'ConversionTask')
|
@@ -742,9 +741,6 @@ module Aws::EC2
|
|
742
741
|
DescribeScheduledInstancesResult = Shapes::StructureShape.new(name: 'DescribeScheduledInstancesResult')
|
743
742
|
DescribeSecurityGroupReferencesRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupReferencesRequest')
|
744
743
|
DescribeSecurityGroupReferencesResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupReferencesResult')
|
745
|
-
DescribeSecurityGroupRulesMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupRulesMaxResults')
|
746
|
-
DescribeSecurityGroupRulesRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupRulesRequest')
|
747
|
-
DescribeSecurityGroupRulesResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupRulesResult')
|
748
744
|
DescribeSecurityGroupsMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupsMaxResults')
|
749
745
|
DescribeSecurityGroupsRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupsRequest')
|
750
746
|
DescribeSecurityGroupsResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupsResult')
|
@@ -865,6 +861,8 @@ module Aws::EC2
|
|
865
861
|
DisableFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'DisableFastSnapshotRestoreSuccessSet')
|
866
862
|
DisableFastSnapshotRestoresRequest = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoresRequest')
|
867
863
|
DisableFastSnapshotRestoresResult = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoresResult')
|
864
|
+
DisableImageDeprecationRequest = Shapes::StructureShape.new(name: 'DisableImageDeprecationRequest')
|
865
|
+
DisableImageDeprecationResult = Shapes::StructureShape.new(name: 'DisableImageDeprecationResult')
|
868
866
|
DisableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessRequest')
|
869
867
|
DisableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessResult')
|
870
868
|
DisableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationRequest')
|
@@ -954,6 +952,8 @@ module Aws::EC2
|
|
954
952
|
EnableFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'EnableFastSnapshotRestoreSuccessSet')
|
955
953
|
EnableFastSnapshotRestoresRequest = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoresRequest')
|
956
954
|
EnableFastSnapshotRestoresResult = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoresResult')
|
955
|
+
EnableImageDeprecationRequest = Shapes::StructureShape.new(name: 'EnableImageDeprecationRequest')
|
956
|
+
EnableImageDeprecationResult = Shapes::StructureShape.new(name: 'EnableImageDeprecationResult')
|
957
957
|
EnableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessRequest')
|
958
958
|
EnableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessResult')
|
959
959
|
EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
|
@@ -1485,8 +1485,6 @@ module Aws::EC2
|
|
1485
1485
|
ModifyNetworkInterfaceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyNetworkInterfaceAttributeRequest')
|
1486
1486
|
ModifyReservedInstancesRequest = Shapes::StructureShape.new(name: 'ModifyReservedInstancesRequest')
|
1487
1487
|
ModifyReservedInstancesResult = Shapes::StructureShape.new(name: 'ModifyReservedInstancesResult')
|
1488
|
-
ModifySecurityGroupRulesRequest = Shapes::StructureShape.new(name: 'ModifySecurityGroupRulesRequest')
|
1489
|
-
ModifySecurityGroupRulesResult = Shapes::StructureShape.new(name: 'ModifySecurityGroupRulesResult')
|
1490
1488
|
ModifySnapshotAttributeRequest = Shapes::StructureShape.new(name: 'ModifySnapshotAttributeRequest')
|
1491
1489
|
ModifySpotFleetRequestRequest = Shapes::StructureShape.new(name: 'ModifySpotFleetRequestRequest')
|
1492
1490
|
ModifySpotFleetRequestResponse = Shapes::StructureShape.new(name: 'ModifySpotFleetRequestResponse')
|
@@ -1729,7 +1727,6 @@ module Aws::EC2
|
|
1729
1727
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
1730
1728
|
RecurringChargeFrequency = Shapes::StringShape.new(name: 'RecurringChargeFrequency')
|
1731
1729
|
RecurringChargesList = Shapes::ListShape.new(name: 'RecurringChargesList')
|
1732
|
-
ReferencedSecurityGroup = Shapes::StructureShape.new(name: 'ReferencedSecurityGroup')
|
1733
1730
|
Region = Shapes::StructureShape.new(name: 'Region')
|
1734
1731
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
1735
1732
|
RegionNameStringList = Shapes::ListShape.new(name: 'RegionNameStringList')
|
@@ -1907,15 +1904,6 @@ module Aws::EC2
|
|
1907
1904
|
SecurityGroupName = Shapes::StringShape.new(name: 'SecurityGroupName')
|
1908
1905
|
SecurityGroupReference = Shapes::StructureShape.new(name: 'SecurityGroupReference')
|
1909
1906
|
SecurityGroupReferences = Shapes::ListShape.new(name: 'SecurityGroupReferences')
|
1910
|
-
SecurityGroupRule = Shapes::StructureShape.new(name: 'SecurityGroupRule')
|
1911
|
-
SecurityGroupRuleDescription = Shapes::StructureShape.new(name: 'SecurityGroupRuleDescription')
|
1912
|
-
SecurityGroupRuleDescriptionList = Shapes::ListShape.new(name: 'SecurityGroupRuleDescriptionList')
|
1913
|
-
SecurityGroupRuleId = Shapes::StringShape.new(name: 'SecurityGroupRuleId')
|
1914
|
-
SecurityGroupRuleIdList = Shapes::ListShape.new(name: 'SecurityGroupRuleIdList')
|
1915
|
-
SecurityGroupRuleList = Shapes::ListShape.new(name: 'SecurityGroupRuleList')
|
1916
|
-
SecurityGroupRuleRequest = Shapes::StructureShape.new(name: 'SecurityGroupRuleRequest')
|
1917
|
-
SecurityGroupRuleUpdate = Shapes::StructureShape.new(name: 'SecurityGroupRuleUpdate')
|
1918
|
-
SecurityGroupRuleUpdateList = Shapes::ListShape.new(name: 'SecurityGroupRuleUpdateList')
|
1919
1907
|
SecurityGroupStringList = Shapes::ListShape.new(name: 'SecurityGroupStringList')
|
1920
1908
|
SelfServicePortal = Shapes::StringShape.new(name: 'SelfServicePortal')
|
1921
1909
|
SendDiagnosticInterruptRequest = Shapes::StructureShape.new(name: 'SendDiagnosticInterruptRequest')
|
@@ -2714,7 +2702,6 @@ module Aws::EC2
|
|
2714
2702
|
AuthorizeSecurityGroupEgressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2715
2703
|
AuthorizeSecurityGroupEgressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, required: true, location_name: "groupId"))
|
2716
2704
|
AuthorizeSecurityGroupEgressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "ipPermissions"))
|
2717
|
-
AuthorizeSecurityGroupEgressRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2718
2705
|
AuthorizeSecurityGroupEgressRequest.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "cidrIp"))
|
2719
2706
|
AuthorizeSecurityGroupEgressRequest.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "fromPort"))
|
2720
2707
|
AuthorizeSecurityGroupEgressRequest.add_member(:ip_protocol, Shapes::ShapeRef.new(shape: String, location_name: "ipProtocol"))
|
@@ -2723,10 +2710,6 @@ module Aws::EC2
|
|
2723
2710
|
AuthorizeSecurityGroupEgressRequest.add_member(:source_security_group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceSecurityGroupOwnerId"))
|
2724
2711
|
AuthorizeSecurityGroupEgressRequest.struct_class = Types::AuthorizeSecurityGroupEgressRequest
|
2725
2712
|
|
2726
|
-
AuthorizeSecurityGroupEgressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
2727
|
-
AuthorizeSecurityGroupEgressResult.add_member(:security_group_rules, Shapes::ShapeRef.new(shape: SecurityGroupRuleList, location_name: "securityGroupRuleSet"))
|
2728
|
-
AuthorizeSecurityGroupEgressResult.struct_class = Types::AuthorizeSecurityGroupEgressResult
|
2729
|
-
|
2730
2713
|
AuthorizeSecurityGroupIngressRequest.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "CidrIp"))
|
2731
2714
|
AuthorizeSecurityGroupIngressRequest.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "FromPort"))
|
2732
2715
|
AuthorizeSecurityGroupIngressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "GroupId"))
|
@@ -2737,13 +2720,8 @@ module Aws::EC2
|
|
2737
2720
|
AuthorizeSecurityGroupIngressRequest.add_member(:source_security_group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceSecurityGroupOwnerId"))
|
2738
2721
|
AuthorizeSecurityGroupIngressRequest.add_member(:to_port, Shapes::ShapeRef.new(shape: Integer, location_name: "ToPort"))
|
2739
2722
|
AuthorizeSecurityGroupIngressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2740
|
-
AuthorizeSecurityGroupIngressRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2741
2723
|
AuthorizeSecurityGroupIngressRequest.struct_class = Types::AuthorizeSecurityGroupIngressRequest
|
2742
2724
|
|
2743
|
-
AuthorizeSecurityGroupIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
2744
|
-
AuthorizeSecurityGroupIngressResult.add_member(:security_group_rules, Shapes::ShapeRef.new(shape: SecurityGroupRuleList, location_name: "securityGroupRuleSet"))
|
2745
|
-
AuthorizeSecurityGroupIngressResult.struct_class = Types::AuthorizeSecurityGroupIngressResult
|
2746
|
-
|
2747
2725
|
AvailabilityZone.add_member(:state, Shapes::ShapeRef.new(shape: AvailabilityZoneState, location_name: "zoneState"))
|
2748
2726
|
AvailabilityZone.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: AvailabilityZoneOptInStatus, location_name: "optInStatus"))
|
2749
2727
|
AvailabilityZone.add_member(:messages, Shapes::ShapeRef.new(shape: AvailabilityZoneMessageList, location_name: "messageSet"))
|
@@ -3490,11 +3468,12 @@ module Aws::EC2
|
|
3490
3468
|
CreateManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
|
3491
3469
|
CreateManagedPrefixListResult.struct_class = Types::CreateManagedPrefixListResult
|
3492
3470
|
|
3471
|
+
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId"))
|
3493
3472
|
CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3494
3473
|
CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3495
3474
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
3496
3475
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3497
|
-
CreateNatGatewayRequest.add_member(:
|
3476
|
+
CreateNatGatewayRequest.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "ConnectivityType"))
|
3498
3477
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
3499
3478
|
|
3500
3479
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -3556,9 +3535,11 @@ module Aws::EC2
|
|
3556
3535
|
CreateNetworkInterfaceRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: NetworkInterfaceCreationType, location_name: "InterfaceType"))
|
3557
3536
|
CreateNetworkInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
3558
3537
|
CreateNetworkInterfaceRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3538
|
+
CreateNetworkInterfaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3559
3539
|
CreateNetworkInterfaceRequest.struct_class = Types::CreateNetworkInterfaceRequest
|
3560
3540
|
|
3561
3541
|
CreateNetworkInterfaceResult.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
|
3542
|
+
CreateNetworkInterfaceResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
3562
3543
|
CreateNetworkInterfaceResult.struct_class = Types::CreateNetworkInterfaceResult
|
3563
3544
|
|
3564
3545
|
CreatePlacementGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -4807,6 +4788,7 @@ module Aws::EC2
|
|
4807
4788
|
DescribeImagesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
4808
4789
|
DescribeImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdStringList, location_name: "ImageId"))
|
4809
4790
|
DescribeImagesRequest.add_member(:owners, Shapes::ShapeRef.new(shape: OwnerStringList, location_name: "Owner"))
|
4791
|
+
DescribeImagesRequest.add_member(:include_deprecated, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeDeprecated"))
|
4810
4792
|
DescribeImagesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4811
4793
|
DescribeImagesRequest.struct_class = Types::DescribeImagesRequest
|
4812
4794
|
|
@@ -5280,17 +5262,6 @@ module Aws::EC2
|
|
5280
5262
|
DescribeSecurityGroupReferencesResult.add_member(:security_group_reference_set, Shapes::ShapeRef.new(shape: SecurityGroupReferences, location_name: "securityGroupReferenceSet"))
|
5281
5263
|
DescribeSecurityGroupReferencesResult.struct_class = Types::DescribeSecurityGroupReferencesResult
|
5282
5264
|
|
5283
|
-
DescribeSecurityGroupRulesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
5284
|
-
DescribeSecurityGroupRulesRequest.add_member(:security_group_rule_ids, Shapes::ShapeRef.new(shape: SecurityGroupRuleIdList, location_name: "SecurityGroupRuleId"))
|
5285
|
-
DescribeSecurityGroupRulesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5286
|
-
DescribeSecurityGroupRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
5287
|
-
DescribeSecurityGroupRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeSecurityGroupRulesMaxResults, location_name: "MaxResults"))
|
5288
|
-
DescribeSecurityGroupRulesRequest.struct_class = Types::DescribeSecurityGroupRulesRequest
|
5289
|
-
|
5290
|
-
DescribeSecurityGroupRulesResult.add_member(:security_group_rules, Shapes::ShapeRef.new(shape: SecurityGroupRuleList, location_name: "securityGroupRuleSet"))
|
5291
|
-
DescribeSecurityGroupRulesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
5292
|
-
DescribeSecurityGroupRulesResult.struct_class = Types::DescribeSecurityGroupRulesResult
|
5293
|
-
|
5294
5265
|
DescribeSecurityGroupsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
5295
5266
|
DescribeSecurityGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: GroupIdStringList, location_name: "GroupId"))
|
5296
5267
|
DescribeSecurityGroupsRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: GroupNameStringList, location_name: "GroupName"))
|
@@ -5831,6 +5802,13 @@ module Aws::EC2
|
|
5831
5802
|
DisableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
|
5832
5803
|
DisableFastSnapshotRestoresResult.struct_class = Types::DisableFastSnapshotRestoresResult
|
5833
5804
|
|
5805
|
+
DisableImageDeprecationRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
5806
|
+
DisableImageDeprecationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5807
|
+
DisableImageDeprecationRequest.struct_class = Types::DisableImageDeprecationRequest
|
5808
|
+
|
5809
|
+
DisableImageDeprecationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
5810
|
+
DisableImageDeprecationResult.struct_class = Types::DisableImageDeprecationResult
|
5811
|
+
|
5834
5812
|
DisableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5835
5813
|
DisableSerialConsoleAccessRequest.struct_class = Types::DisableSerialConsoleAccessRequest
|
5836
5814
|
|
@@ -6109,6 +6087,14 @@ module Aws::EC2
|
|
6109
6087
|
EnableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
|
6110
6088
|
EnableFastSnapshotRestoresResult.struct_class = Types::EnableFastSnapshotRestoresResult
|
6111
6089
|
|
6090
|
+
EnableImageDeprecationRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
6091
|
+
EnableImageDeprecationRequest.add_member(:deprecate_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, required: true, location_name: "DeprecateAt"))
|
6092
|
+
EnableImageDeprecationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6093
|
+
EnableImageDeprecationRequest.struct_class = Types::EnableImageDeprecationRequest
|
6094
|
+
|
6095
|
+
EnableImageDeprecationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
6096
|
+
EnableImageDeprecationResult.struct_class = Types::EnableImageDeprecationResult
|
6097
|
+
|
6112
6098
|
EnableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6113
6099
|
EnableSerialConsoleAccessRequest.struct_class = Types::EnableSerialConsoleAccessRequest
|
6114
6100
|
|
@@ -6880,6 +6866,7 @@ module Aws::EC2
|
|
6880
6866
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6881
6867
|
Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
6882
6868
|
Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
6869
|
+
Image.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
|
6883
6870
|
Image.struct_class = Types::Image
|
6884
6871
|
|
6885
6872
|
ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
@@ -7438,7 +7425,6 @@ module Aws::EC2
|
|
7438
7425
|
|
7439
7426
|
IpRange.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "cidrIp"))
|
7440
7427
|
IpRange.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
7441
|
-
IpRange.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "securityGroupRuleId"))
|
7442
7428
|
IpRange.struct_class = Types::IpRange
|
7443
7429
|
|
7444
7430
|
IpRangeList.member = Shapes::ShapeRef.new(shape: IpRange, location_name: "item")
|
@@ -7470,7 +7456,6 @@ module Aws::EC2
|
|
7470
7456
|
|
7471
7457
|
Ipv6Range.add_member(:cidr_ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv6"))
|
7472
7458
|
Ipv6Range.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
7473
|
-
Ipv6Range.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "securityGroupRuleId"))
|
7474
7459
|
Ipv6Range.struct_class = Types::Ipv6Range
|
7475
7460
|
|
7476
7461
|
Ipv6RangeList.member = Shapes::ShapeRef.new(shape: Ipv6Range, location_name: "item")
|
@@ -8138,14 +8123,6 @@ module Aws::EC2
|
|
8138
8123
|
ModifyReservedInstancesResult.add_member(:reserved_instances_modification_id, Shapes::ShapeRef.new(shape: String, location_name: "reservedInstancesModificationId"))
|
8139
8124
|
ModifyReservedInstancesResult.struct_class = Types::ModifyReservedInstancesResult
|
8140
8125
|
|
8141
|
-
ModifySecurityGroupRulesRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, required: true, location_name: "GroupId"))
|
8142
|
-
ModifySecurityGroupRulesRequest.add_member(:security_group_rules, Shapes::ShapeRef.new(shape: SecurityGroupRuleUpdateList, required: true, location_name: "SecurityGroupRule"))
|
8143
|
-
ModifySecurityGroupRulesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8144
|
-
ModifySecurityGroupRulesRequest.struct_class = Types::ModifySecurityGroupRulesRequest
|
8145
|
-
|
8146
|
-
ModifySecurityGroupRulesResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
8147
|
-
ModifySecurityGroupRulesResult.struct_class = Types::ModifySecurityGroupRulesResult
|
8148
|
-
|
8149
8126
|
ModifySnapshotAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: SnapshotAttributeName, location_name: "Attribute"))
|
8150
8127
|
ModifySnapshotAttributeRequest.add_member(:create_volume_permission, Shapes::ShapeRef.new(shape: CreateVolumePermissionModifications, location_name: "CreateVolumePermission"))
|
8151
8128
|
ModifySnapshotAttributeRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: GroupNameStringList, location_name: "UserGroup"))
|
@@ -8438,6 +8415,7 @@ module Aws::EC2
|
|
8438
8415
|
NatGateway.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
8439
8416
|
NatGateway.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
8440
8417
|
NatGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
8418
|
+
NatGateway.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "connectivityType"))
|
8441
8419
|
NatGateway.struct_class = Types::NatGateway
|
8442
8420
|
|
8443
8421
|
NatGatewayAddress.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
@@ -8808,7 +8786,6 @@ module Aws::EC2
|
|
8808
8786
|
|
8809
8787
|
PrefixListId.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
8810
8788
|
PrefixListId.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: String, location_name: "prefixListId"))
|
8811
|
-
PrefixListId.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "securityGroupRuleId"))
|
8812
8789
|
PrefixListId.struct_class = Types::PrefixListId
|
8813
8790
|
|
8814
8791
|
PrefixListIdList.member = Shapes::ShapeRef.new(shape: PrefixListId, location_name: "item")
|
@@ -8997,13 +8974,6 @@ module Aws::EC2
|
|
8997
8974
|
|
8998
8975
|
RecurringChargesList.member = Shapes::ShapeRef.new(shape: RecurringCharge, location_name: "item")
|
8999
8976
|
|
9000
|
-
ReferencedSecurityGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
9001
|
-
ReferencedSecurityGroup.add_member(:peering_status, Shapes::ShapeRef.new(shape: String, location_name: "peeringStatus"))
|
9002
|
-
ReferencedSecurityGroup.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
|
9003
|
-
ReferencedSecurityGroup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
9004
|
-
ReferencedSecurityGroup.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
9005
|
-
ReferencedSecurityGroup.struct_class = Types::ReferencedSecurityGroup
|
9006
|
-
|
9007
8977
|
Region.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "regionEndpoint"))
|
9008
8978
|
Region.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "regionName"))
|
9009
8979
|
Region.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: String, location_name: "optInStatus"))
|
@@ -9519,7 +9489,6 @@ module Aws::EC2
|
|
9519
9489
|
RevokeSecurityGroupEgressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
9520
9490
|
RevokeSecurityGroupEgressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, required: true, location_name: "groupId"))
|
9521
9491
|
RevokeSecurityGroupEgressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "ipPermissions"))
|
9522
|
-
RevokeSecurityGroupEgressRequest.add_member(:security_group_rule_ids, Shapes::ShapeRef.new(shape: SecurityGroupRuleIdList, location_name: "SecurityGroupRuleId"))
|
9523
9492
|
RevokeSecurityGroupEgressRequest.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "cidrIp"))
|
9524
9493
|
RevokeSecurityGroupEgressRequest.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "fromPort"))
|
9525
9494
|
RevokeSecurityGroupEgressRequest.add_member(:ip_protocol, Shapes::ShapeRef.new(shape: String, location_name: "ipProtocol"))
|
@@ -9542,7 +9511,6 @@ module Aws::EC2
|
|
9542
9511
|
RevokeSecurityGroupIngressRequest.add_member(:source_security_group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceSecurityGroupOwnerId"))
|
9543
9512
|
RevokeSecurityGroupIngressRequest.add_member(:to_port, Shapes::ShapeRef.new(shape: Integer, location_name: "ToPort"))
|
9544
9513
|
RevokeSecurityGroupIngressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
9545
|
-
RevokeSecurityGroupIngressRequest.add_member(:security_group_rule_ids, Shapes::ShapeRef.new(shape: SecurityGroupRuleIdList, location_name: "SecurityGroupRuleId"))
|
9546
9514
|
RevokeSecurityGroupIngressRequest.struct_class = Types::RevokeSecurityGroupIngressRequest
|
9547
9515
|
|
9548
9516
|
RevokeSecurityGroupIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -9841,47 +9809,6 @@ module Aws::EC2
|
|
9841
9809
|
|
9842
9810
|
SecurityGroupReferences.member = Shapes::ShapeRef.new(shape: SecurityGroupReference, location_name: "item")
|
9843
9811
|
|
9844
|
-
SecurityGroupRule.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "securityGroupRuleId"))
|
9845
|
-
SecurityGroupRule.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId"))
|
9846
|
-
SecurityGroupRule.add_member(:group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "groupOwnerId"))
|
9847
|
-
SecurityGroupRule.add_member(:is_egress, Shapes::ShapeRef.new(shape: Boolean, location_name: "isEgress"))
|
9848
|
-
SecurityGroupRule.add_member(:ip_protocol, Shapes::ShapeRef.new(shape: String, location_name: "ipProtocol"))
|
9849
|
-
SecurityGroupRule.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "fromPort"))
|
9850
|
-
SecurityGroupRule.add_member(:to_port, Shapes::ShapeRef.new(shape: Integer, location_name: "toPort"))
|
9851
|
-
SecurityGroupRule.add_member(:cidr_ipv_4, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv4"))
|
9852
|
-
SecurityGroupRule.add_member(:cidr_ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv6"))
|
9853
|
-
SecurityGroupRule.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, location_name: "prefixListId"))
|
9854
|
-
SecurityGroupRule.add_member(:referenced_group_info, Shapes::ShapeRef.new(shape: ReferencedSecurityGroup, location_name: "referencedGroupInfo"))
|
9855
|
-
SecurityGroupRule.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
9856
|
-
SecurityGroupRule.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9857
|
-
SecurityGroupRule.struct_class = Types::SecurityGroupRule
|
9858
|
-
|
9859
|
-
SecurityGroupRuleDescription.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: String, location_name: "SecurityGroupRuleId"))
|
9860
|
-
SecurityGroupRuleDescription.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
9861
|
-
SecurityGroupRuleDescription.struct_class = Types::SecurityGroupRuleDescription
|
9862
|
-
|
9863
|
-
SecurityGroupRuleDescriptionList.member = Shapes::ShapeRef.new(shape: SecurityGroupRuleDescription, location_name: "item")
|
9864
|
-
|
9865
|
-
SecurityGroupRuleIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
9866
|
-
|
9867
|
-
SecurityGroupRuleList.member = Shapes::ShapeRef.new(shape: SecurityGroupRule, location_name: "item")
|
9868
|
-
|
9869
|
-
SecurityGroupRuleRequest.add_member(:ip_protocol, Shapes::ShapeRef.new(shape: String, location_name: "IpProtocol"))
|
9870
|
-
SecurityGroupRuleRequest.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "FromPort"))
|
9871
|
-
SecurityGroupRuleRequest.add_member(:to_port, Shapes::ShapeRef.new(shape: Integer, location_name: "ToPort"))
|
9872
|
-
SecurityGroupRuleRequest.add_member(:cidr_ipv_4, Shapes::ShapeRef.new(shape: String, location_name: "CidrIpv4"))
|
9873
|
-
SecurityGroupRuleRequest.add_member(:cidr_ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "CidrIpv6"))
|
9874
|
-
SecurityGroupRuleRequest.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, location_name: "PrefixListId"))
|
9875
|
-
SecurityGroupRuleRequest.add_member(:referenced_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "ReferencedGroupId"))
|
9876
|
-
SecurityGroupRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
9877
|
-
SecurityGroupRuleRequest.struct_class = Types::SecurityGroupRuleRequest
|
9878
|
-
|
9879
|
-
SecurityGroupRuleUpdate.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "SecurityGroupRuleId"))
|
9880
|
-
SecurityGroupRuleUpdate.add_member(:security_group_rule, Shapes::ShapeRef.new(shape: SecurityGroupRuleRequest, location_name: "SecurityGroupRule"))
|
9881
|
-
SecurityGroupRuleUpdate.struct_class = Types::SecurityGroupRuleUpdate
|
9882
|
-
|
9883
|
-
SecurityGroupRuleUpdateList.member = Shapes::ShapeRef.new(shape: SecurityGroupRuleUpdate, location_name: "item")
|
9884
|
-
|
9885
9812
|
SecurityGroupStringList.member = Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "SecurityGroup")
|
9886
9813
|
|
9887
9814
|
SendDiagnosticInterruptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -10804,8 +10731,7 @@ module Aws::EC2
|
|
10804
10731
|
UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10805
10732
|
UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "GroupId"))
|
10806
10733
|
UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "GroupName"))
|
10807
|
-
UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "IpPermissions"))
|
10808
|
-
UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:security_group_rule_descriptions, Shapes::ShapeRef.new(shape: SecurityGroupRuleDescriptionList, location_name: "SecurityGroupRuleDescription"))
|
10734
|
+
UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, required: true, location_name: "IpPermissions"))
|
10809
10735
|
UpdateSecurityGroupRuleDescriptionsEgressRequest.struct_class = Types::UpdateSecurityGroupRuleDescriptionsEgressRequest
|
10810
10736
|
|
10811
10737
|
UpdateSecurityGroupRuleDescriptionsEgressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -10814,8 +10740,7 @@ module Aws::EC2
|
|
10814
10740
|
UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10815
10741
|
UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "GroupId"))
|
10816
10742
|
UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "GroupName"))
|
10817
|
-
UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "IpPermissions"))
|
10818
|
-
UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:security_group_rule_descriptions, Shapes::ShapeRef.new(shape: SecurityGroupRuleDescriptionList, location_name: "SecurityGroupRuleDescription"))
|
10743
|
+
UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, required: true, location_name: "IpPermissions"))
|
10819
10744
|
UpdateSecurityGroupRuleDescriptionsIngressRequest.struct_class = Types::UpdateSecurityGroupRuleDescriptionsIngressRequest
|
10820
10745
|
|
10821
10746
|
UpdateSecurityGroupRuleDescriptionsIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -10843,7 +10768,6 @@ module Aws::EC2
|
|
10843
10768
|
UserIdGroupPair.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
|
10844
10769
|
UserIdGroupPair.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
10845
10770
|
UserIdGroupPair.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
10846
|
-
UserIdGroupPair.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "securityGroupRuleId"))
|
10847
10771
|
UserIdGroupPair.struct_class = Types::UserIdGroupPair
|
10848
10772
|
|
10849
10773
|
UserIdGroupPairList.member = Shapes::ShapeRef.new(shape: UserIdGroupPair, location_name: "item")
|
@@ -11444,7 +11368,7 @@ module Aws::EC2
|
|
11444
11368
|
o.http_method = "POST"
|
11445
11369
|
o.http_request_uri = "/"
|
11446
11370
|
o.input = Shapes::ShapeRef.new(shape: AuthorizeSecurityGroupEgressRequest)
|
11447
|
-
o.output = Shapes::ShapeRef.new(shape:
|
11371
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
11448
11372
|
end)
|
11449
11373
|
|
11450
11374
|
api.add_operation(:authorize_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
|
@@ -11452,7 +11376,7 @@ module Aws::EC2
|
|
11452
11376
|
o.http_method = "POST"
|
11453
11377
|
o.http_request_uri = "/"
|
11454
11378
|
o.input = Shapes::ShapeRef.new(shape: AuthorizeSecurityGroupIngressRequest)
|
11455
|
-
o.output = Shapes::ShapeRef.new(shape:
|
11379
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
11456
11380
|
end)
|
11457
11381
|
|
11458
11382
|
api.add_operation(:bundle_instance, Seahorse::Model::Operation.new.tap do |o|
|
@@ -13510,20 +13434,6 @@ module Aws::EC2
|
|
13510
13434
|
o.output = Shapes::ShapeRef.new(shape: DescribeSecurityGroupReferencesResult)
|
13511
13435
|
end)
|
13512
13436
|
|
13513
|
-
api.add_operation(:describe_security_group_rules, Seahorse::Model::Operation.new.tap do |o|
|
13514
|
-
o.name = "DescribeSecurityGroupRules"
|
13515
|
-
o.http_method = "POST"
|
13516
|
-
o.http_request_uri = "/"
|
13517
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeSecurityGroupRulesRequest)
|
13518
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeSecurityGroupRulesResult)
|
13519
|
-
o[:pager] = Aws::Pager.new(
|
13520
|
-
limit_key: "max_results",
|
13521
|
-
tokens: {
|
13522
|
-
"next_token" => "next_token"
|
13523
|
-
}
|
13524
|
-
)
|
13525
|
-
end)
|
13526
|
-
|
13527
13437
|
api.add_operation(:describe_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
13528
13438
|
o.name = "DescribeSecurityGroups"
|
13529
13439
|
o.http_method = "POST"
|
@@ -14094,6 +14004,14 @@ module Aws::EC2
|
|
14094
14004
|
o.output = Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoresResult)
|
14095
14005
|
end)
|
14096
14006
|
|
14007
|
+
api.add_operation(:disable_image_deprecation, Seahorse::Model::Operation.new.tap do |o|
|
14008
|
+
o.name = "DisableImageDeprecation"
|
14009
|
+
o.http_method = "POST"
|
14010
|
+
o.http_request_uri = "/"
|
14011
|
+
o.input = Shapes::ShapeRef.new(shape: DisableImageDeprecationRequest)
|
14012
|
+
o.output = Shapes::ShapeRef.new(shape: DisableImageDeprecationResult)
|
14013
|
+
end)
|
14014
|
+
|
14097
14015
|
api.add_operation(:disable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
|
14098
14016
|
o.name = "DisableSerialConsoleAccess"
|
14099
14017
|
o.http_method = "POST"
|
@@ -14222,6 +14140,14 @@ module Aws::EC2
|
|
14222
14140
|
o.output = Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoresResult)
|
14223
14141
|
end)
|
14224
14142
|
|
14143
|
+
api.add_operation(:enable_image_deprecation, Seahorse::Model::Operation.new.tap do |o|
|
14144
|
+
o.name = "EnableImageDeprecation"
|
14145
|
+
o.http_method = "POST"
|
14146
|
+
o.http_request_uri = "/"
|
14147
|
+
o.input = Shapes::ShapeRef.new(shape: EnableImageDeprecationRequest)
|
14148
|
+
o.output = Shapes::ShapeRef.new(shape: EnableImageDeprecationResult)
|
14149
|
+
end)
|
14150
|
+
|
14225
14151
|
api.add_operation(:enable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
|
14226
14152
|
o.name = "EnableSerialConsoleAccess"
|
14227
14153
|
o.http_method = "POST"
|
@@ -14764,14 +14690,6 @@ module Aws::EC2
|
|
14764
14690
|
o.output = Shapes::ShapeRef.new(shape: ModifyReservedInstancesResult)
|
14765
14691
|
end)
|
14766
14692
|
|
14767
|
-
api.add_operation(:modify_security_group_rules, Seahorse::Model::Operation.new.tap do |o|
|
14768
|
-
o.name = "ModifySecurityGroupRules"
|
14769
|
-
o.http_method = "POST"
|
14770
|
-
o.http_request_uri = "/"
|
14771
|
-
o.input = Shapes::ShapeRef.new(shape: ModifySecurityGroupRulesRequest)
|
14772
|
-
o.output = Shapes::ShapeRef.new(shape: ModifySecurityGroupRulesResult)
|
14773
|
-
end)
|
14774
|
-
|
14775
14693
|
api.add_operation(:modify_snapshot_attribute, Seahorse::Model::Operation.new.tap do |o|
|
14776
14694
|
o.name = "ModifySnapshotAttribute"
|
14777
14695
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -222,6 +222,14 @@ module Aws::EC2
|
|
222
222
|
data[:boot_mode]
|
223
223
|
end
|
224
224
|
|
225
|
+
# The date and time to deprecate the AMI, in UTC, in the following
|
226
|
+
# format: *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z. If you specified a value
|
227
|
+
# for seconds, Amazon EC2 rounds the seconds to the nearest minute.
|
228
|
+
# @return [String]
|
229
|
+
def deprecation_time
|
230
|
+
data[:deprecation_time]
|
231
|
+
end
|
232
|
+
|
225
233
|
# @!endgroup
|
226
234
|
|
227
235
|
# @return [Client]
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -668,7 +668,7 @@ module Aws::EC2
|
|
668
668
|
# no_reboot: false,
|
669
669
|
# tag_specifications: [
|
670
670
|
# {
|
671
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group,
|
671
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
672
672
|
# tags: [
|
673
673
|
# {
|
674
674
|
# key: "String",
|
@@ -142,6 +142,13 @@ module Aws::EC2
|
|
142
142
|
data[:tags]
|
143
143
|
end
|
144
144
|
|
145
|
+
# Indicates whether the NAT gateway supports public or private
|
146
|
+
# connectivity.
|
147
|
+
# @return [String]
|
148
|
+
def connectivity_type
|
149
|
+
data[:connectivity_type]
|
150
|
+
end
|
151
|
+
|
145
152
|
# @!endgroup
|
146
153
|
|
147
154
|
# @return [Client]
|