aws-sdk-ec2 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0e91eccec2aebc49f9ed964fe057f2742e518ae
4
- data.tar.gz: e1dc3cb4779821199d4e5d3d4327e6bddddb703a
3
+ metadata.gz: c4759ed4fe6aa4ba368cd65494c85a8552de1333
4
+ data.tar.gz: a9557653d9d3176f14e1b946caaf804055931d07
5
5
  SHA512:
6
- metadata.gz: a33266307739683377e7e5fe192cd0cee433d6b46358aa8a905cb6ac5d9887d9033aeb3ebf392d5f9ed25dad1c0ea1611e6a1916a875291b8faf9f94141f3ad1
7
- data.tar.gz: 145be15cba4ea03f1e63d181738edbf711a7e331e0ba819fecb56584eeae5396c937efd1b2449d741a1c23560d3b27235884d0c3d89274bc26d79b487777350f
6
+ metadata.gz: ca428e317d15a793d606377933d82efe67a90f0091713d40ad4de48e202a548efc8105ac93b7b0bbe69d3dbd8f7497b9de6d4877d0afb4d1ce0b60e07461cd64
7
+ data.tar.gz: 1ac9bd6e96f3a85883ef6674c61100f1e777ecdf4838a66bd8ef4eeb38a7f90f07409a07b0fd8998948daa262e9e89db2aabba304ac395714ebac7d5ab2be98f
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.8.0'
68
+ GEM_VERSION = '1.9.0'
69
69
 
70
70
  end
@@ -2093,6 +2093,63 @@ module Aws::EC2
2093
2093
  req.send_request(options)
2094
2094
  end
2095
2095
 
2096
+ # Copies the specified Amazon FPGA Image (AFI) to the current region.
2097
+ #
2098
+ # @option params [Boolean] :dry_run
2099
+ # Checks whether you have the required permissions for the action,
2100
+ # without actually making the request, and provides an error response.
2101
+ # If you have the required permissions, the error response is
2102
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2103
+ #
2104
+ # @option params [required, String] :source_fpga_image_id
2105
+ # The ID of the source AFI.
2106
+ #
2107
+ # @option params [String] :description
2108
+ # The description for the new AFI.
2109
+ #
2110
+ # @option params [String] :name
2111
+ # The name for the new AFI. The default is the name of the source AFI.
2112
+ #
2113
+ # @option params [required, String] :source_region
2114
+ # The region that contains the source AFI.
2115
+ #
2116
+ # @option params [String] :client_token
2117
+ # Unique, case-sensitive identifier that you provide to ensure the
2118
+ # idempotency of the request. For more information, see [Ensuring
2119
+ # Idempotency][1].
2120
+ #
2121
+ #
2122
+ #
2123
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
2124
+ #
2125
+ # @return [Types::CopyFpgaImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2126
+ #
2127
+ # * {Types::CopyFpgaImageResult#fpga_image_id #fpga_image_id} => String
2128
+ #
2129
+ # @example Request syntax with placeholder values
2130
+ #
2131
+ # resp = client.copy_fpga_image({
2132
+ # dry_run: false,
2133
+ # source_fpga_image_id: "String", # required
2134
+ # description: "String",
2135
+ # name: "String",
2136
+ # source_region: "String", # required
2137
+ # client_token: "String",
2138
+ # })
2139
+ #
2140
+ # @example Response structure
2141
+ #
2142
+ # resp.fpga_image_id #=> String
2143
+ #
2144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage AWS API Documentation
2145
+ #
2146
+ # @overload copy_fpga_image(params = {})
2147
+ # @param [Hash] params ({})
2148
+ def copy_fpga_image(params = {}, options = {})
2149
+ req = build_request(:copy_fpga_image, params)
2150
+ req.send_request(options)
2151
+ end
2152
+
2096
2153
  # Initiates the copy of an AMI from the specified source region to the
2097
2154
  # current region. You specify the destination region by using its
2098
2155
  # endpoint when making the request.
@@ -5426,6 +5483,41 @@ module Aws::EC2
5426
5483
  req.send_request(options)
5427
5484
  end
5428
5485
 
5486
+ # Deletes the specified Amazon FPGA Image (AFI).
5487
+ #
5488
+ # @option params [Boolean] :dry_run
5489
+ # Checks whether you have the required permissions for the action,
5490
+ # without actually making the request, and provides an error response.
5491
+ # If you have the required permissions, the error response is
5492
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5493
+ #
5494
+ # @option params [required, String] :fpga_image_id
5495
+ # The ID of the AFI.
5496
+ #
5497
+ # @return [Types::DeleteFpgaImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5498
+ #
5499
+ # * {Types::DeleteFpgaImageResult#return #return} => Boolean
5500
+ #
5501
+ # @example Request syntax with placeholder values
5502
+ #
5503
+ # resp = client.delete_fpga_image({
5504
+ # dry_run: false,
5505
+ # fpga_image_id: "String", # required
5506
+ # })
5507
+ #
5508
+ # @example Response structure
5509
+ #
5510
+ # resp.return #=> Boolean
5511
+ #
5512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage AWS API Documentation
5513
+ #
5514
+ # @overload delete_fpga_image(params = {})
5515
+ # @param [Hash] params ({})
5516
+ def delete_fpga_image(params = {}, options = {})
5517
+ req = build_request(:delete_fpga_image, params)
5518
+ req.send_request(options)
5519
+ end
5520
+
5429
5521
  # Deletes the specified Internet gateway. You must detach the Internet
5430
5522
  # gateway from the VPC before you can delete it.
5431
5523
  #
@@ -7595,6 +7687,54 @@ module Aws::EC2
7595
7687
  req.send_request(options)
7596
7688
  end
7597
7689
 
