aws-sdk-ec2 1.0.0.rc13 → 1.0.0.rc15

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a28084415dd327302cfbbb9e20b1c2d25be8fbe0
4
- data.tar.gz: ccaf5d60a5dc1bd9cb43f2ac01e7683eced9da9f
3
+ metadata.gz: bb5b2c5608275e4718b83cceb4f5d5c25f28cd4c
4
+ data.tar.gz: 4fde3ee0e5d5ad372f49855d5bfdf2b2627e3688
5
5
  SHA512:
6
- metadata.gz: 9a56f1500f05b75fa6a26fcb3f0769879a82b71525b0c59c7bd6104eb019105cd0539529ae68251964d48b223eb6105537a0a561401d45048341d1546cdad3fd
7
- data.tar.gz: 4234fc1a4aafdbdd1402b28609248aab49a997710c2a77e25d2dd2b07435ff71104e45c29ed6a584800abdc786a1e57d5eaa0b15a4e9407edeb77952d409d2d7
6
+ metadata.gz: 37ed2839221a08c12936e6ed50c298106c3ce0ed833b7d84cdefd7bd53af9021ecdd8e784a9005f89c4fa00a64afb508b8d50fd419543b39734df468504cdec4
7
+ data.tar.gz: 589f6cc70dba14f2cd7f26acb97ded670755e613fcdda80e6dcea32569a38936b731b762a50f84045f5a44a425f4c2dd3f9bfd257156e3eb4b2a8cdd9be77535
data/lib/aws-sdk-ec2.rb CHANGED
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.0.0.rc13'
68
+ GEM_VERSION = '1.0.0.rc15'
69
69
 
70
70
  end
@@ -2416,6 +2416,68 @@ module Aws::EC2
2416
2416
  req.send_request(options)
2417
2417
  end
2418
2418
 
2419
+ # Creates a default VPC with a size `/16` IPv4 CIDR block and a default
2420
+ # subnet in each Availability Zone. For more information about the
2421
+ # components of a default VPC, see [Default VPC and Default Subnets][1]
2422
+ # in the *Amazon Virtual Private Cloud User Guide*. You cannot specify
2423
+ # the components of the default VPC yourself.
2424
+ #
2425
+ # You can create a default VPC if you deleted your previous default VPC.
2426
+ # You cannot have more than one default VPC per region.
2427
+ #
2428
+ # If your account supports EC2-Classic, you cannot use this action to
2429
+ # create a default VPC in a region that supports EC2-Classic. If you
2430
+ # want a default VPC in a region that supports EC2-Classic, see "I
2431
+ # really want a default VPC for my existing EC2 account. Is that
2432
+ # possible?" in the [Default VPCs FAQ][2].
2433
+ #
2434
+ #
2435
+ #
2436
+ # [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html
2437
+ # [2]: http://aws.amazon.com/vpc/faqs/#Default_VPCs
2438
+ #
2439
+ # @option params [Boolean] :dry_run
2440
+ # Checks whether you have the required permissions for the action,
2441
+ # without actually making the request, and provides an error response.
2442
+ # If you have the required permissions, the error response is
2443
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2444
+ #
2445
+ # @return [Types::CreateDefaultVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2446
+ #
2447
+ # * {Types::CreateDefaultVpcResult#vpc #vpc} => Types::Vpc
2448
+ #
2449
+ # @example Request syntax with placeholder values
2450
+ #
2451
+ # resp = client.create_default_vpc({
2452
+ # dry_run: false,
2453
+ # })
2454
+ #
2455
+ # @example Response structure
2456
+ #
2457
+ # resp.vpc.cidr_block #=> String
2458
+ # resp.vpc.dhcp_options_id #=> String
2459
+ # resp.vpc.state #=> String, one of "pending", "available"
2460
+ # resp.vpc.vpc_id #=> String
2461
+ # resp.vpc.instance_tenancy #=> String, one of "default", "dedicated", "host"
2462
+ # resp.vpc.ipv_6_cidr_block_association_set #=> Array
2463
+ # resp.vpc.ipv_6_cidr_block_association_set[0].association_id #=> String
2464
+ # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
2465
+ # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
2466
+ # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
2467
+ # resp.vpc.is_default #=> Boolean
2468
+ # resp.vpc.tags #=> Array
2469
+ # resp.vpc.tags[0].key #=> String
2470
+ # resp.vpc.tags[0].value #=> String
2471
+ #
2472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc AWS API Documentation
2473
+ #
2474
+ # @overload create_default_vpc(params = {})
2475
+ # @param [Hash] params ({})
2476
+ def create_default_vpc(params = {}, options = {})
2477
+ req = build_request(:create_default_vpc, params)
2478
+ req.send_request(options)
2479
+ end
2480
+
2419
2481
  # Creates a set of DHCP options for your VPC. After creating the set,
2420
2482
  # you must associate it with the VPC, causing all existing and new
