aws-sdk-ec2 1.261.0 → 1.265.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1085,6 +1085,7 @@ module Aws::EC2
1085
1085
  FpgaImageStateCode = Shapes::StringShape.new(name: 'FpgaImageStateCode')
1086
1086
  FpgaInfo = Shapes::StructureShape.new(name: 'FpgaInfo')
1087
1087
  FreeTierEligibleFlag = Shapes::BooleanShape.new(name: 'FreeTierEligibleFlag')
1088
+ GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
1088
1089
  GatewayType = Shapes::StringShape.new(name: 'GatewayType')
1089
1090
  GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
1090
1091
  GetAssociatedEnclaveCertificateIamRolesResult = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesResult')
@@ -1138,6 +1139,10 @@ module Aws::EC2
1138
1139
  GetTransitGatewayRouteTableAssociationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayRouteTableAssociationsResult')
1139
1140
  GetTransitGatewayRouteTablePropagationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayRouteTablePropagationsRequest')
1140
1141
  GetTransitGatewayRouteTablePropagationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayRouteTablePropagationsResult')
1142
+ GetVpnConnectionDeviceSampleConfigurationRequest = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceSampleConfigurationRequest')
1143
+ GetVpnConnectionDeviceSampleConfigurationResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceSampleConfigurationResult')
1144
+ GetVpnConnectionDeviceTypesRequest = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesRequest')
1145
+ GetVpnConnectionDeviceTypesResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesResult')
1141
1146
  GpuDeviceCount = Shapes::IntegerShape.new(name: 'GpuDeviceCount')
1142
1147
  GpuDeviceInfo = Shapes::StructureShape.new(name: 'GpuDeviceInfo')
1143
1148
  GpuDeviceInfoList = Shapes::ListShape.new(name: 'GpuDeviceInfoList')
@@ -2336,6 +2341,10 @@ module Aws::EC2
2336
2341
  VpcState = Shapes::StringShape.new(name: 'VpcState')
2337
2342
  VpcTenancy = Shapes::StringShape.new(name: 'VpcTenancy')
2338
2343
  VpnConnection = Shapes::StructureShape.new(name: 'VpnConnection')
2344
+ VpnConnectionDeviceSampleConfiguration = Shapes::StringShape.new(name: 'VpnConnectionDeviceSampleConfiguration')
2345
+ VpnConnectionDeviceType = Shapes::StructureShape.new(name: 'VpnConnectionDeviceType')
2346
+ VpnConnectionDeviceTypeId = Shapes::StringShape.new(name: 'VpnConnectionDeviceTypeId')
2347
+ VpnConnectionDeviceTypeList = Shapes::ListShape.new(name: 'VpnConnectionDeviceTypeList')
2339
2348
  VpnConnectionId = Shapes::StringShape.new(name: 'VpnConnectionId')
2340
2349
  VpnConnectionIdStringList = Shapes::ListShape.new(name: 'VpnConnectionIdStringList')
2341
2350
  VpnConnectionList = Shapes::ListShape.new(name: 'VpnConnectionList')
@@ -4064,6 +4073,7 @@ module Aws::EC2
4064
4073
  CreateVpcPeeringConnectionResult.add_member(:vpc_peering_connection, Shapes::ShapeRef.new(shape: VpcPeeringConnection, location_name: "vpcPeeringConnection"))
4065
4074
  CreateVpcPeeringConnectionResult.struct_class = Types::CreateVpcPeeringConnectionResult
4066
4075
 
4076
+ CreateVpcRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
4067
4077
  CreateVpcRequest.add_member(:amazon_provided_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: Boolean, location_name: "amazonProvidedIpv6CidrBlock"))
4068
4078
  CreateVpcRequest.add_member(:ipv_6_pool, Shapes::ShapeRef.new(shape: Ipv6PoolEc2Id, location_name: "Ipv6Pool"))
4069
4079
  CreateVpcRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
@@ -4071,7 +4081,6 @@ module Aws::EC2
4071
4081
  CreateVpcRequest.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