7690
+ # Describes the specified attribute of the specified Amazon FPGA Image
7691
+ # (AFI).
7692
+ #
7693
+ # @option params [Boolean] :dry_run
7694
+ # Checks whether you have the required permissions for the action,
7695
+ # without actually making the request, and provides an error response.
7696
+ # If you have the required permissions, the error response is
7697
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
7698
+ #
7699
+ # @option params [required, String] :fpga_image_id
7700
+ # The ID of the AFI.
7701
+ #
7702
+ # @option params [required, String] :attribute
7703
+ # The AFI attribute.
7704
+ #
7705
+ # @return [Types::DescribeFpgaImageAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7706
+ #
7707
+ # * {Types::DescribeFpgaImageAttributeResult#fpga_image_attribute #fpga_image_attribute} => Types::FpgaImageAttribute
7708
+ #
7709
+ # @example Request syntax with placeholder values
7710
+ #
7711
+ # resp = client.describe_fpga_image_attribute({
7712
+ # dry_run: false,
7713
+ # fpga_image_id: "String", # required
7714
+ # attribute: "description", # required, accepts description, name, loadPermission, productCodes
7715
+ # })
7716
+ #
7717
+ # @example Response structure
7718
+ #
7719
+ # resp.fpga_image_attribute.fpga_image_id #=> String
7720
+ # resp.fpga_image_attribute.name #=> String
7721
+ # resp.fpga_image_attribute.description #=> String
7722
+ # resp.fpga_image_attribute.load_permissions #=> Array
7723
+ # resp.fpga_image_attribute.load_permissions[0].user_id #=> String
7724
+ # resp.fpga_image_attribute.load_permissions[0].group #=> String, one of "all"
7725
+ # resp.fpga_image_attribute.product_codes #=> Array
7726
+ # resp.fpga_image_attribute.product_codes[0].product_code_id #=> String
7727
+ # resp.fpga_image_attribute.product_codes[0].product_code_type #=> String, one of "devpay", "marketplace"
7728
+ #
7729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute AWS API Documentation
7730
+ #
7731
+ # @overload describe_fpga_image_attribute(params = {})
7732
+ # @param [Hash] params ({})
7733
+ def describe_fpga_image_attribute(params = {}, options = {})
7734
+ req = build_request(:describe_fpga_image_attribute, params)
7735
+ req.send_request(options)
7736
+ end
7737
+
7598
7738
  # Describes one or more available Amazon FPGA Images (AFIs). These
7599
7739
  # include public AFIs, private AFIs that you own, and AFIs owned by
7600
7740
  # other AWS accounts for which you have load permissions.
@@ -7704,6 +7844,7 @@ module Aws::EC2
7704
7844
  # resp.fpga_images[0].tags #=> Array
7705
7845
  # resp.fpga_images[0].tags[0].key #=> String
7706
7846
  # resp.fpga_images[0].tags[0].value #=> String
7847
+ # resp.fpga_images[0].public #=> Boolean
7707
7848
  # resp.next_token #=> String
7708
7849
  #
7709
7850
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages AWS API Documentation
@@ -15772,22 +15913,32 @@ module Aws::EC2
15772
15913
  req.send_request(options)
15773
15914
  end
15774
15915
 
15775
- # Retrieves the encrypted administrator password for an instance running
15776
- # Windows.
15916
+ # Retrieves the encrypted administrator password for a running Windows
15917
+ # instance.
15777
15918
  #
15778
- # The Windows password is generated at boot if the `EC2Config` service
15779
- # plugin, `Ec2SetPassword`, is enabled. This usually only happens the
15780
- # first time an AMI is launched, and then `Ec2SetPassword` is
15781
- # automatically disabled. The password is not generated for rebundled
15782
- # AMIs unless `Ec2SetPassword` is enabled before bundling.
15919
+ # The Windows password is generated at boot by the `EC2Config` service
15920
+ # or `EC2Launch` scripts (Windows Server 2016 and later). This usually
15921
+ # only happens the first time an instance is launched. For more
15922
+ # information, see [EC2Config][1] and [EC2Launch][2] in the Amazon
15923
+ # Elastic Compute Cloud User Guide.
15924
+ #
15925
+ # For the `EC2Config` service, the password is not generated for
15926
+ # rebundled AMIs unless `Ec2SetPassword` is enabled before bundling.
15783
15927
  #
15784
15928
  # The password is encrypted using the key pair that you specified when
15785
15929
  # you launched the instance. You must provide the corresponding key pair
15786
15930
  # file.
15787
15931
  #
15788
- # Password generation and encryption takes a few moments. We recommend
15789
- # that you wait up to 15 minutes after launching an instance before
15790
- # trying to retrieve the generated password.
15932
+ # When you launch an instance, password generation and encryption may
15933
+ # take a few minutes. If you try to retrieve the password before it's
15934
+ # available, the output returns an empty string. We recommend that you
15935
+ # wait up to 15 minutes after launching an instance before trying to
15936
+ # retrieve the generated password.
15937
+ #
15938
+ #
15939
+ #
15940
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/UsingConfig_WinAMI.html
15941
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html
15791
15942
  #
15792
15943
  # @option params [required, String] :instance_id
15793
15944
  # The ID of the Windows instance.
@@ -16389,6 +16540,99 @@ module Aws::EC2
16389
16540
  req.send_request(options)
16390
16541
  end
16391
16542
 
16543
+ # Modifies the specified attribute of the specified Amazon FPGA Image
16544
+ # (AFI).
16545
+ #
16546
+ # @option params [Boolean] :dry_run
16547
+ # Checks whether you have the required permissions for the action,
16548
+ # without actually making the request, and provides an error response.
16549
+ # If you have the required permissions, the error response is
16550
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
16551
+ #
16552
+ # @option params [required, String] :fpga_image_id
16553
+ # The ID of the AFI.
16554
+ #
16555
+ # @option params [String] :attribute
16556
+ # The name of the attribute.
16557
+ #
16558
+ # @option params [String] :operation_type
16559
+ # The operation type.
16560
+ #
16561
+ # @option params [Array<String>] :user_ids
16562
+ # One or more AWS account IDs. This parameter is valid only when
16563
+ # modifying the `loadPermission` attribute.
16564
+ #
16565
+ # @option params [Array<String>] :user_groups
16566
+ # One or more user groups. This parameter is valid only when modifying
16567
+ # the `loadPermission` attribute.
16568
+ #
16569
+ # @option params [Array<String>] :product_codes
16570
+ # One or more product codes. After you add a product code to an AFI, it
16571
+ # can't be removed. This parameter is valid only when modifying the
16572
+ # `productCodes` attribute.
16573
+ #
16574
+ # @option params [Types::LoadPermissionModifications] :load_permission
16575
+ # The load permission for the AFI.
16576
+ #
16577
+ # @option params [String] :description
16578
+ # A description for the AFI.
16579
+ #
16580
+ # @option params [String] :name
16581
+ # A name for the AFI.
16582
+ #
16583
+ # @return [Types::ModifyFpgaImageAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16584
+ #
16585
+ # * {Types::ModifyFpgaImageAttributeResult#fpga_image_attribute #fpga_image_attribute} => Types::FpgaImageAttribute
16586
+ #
16587
+ # @example Request syntax with placeholder values
16588
+ #
16589
+ # resp = client.modify_fpga_image_attribute({
16590
+ # dry_run: false,
16591
+ # fpga_image_id: "String", # required
16592
+ # attribute: "description", # accepts description, name, loadPermission, productCodes
16593
+ # operation_type: "add", # accepts add, remove
16594
+ # user_ids: ["String"],
16595
+ # user_groups: ["String"],
16596
+ # product_codes: ["String"],
16597
+ # load_permission: {
16598
+ # add: [
16599
+ # {
16600
+ # group: "all", # accepts all
16601
+ # user_id: "String",
16602
+ # },
16603
+ # ],
16604
+ # remove: [
16605
+ # {
16606
+ # group: "all", # accepts all
16607
+ # user_id: "String",
16608
+ # },
16609
+ # ],
16610
+ # },
16611
+ # description: "String",
16612
+ # name: "String",
16613
+ # })
16614
+ #
16615
+ # @example Response structure
16616
+ #
16617
+ # resp.fpga_image_attribute.fpga_image_id #=> String
16618
+ # resp.fpga_image_attribute.name #=> String
16619
+ # resp.fpga_image_attribute.description #=> String
16620
+ # resp.fpga_image_attribute.load_permissions #=> Array
16621
+ # resp.fpga_image_attribute.load_permissions[0].user_id #=> String
16622
+ # resp.fpga_image_attribute.load_permissions[0].group #=> String, one of "all"
16623
+ # resp.fpga_image_attribute.product_codes #=> Array
16624
+ # resp.fpga_image_attribute.product_codes[0].product_code_id #=> String
16625
+ # resp.fpga_image_attribute.product_codes[0].product_code_type #=> String, one of "devpay", "marketplace"
16626
+ #
16627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute AWS API Documentation
16628
+ #
16629
+ # @overload modify_fpga_image_attribute(params = {})
16630
+ # @param [Hash] params ({})
16631
+ def modify_fpga_image_attribute(params = {}, options = {})
16632
+ req = build_request(:modify_fpga_image_attribute, params)
16633
+ req.send_request(options)
16634
+ end
16635
+
16392
16636
  # Modify the auto-placement setting of a Dedicated Host. When