2421
2483
  # instances that you launch in the VPC to use this set of DHCP options.
@@ -7251,6 +7313,89 @@ module Aws::EC2
7251
7313
  req.send_request(options)
7252
7314
  end
7253
7315
 
7316
+ # Describes the Elastic GPUs associated with your instances. For more
7317
+ # information about Elastic GPUs, see [Amazon EC2 Elastic GPUs][1].
7318
+ #
7319
+ #
7320
+ #
7321
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-gpus.html
7322
+ #
7323
+ # @option params [Array<String>] :elastic_gpu_ids
7324
+ # One or more Elastic GPU IDs.
7325
+ #
7326
+ # @option params [Boolean] :dry_run
7327
+ # Checks whether you have the required permissions for the action,
7328
+ # without actually making the request, and provides an error response.
7329
+ # If you have the required permissions, the error response is
7330
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
7331
+ #
7332
+ # @option params [Array<Types::Filter>] :filters
7333
+ # One or more filters.
7334
+ #
7335
+ # * `availability-zone` - The Availability Zone in which the Elastic GPU
7336
+ # resides.
7337
+ #
7338
+ # * `elastic-gpu-health` - The status of the Elastic GPU (`OK` \|
7339
+ # `IMPAIRED`).
7340
+ #
7341
+ # * `elastic-gpu-state` - The state of the Elastic GPU (`ATTACHED`).
7342
+ #
7343
+ # * `elastic-gpu-type` - The type of Elastic GPU; for example,
7344
+ # `eg1.medium`.
7345
+ #
7346
+ # * `instance-id` - The ID of the instance to which the Elastic GPU is
7347
+ # associated.
7348
+ #
7349
+ # @option params [Integer] :max_results
7350
+ # The maximum number of results to return in a single call. To retrieve
7351
+ # the remaining results, make another call with the returned `NextToken`
7352
+ # value. This value can be between 5 and 1000.
7353
+ #
7354
+ # @option params [String] :next_token
7355
+ # The token to request the next page of results.
7356
+ #
7357
+ # @return [Types::DescribeElasticGpusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7358
+ #
7359
+ # * {Types::DescribeElasticGpusResult#elastic_gpu_set #elastic_gpu_set} => Array&lt;Types::ElasticGpus&gt;
7360
+ # * {Types::DescribeElasticGpusResult#max_results #max_results} => Integer
7361
+ # * {Types::DescribeElasticGpusResult#next_token #next_token} => String
7362
+ #
7363
+ # @example Request syntax with placeholder values
7364
+ #
7365
+ # resp = client.describe_elastic_gpus({
7366
+ # elastic_gpu_ids: ["String"],
7367
+ # dry_run: false,
7368
+ # filters: [
7369
+ # {
7370
+ # name: "String",
7371
+ # values: ["String"],
7372
+ # },
7373
+ # ],
7374
+ # max_results: 1,
7375
+ # next_token: "String",
7376
+ # })
7377
+ #
7378
+ # @example Response structure
7379
+ #
7380
+ # resp.elastic_gpu_set #=> Array
7381
+ # resp.elastic_gpu_set[0].elastic_gpu_id #=> String
7382
+ # resp.elastic_gpu_set[0].availability_zone #=> String
7383
+ # resp.elastic_gpu_set[0].elastic_gpu_type #=> String
7384
+ # resp.elastic_gpu_set[0].elastic_gpu_health.status #=> String, one of "OK", "IMPAIRED"
7385
+ # resp.elastic_gpu_set[0].elastic_gpu_state #=> String, one of "ATTACHED"
7386
+ # resp.elastic_gpu_set[0].instance_id #=> String
7387
+ # resp.max_results #=> Integer
7388
+ # resp.next_token #=> String
7389
+ #
7390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus AWS API Documentation
7391
+ #
7392
+ # @overload describe_elastic_gpus(params = {})
7393
+ # @param [Hash] params ({})
7394
+ def describe_elastic_gpus(params = {}, options = {})
7395
+ req = build_request(:describe_elastic_gpus, params)
7396
+ req.send_request(options)
7397
+ end
7398
+
7254
7399
  # Describes one or more of your export tasks.
7255
7400
  #
7256
7401
  # @option params [Array<String>] :export_task_ids
@@ -9009,6 +9154,11 @@ module Aws::EC2
9009
9154
  # resp.reservations[0].instances[0].iam_instance_profile.arn #=> String
9010
9155
  # resp.reservations[0].instances[0].iam_instance_profile.id #=> String
9011
9156
  # resp.reservations[0].instances[0].instance_lifecycle #=> String, one of "spot", "scheduled"
9157
+ # resp.reservations[0].instances[0].elastic_gpu_associations #=> Array
9158
+ # resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_id #=> String
9159
+ # resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_id #=> String
9160
+ # resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_state #=> String
9161
+ # resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_time #=> String
9012
9162
  # resp.reservations[0].instances[0].network_interfaces #=> Array