4072
4082
  CreateVpcRequest.add_member(:ipv_6_cidr_block_network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlockNetworkBorderGroup"))
4073
4083
  CreateVpcRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4074
- CreateVpcRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
4075
4084
  CreateVpcRequest.struct_class = Types::CreateVpcRequest
4076
4085
 
4077
4086
  CreateVpcResult.add_member(:vpc, Shapes::ShapeRef.new(shape: Vpc, location_name: "vpc"))
@@ -6169,7 +6178,7 @@ module Aws::EC2
6169
6178
 
6170
6179
  EbsBlockDevice.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
6171
6180
  EbsBlockDevice.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
6172
- EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
6181
+ EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
6173
6182
  EbsBlockDevice.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
6174
6183
  EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
6175
6184
  EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
@@ -6922,6 +6931,24 @@ module Aws::EC2
6922
6931
  GetTransitGatewayRouteTablePropagationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
6923
6932
  GetTransitGatewayRouteTablePropagationsResult.struct_class = Types::GetTransitGatewayRouteTablePropagationsResult
6924
6933
 
6934
+ GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
6935
+ GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeId, required: true, location_name: "VpnConnectionDeviceTypeId"))
6936
+ GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:internet_key_exchange_version, Shapes::ShapeRef.new(shape: String, location_name: "InternetKeyExchangeVersion"))
6937
+ GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6938
+ GetVpnConnectionDeviceSampleConfigurationRequest.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationRequest
6939
+
6940
+ GetVpnConnectionDeviceSampleConfigurationResult.add_member(:vpn_connection_device_sample_configuration, Shapes::ShapeRef.new(shape: VpnConnectionDeviceSampleConfiguration, location_name: "vpnConnectionDeviceSampleConfiguration"))
6941
+ GetVpnConnectionDeviceSampleConfigurationResult.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationResult
6942
+
6943
+ GetVpnConnectionDeviceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GVCDMaxResults, location_name: "MaxResults"))
6944
+ GetVpnConnectionDeviceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
6945
+ GetVpnConnectionDeviceTypesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6946
+ GetVpnConnectionDeviceTypesRequest.struct_class = Types::GetVpnConnectionDeviceTypesRequest
6947
+
6948
+ GetVpnConnectionDeviceTypesResult.add_member(:vpn_connection_device_types, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeList, location_name: "vpnConnectionDeviceTypeSet"))
6949
+ GetVpnConnectionDeviceTypesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
6950
+ GetVpnConnectionDeviceTypesResult.struct_class = Types::GetVpnConnectionDeviceTypesResult
6951
+
6925
6952
  GpuDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: GpuDeviceName, location_name: "name"))
6926
6953
  GpuDeviceInfo.add_member(:manufacturer, Shapes::ShapeRef.new(shape: GpuDeviceManufacturerName, location_name: "manufacturer"))
6927
6954
  GpuDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: GpuDeviceCount, location_name: "count"))
@@ -6937,7 +6964,7 @@ module Aws::EC2
6937
6964
  GpuInfo.add_member(:total_gpu_memory_in_mi_b, Shapes::ShapeRef.new(shape: totalGpuMemory, location_name: "totalGpuMemoryInMiB"))
6938
6965
  GpuInfo.struct_class = Types::GpuInfo
6939
6966
 
6940
- GroupIdStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "groupId")
6967
+ GroupIdStringList.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId")
6941
6968
 
6942
6969
  GroupIdentifier.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
6943
6970
  GroupIdentifier.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
@@ -7366,6 +7393,9 @@ module Aws::EC2
7366
7393
  Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "metadataOptions"))
7367
7394
  Instance.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptions, location_name: "enclaveOptions"))
7368
7395
  Instance.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
7396
+ Instance.add_member(:platform_details, Shapes::ShapeRef.new(shape: String, location_name: "platformDetails"))
7397
+ Instance.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
7398
+ Instance.add_member(:usage_operation_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "usageOperationUpdateTime"))
7369
7399
  Instance.struct_class = Types::Instance
7370
7400
 