16393
16637
  # auto-placement is enabled, AWS will place instances that you launch
16394
16638
  # with a tenancy of `host`, but without targeting a specific host ID,
@@ -19503,6 +19747,47 @@ module Aws::EC2
19503
19747
  req.send_request(options)
19504
19748
  end
19505
19749
 
19750
+ # Resets the specified attribute of the specified Amazon FPGA Image
19751
+ # (AFI) to its default value. You can only reset the load permission
19752
+ # attribute.
19753
+ #
19754
+ # @option params [Boolean] :dry_run
19755
+ # Checks whether you have the required permissions for the action,
19756
+ # without actually making the request, and provides an error response.
19757
+ # If you have the required permissions, the error response is
19758
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
19759
+ #
19760
+ # @option params [required, String] :fpga_image_id
19761
+ # The ID of the AFI.
19762
+ #
19763
+ # @option params [String] :attribute
19764
+ # The attribute.
19765
+ #
19766
+ # @return [Types::ResetFpgaImageAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
19767
+ #
19768
+ # * {Types::ResetFpgaImageAttributeResult#return #return} => Boolean
19769
+ #
19770
+ # @example Request syntax with placeholder values
19771
+ #
19772
+ # resp = client.reset_fpga_image_attribute({
19773
+ # dry_run: false,
19774
+ # fpga_image_id: "String", # required
19775
+ # attribute: "loadPermission", # accepts loadPermission
19776
+ # })
19777
+ #
19778
+ # @example Response structure
19779
+ #
19780
+ # resp.return #=> Boolean
19781
+ #
19782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute AWS API Documentation
19783
+ #
19784
+ # @overload reset_fpga_image_attribute(params = {})
19785
+ # @param [Hash] params ({})
19786
+ def reset_fpga_image_attribute(params = {}, options = {})
19787
+ req = build_request(:reset_fpga_image_attribute, params)
19788
+ req.send_request(options)
19789
+ end
19790
+
19506
19791
  # Resets an attribute of an AMI to its default value.
19507
19792
  #
19508
19793
  # <note markdown="1"> The productCodes attribute can't be reset.
@@ -21205,7 +21490,7 @@ module Aws::EC2
21205
21490
  params: params,
21206
21491
  config: config)
21207
21492
  context[:gem_name] = 'aws-sdk-ec2'
21208
- context[:gem_version] = '1.8.0'
21493
+ context[:gem_version] = '1.9.0'
21209
21494
  Seahorse::Client::Request.new(handlers, context)
21210
21495
  end
21211
21496
 
@@ -120,6 +120,8 @@ module Aws::EC2
120
120
  ConversionIdStringList = Shapes::ListShape.new(name: 'ConversionIdStringList')
121
121
  ConversionTask = Shapes::StructureShape.new(name: 'ConversionTask')
122
122
  ConversionTaskState = Shapes::StringShape.new(name: 'ConversionTaskState')
123
+ CopyFpgaImageRequest = Shapes::StructureShape.new(name: 'CopyFpgaImageRequest')
124
+ CopyFpgaImageResult = Shapes::StructureShape.new(name: 'CopyFpgaImageResult')
123
125
  CopyImageRequest = Shapes::StructureShape.new(name: 'CopyImageRequest')
124
126
  CopyImageResult = Shapes::StructureShape.new(name: 'CopyImageResult')
125
127
  CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
@@ -194,6 +196,8 @@ module Aws::EC2
194
196
  DeleteEgressOnlyInternetGatewayResult = Shapes::StructureShape.new(name: 'DeleteEgressOnlyInternetGatewayResult')
195
197
  DeleteFlowLogsRequest = Shapes::StructureShape.new(name: 'DeleteFlowLogsRequest')
196
198
  DeleteFlowLogsResult = Shapes::StructureShape.new(name: 'DeleteFlowLogsResult')
199
+ DeleteFpgaImageRequest = Shapes::StructureShape.new(name: 'DeleteFpgaImageRequest')
200
+ DeleteFpgaImageResult = Shapes::StructureShape.new(name: 'DeleteFpgaImageResult')
197
201
  DeleteInternetGatewayRequest = Shapes::StructureShape.new(name: 'DeleteInternetGatewayRequest')
198
202
  DeleteKeyPairRequest = Shapes::StructureShape.new(name: 'DeleteKeyPairRequest')
199
203
  DeleteNatGatewayRequest = Shapes::StructureShape.new(name: 'DeleteNatGatewayRequest')
@@ -246,6 +250,8 @@ module Aws::EC2
246
250
  DescribeExportTasksResult = Shapes::StructureShape.new(name: 'DescribeExportTasksResult')
247
251
  DescribeFlowLogsRequest = Shapes::StructureShape.new(name: 'DescribeFlowLogsRequest')
248
252
  DescribeFlowLogsResult = Shapes::StructureShape.new(name: 'DescribeFlowLogsResult')
253
+ DescribeFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'DescribeFpgaImageAttributeRequest')
254
+ DescribeFpgaImageAttributeResult = Shapes::StructureShape.new(name: 'DescribeFpgaImageAttributeResult')
249
255
  DescribeFpgaImagesRequest = Shapes::StructureShape.new(name: 'DescribeFpgaImagesRequest')
250
256
  DescribeFpgaImagesResult = Shapes::StructureShape.new(name: 'DescribeFpgaImagesResult')