9013
9163
  # resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
9014
9164
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
@@ -19891,6 +20041,9 @@ module Aws::EC2
19891
20041
  # specification. You cannot specify this option if you're launching
19892
20042
  # more than one instance in the request.
19893
20043
  #
20044
+ # @option params [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
20045
+ # An Elastic GPU to associate with the instance.
20046
+ #
19894
20047
  # @option params [Array<Types::TagSpecification>] :tag_specifications
19895
20048
  # The tags to apply to the resources during launch. You can tag
19896
20049
  # instances and volumes. The specified tags are applied to all instances
@@ -19986,6 +20139,11 @@ module Aws::EC2
19986
20139
  # },
19987
20140
  # ],
19988
20141
  # private_ip_address: "String",
20142
+ # elastic_gpu_specification: [
20143
+ # {
20144
+ # type: "String", # required
20145
+ # },
20146
+ # ],
19989
20147
  # tag_specifications: [
19990
20148
  # {
19991
20149
  # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
@@ -20047,6 +20205,11 @@ module Aws::EC2
20047
20205
  # resp.instances[0].iam_instance_profile.arn #=> String
20048
20206
  # resp.instances[0].iam_instance_profile.id #=> String
20049
20207
  # resp.instances[0].instance_lifecycle #=> String, one of "spot", "scheduled"
20208
+ # resp.instances[0].elastic_gpu_associations #=> Array
20209
+ # resp.instances[0].elastic_gpu_associations[0].elastic_gpu_id #=> String
20210
+ # resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_id #=> String
20211
+ # resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_state #=> String
20212
+ # resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_time #=> String
20050
20213
  # resp.instances[0].network_interfaces #=> Array
20051
20214
  # resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
20052
20215
  # resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
@@ -20664,7 +20827,7 @@ module Aws::EC2
20664
20827
  params: params,
20665
20828
  config: config)
20666
20829
  context[:gem_name] = 'aws-sdk-ec2'
20667
- context[:gem_version] = '1.0.0.rc13'
20830
+ context[:gem_version] = '1.0.0.rc15'
20668
20831
  Seahorse::Client::Request.new(handlers, context)
20669
20832
  end
20670
20833
 
@@ -124,6 +124,8 @@ module Aws::EC2
124
124
  CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
125
125
  CreateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'CreateCustomerGatewayRequest')
126
126
  CreateCustomerGatewayResult = Shapes::StructureShape.new(name: 'CreateCustomerGatewayResult')
127
+ CreateDefaultVpcRequest = Shapes::StructureShape.new(name: 'CreateDefaultVpcRequest')
128
+ CreateDefaultVpcResult = Shapes::StructureShape.new(name: 'CreateDefaultVpcResult')
127
129
  CreateDhcpOptionsRequest = Shapes::StructureShape.new(name: 'CreateDhcpOptionsRequest')
128
130
  CreateDhcpOptionsResult = Shapes::StructureShape.new(name: 'CreateDhcpOptionsResult')
129
131
  CreateEgressOnlyInternetGatewayRequest = Shapes::StructureShape.new(name: 'CreateEgressOnlyInternetGatewayRequest')
@@ -236,6 +238,8 @@ module Aws::EC2
236
238
  DescribeDhcpOptionsResult = Shapes::StructureShape.new(name: 'DescribeDhcpOptionsResult')
237
239
  DescribeEgressOnlyInternetGatewaysRequest = Shapes::StructureShape.new(name: 'DescribeEgressOnlyInternetGatewaysRequest')
238
240
  DescribeEgressOnlyInternetGatewaysResult = Shapes::StructureShape.new(name: 'DescribeEgressOnlyInternetGatewaysResult')
241
+ DescribeElasticGpusRequest = Shapes::StructureShape.new(name: 'DescribeElasticGpusRequest')
242
+ DescribeElasticGpusResult = Shapes::StructureShape.new(name: 'DescribeElasticGpusResult')
239
243
  DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
240
244
  DescribeExportTasksResult = Shapes::StructureShape.new(name: 'DescribeExportTasksResult')
241
245
  DescribeFlowLogsRequest = Shapes::StructureShape.new(name: 'DescribeFlowLogsRequest')
@@ -395,6 +399,16 @@ module Aws::EC2
395
399
  EgressOnlyInternetGatewayId = Shapes::StringShape.new(name: 'EgressOnlyInternetGatewayId')
396
400
  EgressOnlyInternetGatewayIdList = Shapes::ListShape.new(name: 'EgressOnlyInternetGatewayIdList')
397
401
  EgressOnlyInternetGatewayList = Shapes::ListShape.new(name: 'EgressOnlyInternetGatewayList')