7371
7401
  InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
@@ -9103,7 +9133,7 @@ module Aws::EC2
9103
9133
 
9104
9134
  Placement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
9105
9135
  Placement.add_member(:affinity, Shapes::ShapeRef.new(shape: String, location_name: "affinity"))
9106
- Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
9136
+ Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
9107
9137
  Placement.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "partitionNumber"))
9108
9138
  Placement.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
9109
9139
  Placement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
@@ -9130,7 +9160,7 @@ module Aws::EC2
9130
9160
 
9131
9161
  PlacementGroupStringList.member = Shapes::ShapeRef.new(shape: PlacementGroupName)
9132
9162
 
9133
- PlacementResponse.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
9163
+ PlacementResponse.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
9134
9164
  PlacementResponse.struct_class = Types::PlacementResponse
9135
9165
 
9136
9166
  PoolCidrBlock.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "poolCidrBlock"))
@@ -10140,10 +10170,10 @@ module Aws::EC2
10140
10170
  ScheduledInstancesSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId")
10141
10171
 
10142
10172
  SearchLocalGatewayRoutesRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
10143
- SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "Filter"))
10144
10173
  SearchLocalGatewayRoutesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
10145
10174
  SearchLocalGatewayRoutesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
10146
10175
  SearchLocalGatewayRoutesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
10176
+ SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "Filter"))
10147
10177
  SearchLocalGatewayRoutesRequest.struct_class = Types::SearchLocalGatewayRoutesRequest
10148
10178
 
10149
10179
  SearchLocalGatewayRoutesResult.add_member(:routes, Shapes::ShapeRef.new(shape: LocalGatewayRouteList, location_name: "routeSet"))
@@ -10374,16 +10404,16 @@ module Aws::EC2
10374
10404
  SpotFleetLaunchSpecification.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
10375
10405
  SpotFleetLaunchSpecification.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
10376
10406
  SpotFleetLaunchSpecification.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfileSpecification, location_name: "iamInstanceProfile"))
10377
- SpotFleetLaunchSpecification.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
10407
+ SpotFleetLaunchSpecification.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
10378
10408
  SpotFleetLaunchSpecification.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
10379
10409
  SpotFleetLaunchSpecification.add_member(:kernel_id, Shapes::ShapeRef.new(shape: String, location_name: "kernelId"))
10380
- SpotFleetLaunchSpecification.add_member(:key_name, Shapes::ShapeRef.new(shape: String, location_name: "keyName"))
10410
+ SpotFleetLaunchSpecification.add_member(:key_name, Shapes::ShapeRef.new(shape: KeyPairName, location_name: "keyName"))
10381
10411
  SpotFleetLaunchSpecification.add_member(:monitoring, Shapes::ShapeRef.new(shape: SpotFleetMonitoring, location_name: "monitoring"))
10382
10412
  SpotFleetLaunchSpecification.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecificationList, location_name: "networkInterfaceSet"))
10383
10413
  SpotFleetLaunchSpecification.add_member(:placement, Shapes::ShapeRef.new(shape: SpotPlacement, location_name: "placement"))
10384
10414
  SpotFleetLaunchSpecification.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: String, location_name: "ramdiskId"))
10385
10415
  SpotFleetLaunchSpecification.add_member(:spot_price, Shapes::ShapeRef.new(shape: String, location_name: "spotPrice"))
10386
- SpotFleetLaunchSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
10416
+ SpotFleetLaunchSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
10387
10417
  SpotFleetLaunchSpecification.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "userData"))
10388
10418
  SpotFleetLaunchSpecification.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
10389
10419
  SpotFleetLaunchSpecification.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: SpotFleetTagSpecificationList, location_name: "tagSpecificationSet"))
@@ -10502,7 +10532,7 @@ module Aws::EC2
10502
10532
  SpotOptionsRequest.struct_class = Types::SpotOptionsRequest
10503
10533
 
10504
10534
  SpotPlacement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
10505
- SpotPlacement.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
10535
+ SpotPlacement.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
10506
10536
  SpotPlacement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