251
257
  DescribeHostReservationOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeHostReservationOfferingsRequest')
@@ -437,6 +443,8 @@ module Aws::EC2
437
443
  FlowLogSet = Shapes::ListShape.new(name: 'FlowLogSet')
438
444
  FlowLogsResourceType = Shapes::StringShape.new(name: 'FlowLogsResourceType')
439
445
  FpgaImage = Shapes::StructureShape.new(name: 'FpgaImage')
446
+ FpgaImageAttribute = Shapes::StructureShape.new(name: 'FpgaImageAttribute')
447
+ FpgaImageAttributeName = Shapes::StringShape.new(name: 'FpgaImageAttributeName')
440
448
  FpgaImageIdList = Shapes::ListShape.new(name: 'FpgaImageIdList')
441
449
  FpgaImageList = Shapes::ListShape.new(name: 'FpgaImageList')
442
450
  FpgaImageState = Shapes::StructureShape.new(name: 'FpgaImageState')
@@ -578,8 +586,15 @@ module Aws::EC2
578
586
  LaunchSpecsList = Shapes::ListShape.new(name: 'LaunchSpecsList')
579
587
  ListingState = Shapes::StringShape.new(name: 'ListingState')
580
588
  ListingStatus = Shapes::StringShape.new(name: 'ListingStatus')
589
+ LoadPermission = Shapes::StructureShape.new(name: 'LoadPermission')
590
+ LoadPermissionList = Shapes::ListShape.new(name: 'LoadPermissionList')
591
+ LoadPermissionListRequest = Shapes::ListShape.new(name: 'LoadPermissionListRequest')
592
+ LoadPermissionModifications = Shapes::StructureShape.new(name: 'LoadPermissionModifications')
593
+ LoadPermissionRequest = Shapes::StructureShape.new(name: 'LoadPermissionRequest')
581
594
  Long = Shapes::IntegerShape.new(name: 'Long')
582
595
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
596
+ ModifyFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'ModifyFpgaImageAttributeRequest')
597
+ ModifyFpgaImageAttributeResult = Shapes::StructureShape.new(name: 'ModifyFpgaImageAttributeResult')
583
598
  ModifyHostsRequest = Shapes::StructureShape.new(name: 'ModifyHostsRequest')
584
599
  ModifyHostsResult = Shapes::StructureShape.new(name: 'ModifyHostsResult')
585
600
  ModifyIdFormatRequest = Shapes::StructureShape.new(name: 'ModifyIdFormatRequest')
@@ -758,6 +773,9 @@ module Aws::EC2
758
773
  ReservedInstancesOfferingIdStringList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingIdStringList')
759
774
  ReservedInstancesOfferingList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingList')
760
775
  ReservedIntancesIds = Shapes::ListShape.new(name: 'ReservedIntancesIds')
776
+ ResetFpgaImageAttributeName = Shapes::StringShape.new(name: 'ResetFpgaImageAttributeName')
777
+ ResetFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'ResetFpgaImageAttributeRequest')
778
+ ResetFpgaImageAttributeResult = Shapes::StructureShape.new(name: 'ResetFpgaImageAttributeResult')
761
779
  ResetImageAttributeName = Shapes::StringShape.new(name: 'ResetImageAttributeName')
762
780
  ResetImageAttributeRequest = Shapes::StructureShape.new(name: 'ResetImageAttributeRequest')
763
781
  ResetInstanceAttributeRequest = Shapes::StructureShape.new(name: 'ResetInstanceAttributeRequest')
@@ -1349,6 +1367,17 @@ module Aws::EC2
1349
1367
  ConversionTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
1350
1368
  ConversionTask.struct_class = Types::ConversionTask
1351
1369
 
1370
+ CopyFpgaImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1371
+ CopyFpgaImageRequest.add_member(:source_fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceFpgaImageId"))
1372
+ CopyFpgaImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1373
+ CopyFpgaImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1374
+ CopyFpgaImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
1375
+ CopyFpgaImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
1376
+ CopyFpgaImageRequest.struct_class = Types::CopyFpgaImageRequest
1377
+
1378
+ CopyFpgaImageResult.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, location_name: "fpgaImageId"))
1379
+ CopyFpgaImageResult.struct_class = Types::CopyFpgaImageResult
1380
+
1352
1381
  CopyImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
1353
1382
  CopyImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1354
1383
  CopyImageRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
@@ -1692,6 +1721,13 @@ module Aws::EC2
1692
1721
  DeleteFlowLogsResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: UnsuccessfulItemSet, location_name: "unsuccessful"))
1693
1722
  DeleteFlowLogsResult.struct_class = Types::DeleteFlowLogsResult
1694
1723
 
1724
+ DeleteFpgaImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1725
+ DeleteFpgaImageRequest.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FpgaImageId"))
1726
+ DeleteFpgaImageRequest.struct_class = Types::DeleteFpgaImageRequest
1727
+
1728
+ DeleteFpgaImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
1729
+ DeleteFpgaImageResult.struct_class = Types::DeleteFpgaImageResult
1730
+
1695
1731
  DeleteInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
1696
1732
  DeleteInternetGatewayRequest.add_member(:internet_gateway_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "internetGatewayId"))
1697
1733
  DeleteInternetGatewayRequest.struct_class = Types::DeleteInternetGatewayRequest
@@ -1907,6 +1943,14 @@ module Aws::EC2
1907
1943
  DescribeFlowLogsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1908
1944
  DescribeFlowLogsResult.struct_class = Types::DescribeFlowLogsResult
1909
1945
 
1946
+ DescribeFpgaImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1947
+ DescribeFpgaImageAttributeRequest.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FpgaImageId"))
1948
+ DescribeFpgaImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: FpgaImageAttributeName, required: true, location_name: "Attribute"))
1949
+ DescribeFpgaImageAttributeRequest.struct_class = Types::DescribeFpgaImageAttributeRequest
1950
+
1951
+ DescribeFpgaImageAttributeResult.add_member(:fpga_image_attribute, Shapes::ShapeRef.new(shape: FpgaImageAttribute, location_name: "fpgaImageAttribute"))
1952
+ DescribeFpgaImageAttributeResult.struct_class = Types::DescribeFpgaImageAttributeResult
1953
+
1910
1954
  DescribeFpgaImagesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1911
1955
  DescribeFpgaImagesRequest.add_member(:fpga_image_ids, Shapes::ShapeRef.new(shape: FpgaImageIdList, location_name: "FpgaImageId"))
1912
1956
  DescribeFpgaImagesRequest.add_member(:owners, Shapes::ShapeRef.new(shape: OwnerStringList, location_name: "Owner"))
@@ -2731,8 +2775,16 @@ module Aws::EC2
2731
2775
  FpgaImage.add_member(:owner_alias, Shapes::ShapeRef.new(shape: String, location_name: "ownerAlias"))