402
+ ElasticGpuAssociation = Shapes::StructureShape.new(name: 'ElasticGpuAssociation')
403
+ ElasticGpuAssociationList = Shapes::ListShape.new(name: 'ElasticGpuAssociationList')
404
+ ElasticGpuHealth = Shapes::StructureShape.new(name: 'ElasticGpuHealth')
405
+ ElasticGpuIdSet = Shapes::ListShape.new(name: 'ElasticGpuIdSet')
406
+ ElasticGpuSet = Shapes::ListShape.new(name: 'ElasticGpuSet')
407
+ ElasticGpuSpecification = Shapes::StructureShape.new(name: 'ElasticGpuSpecification')
408
+ ElasticGpuSpecifications = Shapes::ListShape.new(name: 'ElasticGpuSpecifications')
409
+ ElasticGpuState = Shapes::StringShape.new(name: 'ElasticGpuState')
410
+ ElasticGpuStatus = Shapes::StringShape.new(name: 'ElasticGpuStatus')
411
+ ElasticGpus = Shapes::StructureShape.new(name: 'ElasticGpus')
398
412
  EnableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'EnableVgwRoutePropagationRequest')
399
413
  EnableVolumeIORequest = Shapes::StructureShape.new(name: 'EnableVolumeIORequest')
400
414
  EnableVpcClassicLinkDnsSupportRequest = Shapes::StructureShape.new(name: 'EnableVpcClassicLinkDnsSupportRequest')
@@ -1353,6 +1367,12 @@ module Aws::EC2
1353
1367
  CreateCustomerGatewayResult.add_member(:customer_gateway, Shapes::ShapeRef.new(shape: CustomerGateway, location_name: "customerGateway"))
1354
1368
  CreateCustomerGatewayResult.struct_class = Types::CreateCustomerGatewayResult
1355
1369
 
1370
+ CreateDefaultVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1371
+ CreateDefaultVpcRequest.struct_class = Types::CreateDefaultVpcRequest
1372
+
1373
+ CreateDefaultVpcResult.add_member(:vpc, Shapes::ShapeRef.new(shape: Vpc, location_name: "vpc"))
1374
+ CreateDefaultVpcResult.struct_class = Types::CreateDefaultVpcResult
1375
+
1356
1376
  CreateDhcpOptionsRequest.add_member(:dhcp_configurations, Shapes::ShapeRef.new(shape: NewDhcpConfigurationList, required: true, location_name: "dhcpConfiguration"))
1357
1377
  CreateDhcpOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
1358
1378
  CreateDhcpOptionsRequest.struct_class = Types::CreateDhcpOptionsRequest
@@ -1842,6 +1862,18 @@ module Aws::EC2
1842
1862
  DescribeEgressOnlyInternetGatewaysResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1843
1863
  DescribeEgressOnlyInternetGatewaysResult.struct_class = Types::DescribeEgressOnlyInternetGatewaysResult
1844
1864
 
1865
+ DescribeElasticGpusRequest.add_member(:elastic_gpu_ids, Shapes::ShapeRef.new(shape: ElasticGpuIdSet, location_name: "ElasticGpuId"))
1866
+ DescribeElasticGpusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1867
+ DescribeElasticGpusRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
1868
+ DescribeElasticGpusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
1869
+ DescribeElasticGpusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1870
+ DescribeElasticGpusRequest.struct_class = Types::DescribeElasticGpusRequest
1871
+
1872
+ DescribeElasticGpusResult.add_member(:elastic_gpu_set, Shapes::ShapeRef.new(shape: ElasticGpuSet, location_name: "elasticGpuSet"))
1873
+ DescribeElasticGpusResult.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
1874
+ DescribeElasticGpusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1875
+ DescribeElasticGpusResult.struct_class = Types::DescribeElasticGpusResult
1876
+
1845
1877
  DescribeExportTasksRequest.add_member(:export_task_ids, Shapes::ShapeRef.new(shape: ExportTaskIdStringList, location_name: "exportTaskId"))
1846
1878
  DescribeExportTasksRequest.struct_class = Types::DescribeExportTasksRequest
1847
1879
 
@@ -2569,6 +2601,34 @@ module Aws::EC2
2569
2601
 
2570
2602
  EgressOnlyInternetGatewayList.member = Shapes::ShapeRef.new(shape: EgressOnlyInternetGateway, location_name: "item")
2571
2603
 