10507
10537
  SpotPlacement.struct_class = Types::SpotPlacement
10508
10538
 
@@ -11502,6 +11532,14 @@ module Aws::EC2
11502
11532
  VpnConnection.add_member(:vgw_telemetry, Shapes::ShapeRef.new(shape: VgwTelemetryList, location_name: "vgwTelemetry"))
11503
11533
  VpnConnection.struct_class = Types::VpnConnection
11504
11534
 
11535
+ VpnConnectionDeviceType.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: String, location_name: "vpnConnectionDeviceTypeId"))
11536
+ VpnConnectionDeviceType.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "vendor"))
11537
+ VpnConnectionDeviceType.add_member(:platform, Shapes::ShapeRef.new(shape: String, location_name: "platform"))
11538
+ VpnConnectionDeviceType.add_member(:software, Shapes::ShapeRef.new(shape: String, location_name: "software"))
11539
+ VpnConnectionDeviceType.struct_class = Types::VpnConnectionDeviceType
11540
+
11541
+ VpnConnectionDeviceTypeList.member = Shapes::ShapeRef.new(shape: VpnConnectionDeviceType, location_name: "item")
11542
+
11505
11543
  VpnConnectionIdStringList.member = Shapes::ShapeRef.new(shape: VpnConnectionId, location_name: "VpnConnectionId")
11506
11544
 
11507
11545
  VpnConnectionList.member = Shapes::ShapeRef.new(shape: VpnConnection, location_name: "item")
@@ -15038,6 +15076,28 @@ module Aws::EC2
15038
15076
  )
15039
15077
  end)
15040
15078
 