2732
2776
  FpgaImage.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
2733
2777
  FpgaImage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
2778
+ FpgaImage.add_member(:public, Shapes::ShapeRef.new(shape: Boolean, location_name: "public"))
2734
2779
  FpgaImage.struct_class = Types::FpgaImage
2735
2780
 
2781
+ FpgaImageAttribute.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, location_name: "fpgaImageId"))
2782
+ FpgaImageAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
2783
+ FpgaImageAttribute.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
2784
+ FpgaImageAttribute.add_member(:load_permissions, Shapes::ShapeRef.new(shape: LoadPermissionList, location_name: "loadPermissions"))
2785
+ FpgaImageAttribute.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
2786
+ FpgaImageAttribute.struct_class = Types::FpgaImageAttribute
2787
+
2736
2788
  FpgaImageIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
2737
2789
 
2738
2790
  FpgaImageList.member = Shapes::ShapeRef.new(shape: FpgaImage, location_name: "item")
@@ -3362,6 +3414,37 @@ module Aws::EC2
3362
3414
 
3363
3415
  LaunchSpecsList.member = Shapes::ShapeRef.new(shape: SpotFleetLaunchSpecification, location_name: "item")
3364
3416
 
3417
+ LoadPermission.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
3418
+ LoadPermission.add_member(:group, Shapes::ShapeRef.new(shape: PermissionGroup, location_name: "group"))
3419
+ LoadPermission.struct_class = Types::LoadPermission
3420
+
3421
+ LoadPermissionList.member = Shapes::ShapeRef.new(shape: LoadPermission, location_name: "item")
3422
+
3423
+ LoadPermissionListRequest.member = Shapes::ShapeRef.new(shape: LoadPermissionRequest, location_name: "item")
3424
+
3425
+ LoadPermissionModifications.add_member(:add, Shapes::ShapeRef.new(shape: LoadPermissionListRequest, location_name: "Add"))
3426
+ LoadPermissionModifications.add_member(:remove, Shapes::ShapeRef.new(shape: LoadPermissionListRequest, location_name: "Remove"))
3427
+ LoadPermissionModifications.struct_class = Types::LoadPermissionModifications
3428
+
3429
+ LoadPermissionRequest.add_member(:group, Shapes::ShapeRef.new(shape: PermissionGroup, location_name: "Group"))
3430
+ LoadPermissionRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "UserId"))
3431
+ LoadPermissionRequest.struct_class = Types::LoadPermissionRequest
3432
+
3433
+ ModifyFpgaImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3434
+ ModifyFpgaImageAttributeRequest.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FpgaImageId"))
3435
+ ModifyFpgaImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: FpgaImageAttributeName, location_name: "Attribute"))
3436
+ ModifyFpgaImageAttributeRequest.add_member(:operation_type, Shapes::ShapeRef.new(shape: OperationType, location_name: "OperationType"))
3437
+ ModifyFpgaImageAttributeRequest.add_member(:user_ids, Shapes::ShapeRef.new(shape: UserIdStringList, location_name: "UserId"))
3438
+ ModifyFpgaImageAttributeRequest.add_member(:user_groups, Shapes::ShapeRef.new(shape: UserGroupStringList, location_name: "UserGroup"))
3439
+ ModifyFpgaImageAttributeRequest.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeStringList, location_name: "ProductCode"))
3440
+ ModifyFpgaImageAttributeRequest.add_member(:load_permission, Shapes::ShapeRef.new(shape: LoadPermissionModifications, location_name: "LoadPermission"))
3441
+ ModifyFpgaImageAttributeRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3442
+ ModifyFpgaImageAttributeRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
3443
+ ModifyFpgaImageAttributeRequest.struct_class = Types::ModifyFpgaImageAttributeRequest
3444
+
3445
+ ModifyFpgaImageAttributeResult.add_member(:fpga_image_attribute, Shapes::ShapeRef.new(shape: FpgaImageAttribute, location_name: "fpgaImageAttribute"))
3446
+ ModifyFpgaImageAttributeResult.struct_class = Types::ModifyFpgaImageAttributeResult
3447
+
3365
3448
  ModifyHostsRequest.add_member(:auto_placement, Shapes::ShapeRef.new(shape: AutoPlacement, required: true, location_name: "autoPlacement"))
3366
3449
  ModifyHostsRequest.add_member(:host_ids, Shapes::ShapeRef.new(shape: RequestHostIdList, required: true, location_name: "hostId"))
3367
3450
  ModifyHostsRequest.struct_class = Types::ModifyHostsRequest
@@ -4097,6 +4180,14 @@ module Aws::EC2
4097
4180
 
4098
4181
  ReservedIntancesIds.member = Shapes::ShapeRef.new(shape: ReservedInstancesId, location_name: "item")
4099
4182
 
4183
+ ResetFpgaImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4184
+ ResetFpgaImageAttributeRequest.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FpgaImageId"))
4185
+ ResetFpgaImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: ResetFpgaImageAttributeName, location_name: "Attribute"))
4186
+ ResetFpgaImageAttributeRequest.struct_class = Types::ResetFpgaImageAttributeRequest
4187
+
4188
+ ResetFpgaImageAttributeResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
4189
+ ResetFpgaImageAttributeResult.struct_class = Types::ResetFpgaImageAttributeResult
4190
+
4100
4191
  ResetImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: ResetImageAttributeName, required: true, location_name: "Attribute"))
4101
4192
  ResetImageAttributeRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ImageId"))
4102
4193
  ResetImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -5208,6 +5299,14 @@ module Aws::EC2
5208
5299
  o.output = Shapes::ShapeRef.new(shape: ConfirmProductInstanceResult)
5209
5300
  end)
5210
5301
 
5302
+ api.add_operation(:copy_fpga_image, Seahorse::Model::Operation.new.tap do |o|
5303
+ o.name = "CopyFpgaImage"
5304
+ o.http_method = "POST"
5305
+ o.http_request_uri = "/"
5306
+ o.input = Shapes::ShapeRef.new(shape: CopyFpgaImageRequest)
5307
+ o.output = Shapes::ShapeRef.new(shape: CopyFpgaImageResult)
5308
+ end)
5309
+
5211
5310
  api.add_operation(:copy_image, Seahorse::Model::Operation.new.tap do |o|
5212
5311
  o.name = "CopyImage"
5213
5312
  o.http_method = "POST"
@@ -5504,6 +5603,14 @@ module Aws::EC2
5504
5603
  o.output = Shapes::ShapeRef.new(shape: DeleteFlowLogsResult)
5505
5604
  end)
5506
5605
 