2604
+ ElasticGpuAssociation.add_member(:elastic_gpu_id, Shapes::ShapeRef.new(shape: String, location_name: "elasticGpuId"))
2605
+ ElasticGpuAssociation.add_member(:elastic_gpu_association_id, Shapes::ShapeRef.new(shape: String, location_name: "elasticGpuAssociationId"))
2606
+ ElasticGpuAssociation.add_member(:elastic_gpu_association_state, Shapes::ShapeRef.new(shape: String, location_name: "elasticGpuAssociationState"))
2607
+ ElasticGpuAssociation.add_member(:elastic_gpu_association_time, Shapes::ShapeRef.new(shape: String, location_name: "elasticGpuAssociationTime"))
2608
+ ElasticGpuAssociation.struct_class = Types::ElasticGpuAssociation
2609
+
2610
+ ElasticGpuAssociationList.member = Shapes::ShapeRef.new(shape: ElasticGpuAssociation, location_name: "item")
2611
+
2612
+ ElasticGpuHealth.add_member(:status, Shapes::ShapeRef.new(shape: ElasticGpuStatus, location_name: "status"))
2613
+ ElasticGpuHealth.struct_class = Types::ElasticGpuHealth
2614
+
2615
+ ElasticGpuIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
2616
+
2617
+ ElasticGpuSet.member = Shapes::ShapeRef.new(shape: ElasticGpus)
2618
+
2619
+ ElasticGpuSpecification.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
2620
+ ElasticGpuSpecification.struct_class = Types::ElasticGpuSpecification
2621
+
2622
+ ElasticGpuSpecifications.member = Shapes::ShapeRef.new(shape: ElasticGpuSpecification, location_name: "item")
2623
+
2624
+ ElasticGpus.add_member(:elastic_gpu_id, Shapes::ShapeRef.new(shape: String, location_name: "elasticGpuId"))
2625
+ ElasticGpus.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
2626
+ ElasticGpus.add_member(:elastic_gpu_type, Shapes::ShapeRef.new(shape: String, location_name: "elasticGpuType"))
2627
+ ElasticGpus.add_member(:elastic_gpu_health, Shapes::ShapeRef.new(shape: ElasticGpuHealth, location_name: "elasticGpuHealth"))
2628
+ ElasticGpus.add_member(:elastic_gpu_state, Shapes::ShapeRef.new(shape: ElasticGpuState, location_name: "elasticGpuState"))
2629
+ ElasticGpus.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
2630
+ ElasticGpus.struct_class = Types::ElasticGpus
2631
+
2572
2632
  EnableVgwRoutePropagationRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GatewayId"))
2573
2633
  EnableVgwRoutePropagationRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RouteTableId"))
2574
2634
  EnableVgwRoutePropagationRequest.struct_class = Types::EnableVgwRoutePropagationRequest
@@ -3024,6 +3084,7 @@ module Aws::EC2
3024
3084
  Instance.add_member(:hypervisor, Shapes::ShapeRef.new(shape: HypervisorType, location_name: "hypervisor"))
3025
3085
  Instance.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfile, location_name: "iamInstanceProfile"))
3026
3086
  Instance.add_member(:instance_lifecycle, Shapes::ShapeRef.new(shape: InstanceLifecycleType, location_name: "instanceLifecycle"))
3087
+ Instance.add_member(:elastic_gpu_associations, Shapes::ShapeRef.new(shape: ElasticGpuAssociationList, location_name: "elasticGpuAssociationSet"))
3027
3088
  Instance.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceList, location_name: "networkInterfaceSet"))
3028
3089
  Instance.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
3029
3090
  Instance.add_member(:root_device_type, Shapes::ShapeRef.new(shape: DeviceType, location_name: "rootDeviceType"))
@@ -4134,6 +4195,7 @@ module Aws::EC2
4134
4195
  RunInstancesRequest.add_member(:instance_initiated_shutdown_behavior, Shapes::ShapeRef.new(shape: ShutdownBehavior, location_name: "instanceInitiatedShutdownBehavior"))
4135
4196
  RunInstancesRequest.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecificationList, location_name: "networkInterface"))
4136
4197
  RunInstancesRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
4198
+ RunInstancesRequest.add_member(:elastic_gpu_specification, Shapes::ShapeRef.new(shape: ElasticGpuSpecifications, location_name: "ElasticGpuSpecification"))
4137
4199
  RunInstancesRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4138
4200
  RunInstancesRequest.struct_class = Types::RunInstancesRequest
4139
4201
 
@@ -5117,6 +5179,14 @@ module Aws::EC2
5117
5179
  o.output = Shapes::ShapeRef.new(shape: CreateCustomerGatewayResult)
5118
5180
  end)
5119
5181
 
5182
+ api.add_operation(:create_default_vpc, Seahorse::Model::Operation.new.tap do |o|
5183
+ o.name = "CreateDefaultVpc"
5184
+ o.http_method = "POST"
5185
+ o.http_request_uri = "/"
5186
+ o.input = Shapes::ShapeRef.new(shape: CreateDefaultVpcRequest)
5187
+ o.output = Shapes::ShapeRef.new(shape: CreateDefaultVpcResult)
5188
+ end)
5189
+
5120
5190
  api.add_operation(:create_dhcp_options, Seahorse::Model::Operation.new.tap do |o|
5121
5191
  o.name = "CreateDhcpOptions"
5122
5192
  o.http_method = "POST"
@@ -5637,6 +5707,14 @@ module Aws::EC2
5637
5707
  o.output = Shapes::ShapeRef.new(shape: DescribeEgressOnlyInternetGatewaysResult)
5638
5708
  end)
5639
5709
 