15079
+ api.add_operation(:get_vpn_connection_device_sample_configuration, Seahorse::Model::Operation.new.tap do |o|
15080
+ o.name = "GetVpnConnectionDeviceSampleConfiguration"
15081
+ o.http_method = "POST"
15082
+ o.http_request_uri = "/"
15083
+ o.input = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceSampleConfigurationRequest)
15084
+ o.output = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceSampleConfigurationResult)
15085
+ end)
15086
+
15087
+ api.add_operation(:get_vpn_connection_device_types, Seahorse::Model::Operation.new.tap do |o|
15088
+ o.name = "GetVpnConnectionDeviceTypes"
15089
+ o.http_method = "POST"
15090
+ o.http_request_uri = "/"
15091
+ o.input = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceTypesRequest)
15092
+ o.output = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceTypesResult)
15093
+ o[:pager] = Aws::Pager.new(
15094
+ limit_key: "max_results",
15095
+ tokens: {
15096
+ "next_token" => "next_token"
15097
+ }
15098
+ )
15099
+ end)
15100
+
15041
15101
  api.add_operation(:import_client_vpn_client_certificate_revocation_list, Seahorse::Model::Operation.new.tap do |o|
15042
15102
  o.name = "ImportClientVpnClientCertificateRevocationList"
15043
15103
  o.http_method = "POST"
@@ -74,7 +74,7 @@ module Aws::EC2
74
74
  data[:kernel_id]
75
75
  end
76
76
 
77
- # The AWS account ID of the image owner.
77
+ # The ID of the Amazon Web Services account that owns the image.
78
78
  # @return [String]
79
79
  def owner_id
80
80
  data[:owner_id]
@@ -88,8 +88,8 @@ module Aws::EC2
88
88
  end
89
89
 
90
90
  # The platform details associated with the billing code of the AMI. For
91
- # more information, see [Obtaining Billing Information][1] in the
92
- # *Amazon Elastic Compute Cloud User Guide*.
91
+ # more information, see [Understanding AMI billing][1] in the *Amazon
92
+ # Elastic Compute Cloud User Guide*.
93
93
  #
94
94
  #
95
95
  #
@@ -101,16 +101,19 @@ module Aws::EC2
101
101
 
102
102
  # The operation of the Amazon EC2 instance and the billing code that is
103
103
  # associated with the AMI. `usageOperation` corresponds to the
104
- # [lineitem/Operation][1] column on your AWS Cost and Usage Report and
105
- # in the [AWS Price List API][2]. For the list of `UsageOperation`
106
- # codes, see [Platform Details and Usage Operation Billing Codes][3] in
107
- # the *Amazon Elastic Compute Cloud User Guide*.
104
+ # [lineitem/Operation][1] column on your Amazon Web Services Cost and
105
+ # Usage Report and in the [Amazon Web Services Price List API][2]. You
106
+ # can view these fields on the **Instances** or **AMIs** pages in the
107
+ # Amazon EC2 console, or in the responses that are returned by the
108
+ # [DescribeImages][3] command in the Amazon EC2 API, or the
109
+ # [describe-images][4] command in the CLI.
108
110
  #
109
111
  #
110
112
  #
111
113
  # [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
112
114
  # [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
113
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
115
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
116
+ # [4]: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html
114
117
  # @return [String]
115
118
  def usage_operation
116
119
  data[:usage_operation]
@@ -160,8 +163,8 @@ module Aws::EC2
160
163
  data[:hypervisor]
161
164
  end
162
165
 
163
- # The AWS account alias (for example, `amazon`, `self`) or the AWS
164
- # account ID of the AMI owner.
166
+ # The Amazon Web Services account alias (for example, `amazon`, `self`)
167
+ # or the Amazon Web Services account ID of the AMI owner.
165
168
  # @return [String]
166
169
  def image_owner_alias
167
170
  data[:image_owner_alias]
@@ -179,8 +182,8 @@ module Aws::EC2
179
182
  data[:root_device_name]
180
183
  end
181
184
 
182
- # The type of root device used by the AMI. The AMI can use an EBS volume
183
- # or an instance store volume.
185
+ # The type of root device used by the AMI. The AMI can use an Amazon EBS
186
+ # volume or an instance store volume.
184
187
  # @return [String]
185
188
  def root_device_type
186
189
  data[:root_device_type]
@@ -549,7 +552,7 @@ module Aws::EC2
549
552
  # @param [Hash] options ({})
550
553
  # @option options [String] :attribute
551
554
  # The name of the attribute to modify. The valid values are
552
- # `description`, `launchPermission`, and `productCodes`.
555
+ # `description` and `launchPermission`.
553
556
  # @option options [Types::AttributeValue] :description
554
557
  # A new description for the AMI.
555
558
  # @option options [Types::LaunchPermissionModifications] :launch_permission
@@ -558,18 +561,16 @@ module Aws::EC2
558
561
  # The operation type. This parameter can be used only when the
559
562
  # `Attribute` parameter is `launchPermission`.
560
563
  # @option options [Array<String>] :product_codes
561
- # The DevPay product codes. After you add a product code to an AMI, it
562
- # can't be removed.
564
+ # Not supported.
563
565
  # @option options [Array<String>] :user_groups
564
566
  # The user groups. This parameter can be used only when the `Attribute`
565
567
  # parameter is `launchPermission`.
566
568
  # @option options [Array<String>] :user_ids
567
- # The AWS account IDs. This parameter can be used only when the
568
- # `Attribute` parameter is `launchPermission`.
569
+ # The Amazon Web Services account IDs. This parameter can be used only
570
+ # when the `Attribute` parameter is `launchPermission`.
569
571
  # @option options [String] :value
570
572
  # The value of the attribute being modified. This parameter can be used
571
- # only when the `Attribute` parameter is `description` or
572
- # `productCodes`.
573
+ # only when the `Attribute` parameter is `description`.
573
574
  # @option options [Boolean] :dry_run
574
575
  # Checks whether you have the required permissions for the action,
575
576
  # without actually making the request, and provides an error response.
@@ -319,7 +319,7 @@ module Aws::EC2
319
319
  data[:hibernation_options]
320
320
  end
321
321
 
322
- # The license configurations.
322
+ # The license configurations for the instance.
323
323
  # @return [Array<Types::LicenseConfiguration>]
324
324
  def licenses
325
325
  data[:licenses]
@@ -349,6 +349,34 @@ module Aws::EC2
349
349
  data[:boot_mode]
350
350
  end
351
351
 
352
+ # The platform details value for the instance. For more information, see
353
+ # [AMI billing information fields][1] in the *Amazon EC2 User Guide*.
354
+ #
355
+ #
356
+ #
357
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
358
+ # @return [String]
359
+ def platform_details
360
+ data[:platform_details]
361
+ end
362
+
363
+ # The usage operation value for the instance. For more information, see
364
+ # [AMI billing information fields][1] in the *Amazon EC2 User Guide*.
365
+ #
366
+ #
367
+ #
368
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
369
+ # @return [String]
370
+ def usage_operation
371
+ data[:usage_operation]
372
+ end
373
+
374
+ # The time that the usage operation was last updated.
375
+ # @return [Time]
376
+ def usage_operation_update_time
377
+ data[:usage_operation_update_time]
378
+ end
379
+
352
380
  # @!endgroup
353
381
 
354
382
  # @return [Client]
@@ -573,7 +601,7 @@ module Aws::EC2
573
601
  #
574
602
  # instance.attach_classic_link_vpc({
575
603
  # dry_run: false,
576
- # groups: ["String"], # required
604
+ # groups: ["SecurityGroupId"], # required
577
605
  # vpc_id: "VpcId", # required
578
606
  # })
579
607
  # @param [Hash] options ({})
@@ -652,7 +680,7 @@ module Aws::EC2
652
680
  # ebs: {
653
681
  # delete_on_termination: false,
654
682
  # iops: 1,
655
- # snapshot_id: "String",
683
+ # snapshot_id: "SnapshotId",
656
684
  # volume_size: 1,
657
685
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
658
686
  # kms_key_id: "String",
@@ -669,7 +697,7 @@ module Aws::EC2
669
697
  # no_reboot: false,
670
698
  # tag_specifications: [
671
699
  # {
672
- # 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, instance-event-window, 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, security-group-rule, 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
700
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, instance-event-window, internet-gateway, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
673
701
  # tags: [
674
702
  # {
675
703
  # key: "String",
@@ -700,9 +728,11 @@ module Aws::EC2
700
728
  # @option options [Boolean] :no_reboot
701
729
  # By default, Amazon EC2 attempts to shut down and reboot the instance
702
730
  # before creating the image. If the `No Reboot` option is set, Amazon
703
- # EC2 doesn't shut down the instance before creating the image. When
704
- # this option is used, file system integrity on the created image can't
705
- # be guaranteed.
731
+ # EC2 doesn't shut down the instance before creating the image. Without
732
+ # a reboot, the AMI will be crash consistent (all the volumes are
733
+ # snapshotted at the same time), but not application consistent (all the
734
+ # operating system buffers are not flushed to disk before the snapshots
735
+ # are created).
706
736
  # @option options [Array<Types::TagSpecification>] :tag_specifications
707
737
  # The tags to apply to the AMI and snapshots on creation. You can tag
708
738
  # the AMI, the snapshots, or both.
@@ -710,9 +740,9 @@ module Aws::EC2
710
740
  # * To tag the AMI, the value for `ResourceType` must be `image`.
711
741
  #
712
742
  # * To tag the snapshots that are created of the root volume and of
713
- # other EBS volumes that are attached to the instance, the value for
714
- # `ResourceType` must be `snapshot`. The same tag is applied to all of
715
- # the snapshots that are created.
743
+ # other Amazon EBS volumes that are attached to the instance, the
744
+ # value for `ResourceType` must be `snapshot`. The same tag is applied
745
+ # to all of the snapshots that are created.
716
746
  #
717
747
  # If you specify other values for `ResourceType`, the request fails.
718
748
  #
@@ -918,7 +948,7 @@ module Aws::EC2
918
948
  # ena_support: {
919
949
  # value: false,
920
950
  # },
921
- # groups: ["String"],
951
+ # groups: ["SecurityGroupId"],
922
952
  # instance_initiated_shutdown_behavior: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
923
953
  # instance_type: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
924
954
  # kernel: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>