5606
+ api.add_operation(:delete_fpga_image, Seahorse::Model::Operation.new.tap do |o|
5607
+ o.name = "DeleteFpgaImage"
5608
+ o.http_method = "POST"
5609
+ o.http_request_uri = "/"
5610
+ o.input = Shapes::ShapeRef.new(shape: DeleteFpgaImageRequest)
5611
+ o.output = Shapes::ShapeRef.new(shape: DeleteFpgaImageResult)
5612
+ end)
5613
+
5507
5614
  api.add_operation(:delete_internet_gateway, Seahorse::Model::Operation.new.tap do |o|
5508
5615
  o.name = "DeleteInternetGateway"
5509
5616
  o.http_method = "POST"
@@ -5784,6 +5891,14 @@ module Aws::EC2
5784
5891
  o.output = Shapes::ShapeRef.new(shape: DescribeFlowLogsResult)
5785
5892
  end)
5786
5893
 
5894
+ api.add_operation(:describe_fpga_image_attribute, Seahorse::Model::Operation.new.tap do |o|
5895
+ o.name = "DescribeFpgaImageAttribute"
5896
+ o.http_method = "POST"
5897
+ o.http_request_uri = "/"
5898
+ o.input = Shapes::ShapeRef.new(shape: DescribeFpgaImageAttributeRequest)
5899
+ o.output = Shapes::ShapeRef.new(shape: DescribeFpgaImageAttributeResult)
5900
+ end)
5901
+
5787
5902
  api.add_operation(:describe_fpga_images, Seahorse::Model::Operation.new.tap do |o|
5788
5903
  o.name = "DescribeFpgaImages"
5789
5904
  o.http_method = "POST"
@@ -6529,6 +6644,14 @@ module Aws::EC2
6529
6644
  o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
6530
6645
  end)
6531
6646
 
6647
+ api.add_operation(:modify_fpga_image_attribute, Seahorse::Model::Operation.new.tap do |o|
6648
+ o.name = "ModifyFpgaImageAttribute"
6649
+ o.http_method = "POST"
6650
+ o.http_request_uri = "/"
6651
+ o.input = Shapes::ShapeRef.new(shape: ModifyFpgaImageAttributeRequest)
6652
+ o.output = Shapes::ShapeRef.new(shape: ModifyFpgaImageAttributeResult)
6653
+ end)
6654
+
6532
6655
  api.add_operation(:modify_hosts, Seahorse::Model::Operation.new.tap do |o|
6533
6656
  o.name = "ModifyHosts"
6534
6657
  o.http_method = "POST"
@@ -6801,6 +6924,14 @@ module Aws::EC2
6801
6924
  o.output = Shapes::ShapeRef.new(shape: RequestSpotInstancesResult)
6802
6925
  end)
6803
6926
 