5710
+ api.add_operation(:describe_elastic_gpus, Seahorse::Model::Operation.new.tap do |o|
5711
+ o.name = "DescribeElasticGpus"
5712
+ o.http_method = "POST"
5713
+ o.http_request_uri = "/"
5714
+ o.input = Shapes::ShapeRef.new(shape: DescribeElasticGpusRequest)
5715
+ o.output = Shapes::ShapeRef.new(shape: DescribeElasticGpusResult)
5716
+ end)
5717
+
5640
5718
  api.add_operation(:describe_export_tasks, Seahorse::Model::Operation.new.tap do |o|
5641
5719
  o.name = "DescribeExportTasks"
5642
5720
  o.http_method = "POST"
@@ -212,6 +212,12 @@ module Aws::EC2
212
212
  data.instance_lifecycle
213
213
  end
214
214
 
215
+ # The Elastic GPU associated with the instance.
216
+ # @return [Array<Types::ElasticGpuAssociation>]
217
+ def elastic_gpu_associations
218
+ data.elastic_gpu_associations
219
+ end
220
+
215
221
  # The root device name (for example, `/dev/sda1` or `/dev/xvda`).
216
222
  # @return [String]
217
223
  def root_device_name
@@ -132,6 +132,11 @@ module Aws::EC2
132
132
  # },
133
133
  # ],
134
134
  # private_ip_address: "String",
135
+ # elastic_gpu_specification: [
136
+ # {
137
+ # type: "String", # required
138
+ # },
139
+ # ],
135
140
  # tag_specifications: [
136
141
  # {
137
142
  # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
@@ -313,6 +318,8 @@ module Aws::EC2
313
318
  # private IP address as the primary IP address in a network interface
314
319
  # specification. You cannot specify this option if you're launching
315
320
  # more than one instance in the request.
321
+ # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
322
+ # An Elastic GPU to associate with the instance.
316
323
  # @option options [Array<Types::TagSpecification>] :tag_specifications
317
324
  # The tags to apply to the resources during launch. You can tag
318
325
  # instances and volumes. The specified tags are applied to all instances
@@ -215,6 +215,11 @@ module Aws::EC2
215
215
  # },
216
216
  # ],
217
217
  # private_ip_address: "String",
218
+ # elastic_gpu_specification: [
219
+ # {
220
+ # type: "String", # required
221
+ # },
222
+ # ],
218
223
  # tag_specifications: [
219
224
  # {
220
225
  # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
@@ -394,6 +399,8 @@ module Aws::EC2
394
399
  # private IP address as the primary IP address in a network interface
395
400
  # specification. You cannot specify this option if you're launching
396
401
  # more than one instance in the request.
402
+ # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
403
+ # An Elastic GPU to associate with the instance.
397
404
  # @option options [Array<Types::TagSpecification>] :tag_specifications
398
405
  # The tags to apply to the resources during launch. You can tag
399
406
  # instances and volumes. The specified tags are applied to all instances
@@ -2367,6 +2367,42 @@ module Aws::EC2
2367
2367
  include Aws::Structure
2368
2368
  end
2369
2369
 
2370
+ # Contains the parameters for CreateDefaultVpc.
2371
+ #
2372
+ # @note When making an API call, you may pass CreateDefaultVpcRequest
2373
+ # data as a hash:
2374
+ #
2375
+ # {
2376
+ # dry_run: false,
2377
+ # }
2378
+ #
2379
+ # @!attribute [rw] dry_run
2380
+ # Checks whether you have the required permissions for the action,
2381
+ # without actually making the request, and provides an error response.
2382
+ # If you have the required permissions, the error response is
2383
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2384
+ # @return [Boolean]
2385
+ #
2386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcRequest AWS API Documentation
2387
+ #
2388
+ class CreateDefaultVpcRequest < Struct.new(
2389
+ :dry_run)
2390
+ include Aws::Structure
2391
+ end
2392
+
2393
+ # Contains the output of CreateDefaultVpc.
2394
+ #
2395
+ # @!attribute [rw] vpc
2396
+ # Information about the VPC.
2397
+ # @return [Types::Vpc]
2398
+ #
2399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcResult AWS API Documentation
2400
+ #
2401
+ class CreateDefaultVpcResult < Struct.new(
2402
+ :vpc)
2403
+ include Aws::Structure
2404
+ end
2405
+
2370
2406
  # Contains the parameters for CreateDhcpOptions.
2371
2407
  #
2372
2408
  # @note When making an API call, you may pass CreateDhcpOptionsRequest
@@ -5831,6 +5867,97 @@ module Aws::EC2
5831
5867
  include Aws::Structure
5832
5868
  end
5833
5869
 
5870
+ # @note When making an API call, you may pass DescribeElasticGpusRequest
5871
+ # data as a hash:
5872
+ #
5873
+ # {
5874
+ # elastic_gpu_ids: ["String"],
5875
+ # dry_run: false,
5876
+ # filters: [
5877
+ # {
5878
+ # name: "String",
5879
+ # values: ["String"],
5880
+ # },
5881
+ # ],
5882
+ # max_results: 1,
5883
+ # next_token: "String",
5884
+ # }
5885
+ #
5886
+ # @!attribute [rw] elastic_gpu_ids
5887
+ # One or more Elastic GPU IDs.
5888
+ # @return [Array<String>]
5889
+ #
5890
+ # @!attribute [rw] dry_run
5891
+ # Checks whether you have the required permissions for the action,
5892
+ # without actually making the request, and provides an error response.
5893
+ # If you have the required permissions, the error response is
5894
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5895
+ # @return [Boolean]
5896
+ #
5897
+ # @!attribute [rw] filters
5898
+ # One or more filters.
5899
+ #
5900
+ # * `availability-zone` - The Availability Zone in which the Elastic
5901
+ # GPU resides.
5902
+ #
5903
+ # * `elastic-gpu-health` - The status of the Elastic GPU (`OK` \|
5904
+ # `IMPAIRED`).
5905
+ #
5906
+ # * `elastic-gpu-state` - The state of the Elastic GPU (`ATTACHED`).
5907
+ #
5908
+ # * `elastic-gpu-type` - The type of Elastic GPU; for example,
5909
+ # `eg1.medium`.
5910
+ #
5911
+ # * `instance-id` - The ID of the instance to which the Elastic GPU is
5912
+ # associated.
5913
+ # @return [Array<Types::Filter>]
5914
+ #
5915
+ # @!attribute [rw] max_results
5916
+ # The maximum number of results to return in a single call. To
5917
+ # retrieve the remaining results, make another call with the returned
5918
+ # `NextToken` value. This value can be between 5 and 1000.
5919
+ # @return [Integer]
5920
+ #
5921
+ # @!attribute [rw] next_token
5922
+ # The token to request the next page of results.
5923
+ # @return [String]
5924
+ #
5925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusRequest AWS API Documentation
5926
+ #
5927
+ class DescribeElasticGpusRequest < Struct.new(
5928
+ :elastic_gpu_ids,
5929
+ :dry_run,
5930
+ :filters,
5931
+ :max_results,
5932
+ :next_token)
5933
+ include Aws::Structure
5934
+ end
5935
+
5936
+ # @!attribute [rw] elastic_gpu_set
5937
+ # Information about the Elastic GPUs.
5938
+ # @return [Array<Types::ElasticGpus>]
5939
+ #
5940
+ # @!attribute [rw] max_results
5941
+ # The total number of items to return. If the total number of items
5942
+ # available is more than the value specified in max-items then a
5943
+ # Next-Token will be provided in the output that you can use to resume
5944
+ # pagination.
5945
+ # @return [Integer]
5946
+ #
5947
+ # @!attribute [rw] next_token
5948
+ # The token to use to retrieve the next page of results. This value is
5949
+ # `null` when there are no more results to return.
5950
+ # @return [String]
5951
+ #
5952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusResult AWS API Documentation
5953
+ #
5954
+ class DescribeElasticGpusResult < Struct.new(
5955
+ :elastic_gpu_set,
5956
+ :max_results,
5957
+ :next_token)
5958
+ include Aws::Structure
5959
+ end
5960
+
5834
5961
  # Contains the parameters for DescribeExportTasks.
5835
5962
  #
5836
5963
  # @note When making an API call, you may pass DescribeExportTasksRequest
@@ -12149,6 +12276,106 @@ module Aws::EC2
12149
12276
  include Aws::Structure
12150
12277
  end
12151
12278
 
12279
+ # Describes the association between an instance and an Elastic GPU.
12280
+ #
12281
+ # @!attribute [rw] elastic_gpu_id
12282
+ # The ID of the Elastic GPU.
12283
+ # @return [String]
12284
+ #
12285
+ # @!attribute [rw] elastic_gpu_association_id
12286
+ # The ID of the association.
12287
+ # @return [String]
12288
+ #
12289
+ # @!attribute [rw] elastic_gpu_association_state
12290
+ # The state of the association between the instance and the Elastic
12291
+ # GPU.
12292
+ # @return [String]
12293
+ #
12294
+ # @!attribute [rw] elastic_gpu_association_time
12295
+ # The time the Elastic GPU was associated with the instance.
12296
+ # @return [String]
12297
+ #
12298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuAssociation AWS API Documentation
12299
+ #
12300
+ class ElasticGpuAssociation < Struct.new(
12301
+ :elastic_gpu_id,
12302
+ :elastic_gpu_association_id,
12303
+ :elastic_gpu_association_state,
12304
+ :elastic_gpu_association_time)
12305
+ include Aws::Structure
12306
+ end
12307
+
12308
+ # Describes the status of an Elastic GPU.
12309
+ #
12310
+ # @!attribute [rw] status
12311
+ # The health status.
12312
+ # @return [String]
12313
+ #
12314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuHealth AWS API Documentation
12315
+ #
12316
+ class ElasticGpuHealth < Struct.new(
12317
+ :status)
12318
+ include Aws::Structure
12319
+ end
12320
+
12321
+ # A specification for an Elastic GPU.
12322
+ #
12323
+ # @note When making an API call, you may pass ElasticGpuSpecification
12324
+ # data as a hash:
12325
+ #
12326
+ # {
12327
+ # type: "String", # required
12328
+ # }
12329
+ #
12330
+ # @!attribute [rw] type
12331
+ # The type of Elastic GPU.
12332
+ # @return [String]
12333
+ #
12334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecification AWS API Documentation
12335
+ #
12336
+ class ElasticGpuSpecification < Struct.new(
12337
+ :type)
12338
+ include Aws::Structure
12339
+ end
12340
+
12341
+ # Describes an Elastic GPU.
12342
+ #
12343
+ # @!attribute [rw] elastic_gpu_id
12344
+ # The ID of the Elastic GPU.
12345
+ # @return [String]
12346
+ #
12347
+ # @!attribute [rw] availability_zone
12348
+ # The Availability Zone in the which the Elastic GPU resides.
12349
+ # @return [String]
12350
+ #
12351
+ # @!attribute [rw] elastic_gpu_type
12352
+ # The type of Elastic GPU.
12353
+ # @return [String]
12354
+ #
12355
+ # @!attribute [rw] elastic_gpu_health
12356
+ # The status of the Elastic GPU.
12357
+ # @return [Types::ElasticGpuHealth]
12358
+ #
12359
+ # @!attribute [rw] elastic_gpu_state
12360
+ # The state of the Elastic GPU.
12361
+ # @return [String]
12362
+ #
12363
+ # @!attribute [rw] instance_id
12364
+ # The ID of the instance to which the Elastic GPU is attached.
12365
+ # @return [String]
12366
+ #
12367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpus AWS API Documentation
12368
+ #
12369
+ class ElasticGpus < Struct.new(
12370
+ :elastic_gpu_id,
12371
+ :availability_zone,
12372
+ :elastic_gpu_type,
12373
+ :elastic_gpu_health,
12374
+ :elastic_gpu_state,
12375
+ :instance_id)
12376
+ include Aws::Structure
12377
+ end
12378
+
12152
12379
  # Contains the parameters for EnableVgwRoutePropagation.
12153
12380
  #
12154
12381
  # @note When making an API call, you may pass EnableVgwRoutePropagationRequest
@@ -14542,6 +14769,10 @@ module Aws::EC2
14542
14769
  # Indicates whether this is a Spot instance or a Scheduled Instance.
14543
14770
  # @return [String]
14544
14771
  #
14772
+ # @!attribute [rw] elastic_gpu_associations
14773
+ # The Elastic GPU associated with the instance.
14774
+ # @return [Array<Types::ElasticGpuAssociation>]
14775
+ #
14545
14776
  # @!attribute [rw] network_interfaces
14546
14777
  # \[EC2-VPC\] One or more network interfaces for the instance.
14547
14778
  # @return [Array<Types::InstanceNetworkInterface>]
@@ -14624,6 +14855,7 @@ module Aws::EC2
14624
14855
  :hypervisor,
14625
14856
  :iam_instance_profile,
14626
14857
  :instance_lifecycle,
14858
+ :elastic_gpu_associations,
14627
14859
  :network_interfaces,
14628
14860
  :root_device_name,
14629
14861
  :root_device_type,
@@ -20738,6 +20970,11 @@ module Aws::EC2
20738
20970
  # },
20739
20971
  # ],
20740
20972
  # private_ip_address: "String",
20973
+ # elastic_gpu_specification: [
20974
+ # {
20975
+ # type: "String", # required
20976
+ # },
20977
+ # ],
20741
20978
  # tag_specifications: [
20742
20979
  # {
20743
20980
  # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
@@ -20971,6 +21208,10 @@ module Aws::EC2
20971
21208
  # more than one instance in the request.
20972
21209
  # @return [String]
20973
21210
  #
21211
+ # @!attribute [rw] elastic_gpu_specification
21212
+ # An Elastic GPU to associate with the instance.
21213
+ # @return [Array<Types::ElasticGpuSpecification>]
21214
+ #
20974
21215
  # @!attribute [rw] tag_specifications
20975
21216
  # The tags to apply to the resources during launch. You can tag
20976
21217
  # instances and volumes. The specified tags are applied to all
@@ -21005,6 +21246,7 @@ module Aws::EC2
21005
21246
  :instance_initiated_shutdown_behavior,
21006
21247
  :network_interfaces,
21007
21248
  :private_ip_address,
21249
+ :elastic_gpu_specification,
21008
21250
  :tag_specifications)
21009
21251
  include Aws::Structure
21010
21252
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc13
4
+ version: 1.0.0.rc15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-24 00:00:00.000000000 Z
11
+ date: 2017-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4