6927
+ api.add_operation(:reset_fpga_image_attribute, Seahorse::Model::Operation.new.tap do |o|
6928
+ o.name = "ResetFpgaImageAttribute"
6929
+ o.http_method = "POST"
6930
+ o.http_request_uri = "/"
6931
+ o.input = Shapes::ShapeRef.new(shape: ResetFpgaImageAttributeRequest)
6932
+ o.output = Shapes::ShapeRef.new(shape: ResetFpgaImageAttributeResult)
6933
+ end)
6934
+
6804
6935
  api.add_operation(:reset_image_attribute, Seahorse::Model::Operation.new.tap do |o|
6805
6936
  o.name = "ResetImageAttribute"
6806
6937
  o.http_method = "POST"
@@ -2126,6 +2126,74 @@ module Aws::EC2
2126
2126
  include Aws::Structure
2127
2127
  end
2128
2128
 
2129
+ # @note When making an API call, you may pass CopyFpgaImageRequest
2130
+ # data as a hash:
2131
+ #
2132
+ # {
2133
+ # dry_run: false,
2134
+ # source_fpga_image_id: "String", # required
2135
+ # description: "String",
2136
+ # name: "String",
2137
+ # source_region: "String", # required
2138
+ # client_token: "String",
2139
+ # }
2140
+ #
2141
+ # @!attribute [rw] dry_run
2142
+ # Checks whether you have the required permissions for the action,
2143
+ # without actually making the request, and provides an error response.
2144
+ # If you have the required permissions, the error response is
2145
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2146
+ # @return [Boolean]
2147
+ #
2148
+ # @!attribute [rw] source_fpga_image_id
2149
+ # The ID of the source AFI.
2150
+ # @return [String]
2151
+ #
2152
+ # @!attribute [rw] description
2153
+ # The description for the new AFI.
2154
+ # @return [String]
2155
+ #
2156
+ # @!attribute [rw] name
2157
+ # The name for the new AFI. The default is the name of the source AFI.
2158
+ # @return [String]
2159
+ #
2160
+ # @!attribute [rw] source_region
2161
+ # The region that contains the source AFI.
2162
+ # @return [String]
2163
+ #
2164
+ # @!attribute [rw] client_token
2165
+ # Unique, case-sensitive identifier that you provide to ensure the
2166
+ # idempotency of the request. For more information, see [Ensuring
2167
+ # Idempotency][1].
2168
+ #
2169
+ #
2170
+ #
2171
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
2172
+ # @return [String]
2173
+ #
2174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageRequest AWS API Documentation
2175
+ #
2176
+ class CopyFpgaImageRequest < Struct.new(
2177
+ :dry_run,
2178
+ :source_fpga_image_id,
2179
+ :description,
2180
+ :name,
2181
+ :source_region,
2182
+ :client_token)
2183
+ include Aws::Structure
2184
+ end
2185
+
2186
+ # @!attribute [rw] fpga_image_id
2187
+ # The ID of the new AFI.
2188
+ # @return [String]
2189
+ #
2190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageResult AWS API Documentation
2191
+ #
2192
+ class CopyFpgaImageResult < Struct.new(
2193
+ :fpga_image_id)
2194
+ include Aws::Structure
2195
+ end
2196
+
2129
2197
  # Contains the parameters for CopyImage.
2130
2198
  #
2131
2199
  # @note When making an API call, you may pass CopyImageRequest
@@ -4515,6 +4583,44 @@ module Aws::EC2
4515
4583
  include Aws::Structure
4516
4584
  end
4517
4585
 
4586
+ # @note When making an API call, you may pass DeleteFpgaImageRequest
4587
+ # data as a hash:
4588
+ #
4589
+ # {
4590
+ # dry_run: false,
4591
+ # fpga_image_id: "String", # required
4592
+ # }
4593
+ #
4594
+ # @!attribute [rw] dry_run
4595
+ # Checks whether you have the required permissions for the action,
4596
+ # without actually making the request, and provides an error response.
4597
+ # If you have the required permissions, the error response is
4598
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
4599
+ # @return [Boolean]
4600
+ #
4601
+ # @!attribute [rw] fpga_image_id
4602
+ # The ID of the AFI.
4603
+ # @return [String]
4604
+ #
4605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageRequest AWS API Documentation
4606
+ #
4607
+ class DeleteFpgaImageRequest < Struct.new(
4608
+ :dry_run,
4609
+ :fpga_image_id)
4610
+ include Aws::Structure
4611
+ end
4612
+
4613
+ # @!attribute [rw] return
4614
+ # Is `true` if the request succeeds, and an error otherwise.
4615
+ # @return [Boolean]
4616
+ #
4617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageResult AWS API Documentation
4618
+ #
4619
+ class DeleteFpgaImageResult < Struct.new(
4620
+ :return)
4621
+ include Aws::Structure
4622
+ end
4623
+
4518
4624
  # Contains the parameters for DeleteInternetGateway.
4519
4625
  #
4520
4626
  # @note When making an API call, you may pass DeleteInternetGatewayRequest
@@ -6115,6 +6221,50 @@ module Aws::EC2
6115
6221
  include Aws::Structure
6116
6222
  end
6117
6223
 
6224
+ # @note When making an API call, you may pass DescribeFpgaImageAttributeRequest
6225
+ # data as a hash:
6226
+ #
6227
+ # {
6228
+ # dry_run: false,
6229
+ # fpga_image_id: "String", # required
6230
+ # attribute: "description", # required, accepts description, name, loadPermission, productCodes
6231
+ # }
6232
+ #
6233
+ # @!attribute [rw] dry_run
6234
+ # Checks whether you have the required permissions for the action,
6235
+ # without actually making the request, and provides an error response.
6236
+ # If you have the required permissions, the error response is
6237
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
6238
+ # @return [Boolean]
6239
+ #
6240
+ # @!attribute [rw] fpga_image_id
6241
+ # The ID of the AFI.
6242
+ # @return [String]
6243
+ #
6244
+ # @!attribute [rw] attribute
6245
+ # The AFI attribute.
6246
+ # @return [String]
6247
+ #
6248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeRequest AWS API Documentation
6249
+ #
6250
+ class DescribeFpgaImageAttributeRequest < Struct.new(
6251
+ :dry_run,
6252
+ :fpga_image_id,
6253
+ :attribute)
6254
+ include Aws::Structure
6255
+ end
6256
+
6257
+ # @!attribute [rw] fpga_image_attribute
6258
+ # Information about the attribute.
6259
+ # @return [Types::FpgaImageAttribute]
6260
+ #
6261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeResult AWS API Documentation
6262
+ #
6263
+ class DescribeFpgaImageAttributeResult < Struct.new(
6264
+ :fpga_image_attribute)
6265
+ include Aws::Structure
6266
+ end
6267
+
6118
6268
  # @note When making an API call, you may pass DescribeFpgaImagesRequest
6119
6269
  # data as a hash:
6120
6270
  #
@@ -12915,6 +13065,10 @@ module Aws::EC2
12915
13065
  # Any tags assigned to the AFI.
12916
13066
  # @return [Array<Types::Tag>]
12917
13067
  #
13068
+ # @!attribute [rw] public
13069
+ # Indicates whether the AFI is public.
13070
+ # @return [Boolean]
13071
+ #
12918
13072
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImage AWS API Documentation
12919
13073
  #
12920
13074
  class FpgaImage < Struct.new(
@@ -12930,7 +13084,41 @@ module Aws::EC2
12930
13084
  :owner_id,
12931
13085
  :owner_alias,
12932
13086
  :product_codes,
12933
- :tags)
13087
+ :tags,
13088
+ :public)
13089
+ include Aws::Structure
13090
+ end
13091
+
13092
+ # Describes an Amazon FPGA image (AFI) attribute.
13093
+ #
13094
+ # @!attribute [rw] fpga_image_id
13095
+ # The ID of the AFI.
13096
+ # @return [String]
13097
+ #
13098
+ # @!attribute [rw] name
13099
+ # The name of the AFI.
13100
+ # @return [String]
13101
+ #
13102
+ # @!attribute [rw] description
13103
+ # The description of the AFI.
13104
+ # @return [String]
13105
+ #
13106
+ # @!attribute [rw] load_permissions
13107
+ # One or more load permissions.
13108
+ # @return [Array<Types::LoadPermission>]
13109
+ #
13110
+ # @!attribute [rw] product_codes
13111
+ # One or more product codes.
13112
+ # @return [Array<Types::ProductCode>]
13113
+ #
13114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageAttribute AWS API Documentation
13115
+ #
13116
+ class FpgaImageAttribute < Struct.new(
13117
+ :fpga_image_id,
13118
+ :name,
13119
+ :description,
13120
+ :load_permissions,
13121
+ :product_codes)
12934
13122
  include Aws::Structure
12935
13123
  end
12936
13124
 
@@ -13158,7 +13346,8 @@ module Aws::EC2
13158
13346
  # @return [String]
13159
13347
  #
13160
13348
  # @!attribute [rw] password_data
13161
- # The password of the instance.
13349
+ # The password of the instance. Returns an empty string if the
13350
+ # password is not available.
13162
13351
  # @return [String]
13163
13352
  #
13164
13353
  # @!attribute [rw] timestamp
@@ -16101,6 +16290,190 @@ module Aws::EC2
16101
16290
  include Aws::Structure
16102
16291
  end
16103
16292
 
16293
+ # Describes a load permission.
16294
+ #
16295
+ # @!attribute [rw] user_id
16296
+ # The AWS account ID.
16297
+ # @return [String]
16298
+ #
16299
+ # @!attribute [rw] group
16300
+ # The name of the group.
16301
+ # @return [String]
16302
+ #
16303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermission AWS API Documentation
16304
+ #
16305
+ class LoadPermission < Struct.new(
16306
+ :user_id,
16307
+ :group)
16308
+ include Aws::Structure
16309
+ end
16310
+
16311
+ # Describes modifications to the load permissions of an Amazon FPGA
16312
+ # image (AFI).
16313
+ #
16314
+ # @note When making an API call, you may pass LoadPermissionModifications
16315
+ # data as a hash:
16316
+ #
16317
+ # {
16318
+ # add: [
16319
+ # {
16320
+ # group: "all", # accepts all
16321
+ # user_id: "String",
16322
+ # },
16323
+ # ],
16324
+ # remove: [
16325
+ # {
16326
+ # group: "all", # accepts all
16327
+ # user_id: "String",
16328
+ # },
16329
+ # ],
16330
+ # }
16331
+ #
16332
+ # @!attribute [rw] add
16333
+ # The load permissions to add.
16334
+ # @return [Array<Types::LoadPermissionRequest>]
16335
+ #
16336
+ # @!attribute [rw] remove
16337
+ # The load permissions to remove.
16338
+ # @return [Array<Types::LoadPermissionRequest>]
16339
+ #
16340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionModifications AWS API Documentation
16341
+ #
16342
+ class LoadPermissionModifications < Struct.new(
16343
+ :add,
16344
+ :remove)
16345
+ include Aws::Structure
16346
+ end
16347
+
16348
+ # Describes a load permission.
16349
+ #
16350
+ # @note When making an API call, you may pass LoadPermissionRequest
16351
+ # data as a hash:
16352
+ #
16353
+ # {
16354
+ # group: "all", # accepts all
16355
+ # user_id: "String",
16356
+ # }
16357
+ #
16358
+ # @!attribute [rw] group
16359
+ # The name of the group.
16360
+ # @return [String]
16361
+ #
16362
+ # @!attribute [rw] user_id
16363
+ # The AWS account ID.
16364
+ # @return [String]
16365
+ #
16366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionRequest AWS API Documentation
16367
+ #
16368
+ class LoadPermissionRequest < Struct.new(
16369
+ :group,
16370
+ :user_id)
16371
+ include Aws::Structure
16372
+ end
16373
+
16374
+ # @note When making an API call, you may pass ModifyFpgaImageAttributeRequest
16375
+ # data as a hash:
16376
+ #
16377
+ # {
16378
+ # dry_run: false,
16379
+ # fpga_image_id: "String", # required
16380
+ # attribute: "description", # accepts description, name, loadPermission, productCodes
16381
+ # operation_type: "add", # accepts add, remove
16382
+ # user_ids: ["String"],
16383
+ # user_groups: ["String"],
16384
+ # product_codes: ["String"],
16385
+ # load_permission: {
16386
+ # add: [
16387
+ # {
16388
+ # group: "all", # accepts all
16389
+ # user_id: "String",
16390
+ # },
16391
+ # ],
16392
+ # remove: [
16393
+ # {
16394
+ # group: "all", # accepts all
16395
+ # user_id: "String",
16396
+ # },
16397
+ # ],
16398
+ # },
16399
+ # description: "String",
16400
+ # name: "String",
16401
+ # }
16402
+ #
16403
+ # @!attribute [rw] dry_run
16404
+ # Checks whether you have the required permissions for the action,
16405
+ # without actually making the request, and provides an error response.
16406
+ # If you have the required permissions, the error response is
16407
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
16408
+ # @return [Boolean]
16409
+ #
16410
+ # @!attribute [rw] fpga_image_id
16411
+ # The ID of the AFI.
16412
+ # @return [String]
16413
+ #
16414
+ # @!attribute [rw] attribute
16415
+ # The name of the attribute.
16416
+ # @return [String]
16417
+ #
16418
+ # @!attribute [rw] operation_type
16419
+ # The operation type.
16420
+ # @return [String]
16421
+ #
16422
+ # @!attribute [rw] user_ids
16423
+ # One or more AWS account IDs. This parameter is valid only when
16424
+ # modifying the `loadPermission` attribute.
16425
+ # @return [Array<String>]
16426
+ #
16427
+ # @!attribute [rw] user_groups
16428
+ # One or more user groups. This parameter is valid only when modifying
16429
+ # the `loadPermission` attribute.
16430
+ # @return [Array<String>]
16431
+ #
16432
+ # @!attribute [rw] product_codes
16433
+ # One or more product codes. After you add a product code to an AFI,
16434
+ # it can't be removed. This parameter is valid only when modifying
16435
+ # the `productCodes` attribute.
16436
+ # @return [Array<String>]
16437
+ #
16438
+ # @!attribute [rw] load_permission
16439
+ # The load permission for the AFI.
16440
+ # @return [Types::LoadPermissionModifications]
16441
+ #
16442
+ # @!attribute [rw] description
16443
+ # A description for the AFI.
16444
+ # @return [String]
16445
+ #
16446
+ # @!attribute [rw] name
16447
+ # A name for the AFI.
16448
+ # @return [String]
16449
+ #
16450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeRequest AWS API Documentation
16451
+ #
16452
+ class ModifyFpgaImageAttributeRequest < Struct.new(
16453
+ :dry_run,
16454
+ :fpga_image_id,
16455
+ :attribute,
16456
+ :operation_type,
16457
+ :user_ids,
16458
+ :user_groups,
16459
+ :product_codes,
16460
+ :load_permission,
16461
+ :description,
16462
+ :name)
16463
+ include Aws::Structure
16464
+ end
16465
+
16466
+ # @!attribute [rw] fpga_image_attribute
16467
+ # Information about the attribute.
16468
+ # @return [Types::FpgaImageAttribute]
16469
+ #
16470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeResult AWS API Documentation
16471
+ #
16472
+ class ModifyFpgaImageAttributeResult < Struct.new(
16473
+ :fpga_image_attribute)
16474
+ include Aws::Structure
16475
+ end
16476
+
16104
16477
  # Contains the parameters for ModifyHosts.
16105
16478
  #
16106
16479
  # @note When making an API call, you may pass ModifyHostsRequest
@@ -20406,6 +20779,50 @@ module Aws::EC2
20406
20779
  include Aws::Structure
20407
20780
  end
20408
20781
 
20782
+ # @note When making an API call, you may pass ResetFpgaImageAttributeRequest
20783
+ # data as a hash:
20784
+ #
20785
+ # {
20786
+ # dry_run: false,
20787
+ # fpga_image_id: "String", # required
20788
+ # attribute: "loadPermission", # accepts loadPermission
20789
+ # }
20790
+ #
20791
+ # @!attribute [rw] dry_run
20792
+ # Checks whether you have the required permissions for the action,
20793
+ # without actually making the request, and provides an error response.
20794
+ # If you have the required permissions, the error response is
20795
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
20796
+ # @return [Boolean]
20797
+ #
20798
+ # @!attribute [rw] fpga_image_id
20799
+ # The ID of the AFI.
20800
+ # @return [String]
20801
+ #
20802
+ # @!attribute [rw] attribute
20803
+ # The attribute.
20804
+ # @return [String]
20805
+ #
20806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeRequest AWS API Documentation
20807
+ #
20808
+ class ResetFpgaImageAttributeRequest < Struct.new(
20809
+ :dry_run,
20810
+ :fpga_image_id,
20811
+ :attribute)
20812
+ include Aws::Structure
20813
+ end
20814
+
20815
+ # @!attribute [rw] return
20816
+ # Is `true` if the request succeeds, and an error otherwise.
20817
+ # @return [Boolean]
20818
+ #
20819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeResult AWS API Documentation
20820
+ #
20821
+ class ResetFpgaImageAttributeResult < Struct.new(
20822
+ :return)
20823
+ include Aws::Structure
20824
+ end
20825
+
20409
20826
  # Contains the parameters for ResetImageAttribute.
20410
20827
  #
20411
20828
  # @note When making an API call, you may pass ResetImageAttributeRequest
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.8.0
4
+ version: 1.9.0
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-09-19 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4