aws-sdk-devicefarm 1.4.0 → 1.5.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: 1c256ab0b76ab0c2aa01fa7d13f4c1f4825dc71a
4
- data.tar.gz: 241dc083fdaaf1cf3c02c39ee94dadef8af55c7e
3
+ metadata.gz: a7003e6b0229d50a49519e5f139d3d6151312efc
4
+ data.tar.gz: 4f084e375bb01b14688eff294d5b130b5dd824c4
5
5
  SHA512:
6
- metadata.gz: bc83271d5fb8c49a54cec8c1b38ecde25d0049ac0b43669e180f0bb31b1c04630cd18dfbdbc8493482a71455e50299cf5d040e3d24a2151beb9e7665aa2d7b01
7
- data.tar.gz: 1048ec60464e0cdcd2f5b41e6f663ac779f17d74b8bee56be1d80449ec91a58a5e0a9b9de14c76fd9a4ba2a41d2c584bc4449ee02d2c636d534022408a6f680b
6
+ metadata.gz: 607df71d827408b298ca794cc45167d5804eb85daf3c83b2f28f9ce14db2d3a0ff76df30bc7b251bbf03111a8409da34f56cb6380b2d389e3f8f5e8f8071986d
7
+ data.tar.gz: 901ed92ad072ef752a86d822a8e815dcf88754223ea51dabcc2f6735fd01adc2395940a8439c89fba48a543444c7d0b72ff9c161c118fb33e456e1594f2ba13d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-devicefarm/customizations'
42
42
  # @service
43
43
  module Aws::DeviceFarm
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -200,7 +200,7 @@ module Aws::DeviceFarm
200
200
  # description: "Message",
201
201
  # rules: [ # required
202
202
  # {
203
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
203
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
204
204
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
205
205
  # value: "String",
206
206
  # },
@@ -214,7 +214,7 @@ module Aws::DeviceFarm
214
214
  # resp.device_pool.description #=> String
215
215
  # resp.device_pool.type #=> String, one of "CURATED", "PRIVATE"
216
216
  # resp.device_pool.rules #=> Array
217
- # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
217
+ # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
218
218
  # resp.device_pool.rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
219
219
  # resp.device_pool.rules[0].value #=> String
220
220
  #
@@ -733,6 +733,55 @@ module Aws::DeviceFarm
733
733
  req.send_request(options)
734
734
  end
735
735
 
736
+ # Creates a configuration record in Device Farm for your Amazon Virtual
737
+ # Private Cloud (VPC) endpoint.
738
+ #
739
+ # @option params [required, String] :vpce_configuration_name
740
+ # The friendly name you give to your VPC endpoint configuration, to
741
+ # manage your configurations more easily.
742
+ #
743
+ # @option params [required, String] :vpce_service_name
744
+ # The name of the VPC endpoint service running inside your AWS account
745
+ # that you want Device Farm to test.
746
+ #
747
+ # @option params [required, String] :service_dns_name
748
+ # The DNS name of the service running in your VPC that you want Device
749
+ # Farm to test.
750
+ #
751
+ # @option params [String] :vpce_configuration_description
752
+ # An optional description, providing more details about your VPC
753
+ # endpoint configuration.
754
+ #
755
+ # @return [Types::CreateVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
756
+ #
757
+ # * {Types::CreateVPCEConfigurationResult#vpce_configuration #vpce_configuration} => Types::VPCEConfiguration
758
+ #
759
+ # @example Request syntax with placeholder values
760
+ #
761
+ # resp = client.create_vpce_configuration({
762
+ # vpce_configuration_name: "VPCEConfigurationName", # required
763
+ # vpce_service_name: "VPCEServiceName", # required
764
+ # service_dns_name: "ServiceDnsName", # required
765
+ # vpce_configuration_description: "VPCEConfigurationDescription",
766
+ # })
767
+ #
768
+ # @example Response structure
769
+ #
770
+ # resp.vpce_configuration.arn #=> String
771
+ # resp.vpce_configuration.vpce_configuration_name #=> String
772
+ # resp.vpce_configuration.vpce_service_name #=> String
773
+ # resp.vpce_configuration.service_dns_name #=> String
774
+ # resp.vpce_configuration.vpce_configuration_description #=> String
775
+ #
776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateVPCEConfiguration AWS API Documentation
777
+ #
778
+ # @overload create_vpce_configuration(params = {})
779
+ # @param [Hash] params ({})
780
+ def create_vpce_configuration(params = {}, options = {})
781
+ req = build_request(:create_vpce_configuration, params)
782
+ req.send_request(options)
783
+ end
784
+
736
785
  # Deletes a device pool given the pool ARN. Does not allow deletion of
737
786
  # curated pools owned by the system.
738
787
  #
@@ -964,6 +1013,30 @@ module Aws::DeviceFarm
964
1013
  req.send_request(options)
965
1014
  end
966
1015
 
1016
+ # Deletes a configuration for your Amazon Virtual Private Cloud (VPC)
1017
+ # endpoint.
1018
+ #
1019
+ # @option params [required, String] :arn
1020
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration you
1021
+ # want to delete.
1022
+ #
1023
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1024
+ #
1025
+ # @example Request syntax with placeholder values
1026
+ #
1027
+ # resp = client.delete_vpce_configuration({
1028
+ # arn: "AmazonResourceName", # required
1029
+ # })
1030
+ #
1031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteVPCEConfiguration AWS API Documentation
1032
+ #
1033
+ # @overload delete_vpce_configuration(params = {})
1034
+ # @param [Hash] params ({})
1035
+ def delete_vpce_configuration(params = {}, options = {})
1036
+ req = build_request(:delete_vpce_configuration, params)
1037
+ req.send_request(options)
1038
+ end
1039
+
967
1040
  # Returns the number of unmetered iOS and/or unmetered Android devices
968
1041
  # that have been purchased by the account.
969
1042
  #
@@ -1190,7 +1263,7 @@ module Aws::DeviceFarm
1190
1263
  # resp.device_pool.description #=> String
1191
1264
  # resp.device_pool.type #=> String, one of "CURATED", "PRIVATE"
1192
1265
  # resp.device_pool.rules #=> Array
1193
- # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
1266
+ # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
1194
1267
  # resp.device_pool.rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
1195
1268
  # resp.device_pool.rules[0].value #=> String
1196
1269
  #
@@ -1249,6 +1322,9 @@ module Aws::DeviceFarm
1249
1322
  # @option params [Types::ScheduleRunTest] :test
1250
1323
  # Information about the uploaded test to be run against the device pool.
1251
1324
  #
1325
+ # @option params [Types::ScheduleRunConfiguration] :configuration
1326
+ # An object containing information about the settings for a run.
1327
+ #
1252
1328
  # @return [Types::GetDevicePoolCompatibilityResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1253
1329
  #
1254
1330
  # * {Types::GetDevicePoolCompatibilityResult#compatible_devices #compatible_devices} => Array<Types::DevicePoolCompatibilityResult>
@@ -1287,6 +1363,29 @@ module Aws::DeviceFarm
1287
1363
  # "String" => "String",
1288
1364
  # },
1289
1365
  # },
1366
+ # configuration: {
1367
+ # extra_data_package_arn: "AmazonResourceName",
1368
+ # network_profile_arn: "AmazonResourceName",
1369
+ # locale: "String",
1370
+ # location: {
1371
+ # latitude: 1.0, # required
1372
+ # longitude: 1.0, # required
1373
+ # },
1374
+ # vpce_configuration_arns: ["AmazonResourceName"],
1375
+ # customer_artifact_paths: {
1376
+ # ios_paths: ["String"],
1377
+ # android_paths: ["String"],
1378
+ # device_host_paths: ["String"],
1379
+ # },
1380
+ # radios: {
1381
+ # wifi: false,
1382
+ # bluetooth: false,
1383
+ # nfc: false,
1384
+ # gps: false,
1385
+ # },
1386
+ # auxiliary_apps: ["AmazonResourceName"],
1387
+ # billing_method: "METERED", # accepts METERED, UNMETERED
1388
+ # },
1290
1389
  # })
1291
1390
  #
1292
1391
  # @example Response structure
@@ -1331,7 +1430,7 @@ module Aws::DeviceFarm
1331
1430
  # resp.compatible_devices[0].compatible #=> Boolean
1332
1431
  # resp.compatible_devices[0].incompatibility_messages #=> Array
1333
1432
  # resp.compatible_devices[0].incompatibility_messages[0].message #=> String
1334
- # resp.compatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
1433
+ # resp.compatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
1335
1434
  # resp.incompatible_devices #=> Array
1336
1435
  # resp.incompatible_devices[0].device.arn #=> String
1337
1436
  # resp.incompatible_devices[0].device.name #=> String
@@ -1372,7 +1471,7 @@ module Aws::DeviceFarm
1372
1471
  # resp.incompatible_devices[0].compatible #=> Boolean
1373
1472
  # resp.incompatible_devices[0].incompatibility_messages #=> Array
1374
1473
  # resp.incompatible_devices[0].incompatibility_messages[0].message #=> String
1375
- # resp.incompatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
1474
+ # resp.incompatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
1376
1475
  #
1377
1476
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility AWS API Documentation
1378
1477
  #
@@ -1895,7 +1994,7 @@ module Aws::DeviceFarm
1895
1994
  # resp.run.network_profile.uplink_loss_percent #=> Integer
1896
1995
  # resp.run.network_profile.downlink_loss_percent #=> Integer
1897
1996
  # resp.run.parsing_result_url #=> String
1898
- # resp.run.result_code #=> String, one of "PARSING_FAILED"
1997
+ # resp.run.result_code #=> String, one of "PARSING_FAILED", "VPC_ENDPOINT_SETUP_FAILED"
1899
1998
  # resp.run.seed #=> Integer
1900
1999
  # resp.run.app_upload #=> String
1901
2000
  # resp.run.event_count #=> Integer
@@ -2099,6 +2198,40 @@ module Aws::DeviceFarm
2099
2198
  req.send_request(options)
2100
2199
  end
2101
2200
 
2201
+ # Returns information about the configuration settings for your Amazon
2202
+ # Virtual Private Cloud (VPC) endpoint.
2203
+ #
2204
+ # @option params [required, String] :arn
2205
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration you
2206
+ # want to describe.
2207
+ #
2208
+ # @return [Types::GetVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2209
+ #
2210
+ # * {Types::GetVPCEConfigurationResult#vpce_configuration #vpce_configuration} => Types::VPCEConfiguration
2211
+ #
2212
+ # @example Request syntax with placeholder values
2213
+ #
2214
+ # resp = client.get_vpce_configuration({
2215
+ # arn: "AmazonResourceName", # required
2216
+ # })
2217
+ #
2218
+ # @example Response structure
2219
+ #
2220
+ # resp.vpce_configuration.arn #=> String
2221
+ # resp.vpce_configuration.vpce_configuration_name #=> String
2222
+ # resp.vpce_configuration.vpce_service_name #=> String
2223
+ # resp.vpce_configuration.service_dns_name #=> String
2224
+ # resp.vpce_configuration.vpce_configuration_description #=> String
2225
+ #
2226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetVPCEConfiguration AWS API Documentation
2227
+ #
2228
+ # @overload get_vpce_configuration(params = {})
2229
+ # @param [Hash] params ({})
2230
+ def get_vpce_configuration(params = {}, options = {})
2231
+ req = build_request(:get_vpce_configuration, params)
2232
+ req.send_request(options)
2233
+ end
2234
+
2102
2235
  # Installs an application to the device in a remote access session. For
2103
2236
  # Android applications, the file must be in .apk format. For iOS
2104
2237
  # applications, the file must be in .ipa format.
@@ -2355,7 +2488,7 @@ module Aws::DeviceFarm
2355
2488
  # resp.device_pools[0].description #=> String
2356
2489
  # resp.device_pools[0].type #=> String, one of "CURATED", "PRIVATE"
2357
2490
  # resp.device_pools[0].rules #=> Array
2358
- # resp.device_pools[0].rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
2491
+ # resp.device_pools[0].rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
2359
2492
  # resp.device_pools[0].rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
2360
2493
  # resp.device_pools[0].rules[0].value #=> String
2361
2494
  # resp.next_token #=> String
@@ -3241,7 +3374,7 @@ module Aws::DeviceFarm
3241
3374
  # resp.runs[0].network_profile.uplink_loss_percent #=> Integer
3242
3375
  # resp.runs[0].network_profile.downlink_loss_percent #=> Integer
3243
3376
  # resp.runs[0].parsing_result_url #=> String
3244
- # resp.runs[0].result_code #=> String, one of "PARSING_FAILED"
3377
+ # resp.runs[0].result_code #=> String, one of "PARSING_FAILED", "VPC_ENDPOINT_SETUP_FAILED"
3245
3378
  # resp.runs[0].seed #=> Integer
3246
3379
  # resp.runs[0].app_upload #=> String
3247
3380
  # resp.runs[0].event_count #=> Integer
@@ -3634,6 +3767,49 @@ module Aws::DeviceFarm
3634
3767
  req.send_request(options)
3635
3768
  end
3636
3769
 
3770
+ # Returns information about all Amazon Virtual Private Cloud (VPC)
3771
+ # endpoint configurations in the AWS account.
3772
+ #
3773
+ # @option params [Integer] :max_results
3774
+ # An integer specifying the maximum number of items you want to return
3775
+ # in the API response.
3776
+ #
3777
+ # @option params [String] :next_token
3778
+ # An identifier that was returned from the previous call to this
3779
+ # operation, which can be used to return the next set of items in the
3780
+ # list.
3781
+ #
3782
+ # @return [Types::ListVPCEConfigurationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3783
+ #
3784
+ # * {Types::ListVPCEConfigurationsResult#vpce_configurations #vpce_configurations} => Array<Types::VPCEConfiguration>
3785
+ # * {Types::ListVPCEConfigurationsResult#next_token #next_token} => String
3786
+ #
3787
+ # @example Request syntax with placeholder values
3788
+ #
3789
+ # resp = client.list_vpce_configurations({
3790
+ # max_results: 1,
3791
+ # next_token: "PaginationToken",
3792
+ # })
3793
+ #
3794
+ # @example Response structure
3795
+ #
3796
+ # resp.vpce_configurations #=> Array
3797
+ # resp.vpce_configurations[0].arn #=> String
3798
+ # resp.vpce_configurations[0].vpce_configuration_name #=> String
3799
+ # resp.vpce_configurations[0].vpce_service_name #=> String
3800
+ # resp.vpce_configurations[0].service_dns_name #=> String
3801
+ # resp.vpce_configurations[0].vpce_configuration_description #=> String
3802
+ # resp.next_token #=> String
3803
+ #
3804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListVPCEConfigurations AWS API Documentation
3805
+ #
3806
+ # @overload list_vpce_configurations(params = {})
3807
+ # @param [Hash] params ({})
3808
+ def list_vpce_configurations(params = {}, options = {})
3809
+ req = build_request(:list_vpce_configurations, params)
3810
+ req.send_request(options)
3811
+ end
3812
+
3637
3813
  # Immediately purchases offerings for an AWS account. Offerings renew
3638
3814
  # with the latest total purchased quantity for an offering, unless the
3639
3815
  # renewal was overridden. The API returns a `NotEligible` error if the
@@ -3881,6 +4057,7 @@ module Aws::DeviceFarm
3881
4057
  # latitude: 1.0, # required
3882
4058
  # longitude: 1.0, # required
3883
4059
  # },
4060
+ # vpce_configuration_arns: ["AmazonResourceName"],
3884
4061
  # customer_artifact_paths: {
3885
4062
  # ios_paths: ["String"],
3886
4063
  # android_paths: ["String"],
@@ -3941,7 +4118,7 @@ module Aws::DeviceFarm
3941
4118
  # resp.run.network_profile.uplink_loss_percent #=> Integer
3942
4119
  # resp.run.network_profile.downlink_loss_percent #=> Integer
3943
4120
  # resp.run.parsing_result_url #=> String
3944
- # resp.run.result_code #=> String, one of "PARSING_FAILED"
4121
+ # resp.run.result_code #=> String, one of "PARSING_FAILED", "VPC_ENDPOINT_SETUP_FAILED"
3945
4122
  # resp.run.seed #=> Integer
3946
4123
  # resp.run.app_upload #=> String
3947
4124
  # resp.run.event_count #=> Integer
@@ -4133,7 +4310,7 @@ module Aws::DeviceFarm
4133
4310
  # resp.run.network_profile.uplink_loss_percent #=> Integer
4134
4311
  # resp.run.network_profile.downlink_loss_percent #=> Integer
4135
4312
  # resp.run.parsing_result_url #=> String
4136
- # resp.run.result_code #=> String, one of "PARSING_FAILED"
4313
+ # resp.run.result_code #=> String, one of "PARSING_FAILED", "VPC_ENDPOINT_SETUP_FAILED"
4137
4314
  # resp.run.seed #=> Integer
4138
4315
  # resp.run.app_upload #=> String
4139
4316
  # resp.run.event_count #=> Integer
@@ -4270,7 +4447,7 @@ module Aws::DeviceFarm
4270
4447
  # description: "Message",
4271
4448
  # rules: [
4272
4449
  # {
4273
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
4450
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
4274
4451
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
4275
4452
  # value: "String",
4276
4453
  # },
@@ -4284,7 +4461,7 @@ module Aws::DeviceFarm
4284
4461
  # resp.device_pool.description #=> String
4285
4462
  # resp.device_pool.type #=> String, one of "CURATED", "PRIVATE"
4286
4463
  # resp.device_pool.rules #=> Array
4287
- # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
4464
+ # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
4288
4465
  # resp.device_pool.rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
4289
4466
  # resp.device_pool.rules[0].value #=> String
4290
4467
  #
@@ -4514,6 +4691,60 @@ module Aws::DeviceFarm
4514
4691
  req.send_request(options)
4515
4692
  end
4516
4693
 
4694
+ # Updates information about an existing Amazon Virtual Private Cloud
4695
+ # (VPC) endpoint configuration.
4696
+ #
4697
+ # @option params [required, String] :arn
4698
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration you
4699
+ # want to update.
4700
+ #
4701
+ # @option params [String] :vpce_configuration_name
4702
+ # The friendly name you give to your VPC endpoint configuration, to
4703
+ # manage your configurations more easily.
4704
+ #
4705
+ # @option params [String] :vpce_service_name
4706
+ # The name of the VPC endpoint service running inside your AWS account
4707
+ # that you want Device Farm to test.
4708
+ #
4709
+ # @option params [String] :service_dns_name
4710
+ # The DNS (domain) name used to connect to your private service in your
4711
+ # Amazon VPC. The DNS name must not already be in use on the Internet.
4712
+ #
4713
+ # @option params [String] :vpce_configuration_description
4714
+ # An optional description, providing more details about your VPC
4715
+ # endpoint configuration.
4716
+ #
4717
+ # @return [Types::UpdateVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4718
+ #
4719
+ # * {Types::UpdateVPCEConfigurationResult#vpce_configuration #vpce_configuration} => Types::VPCEConfiguration
4720
+ #
4721
+ # @example Request syntax with placeholder values
4722
+ #
4723
+ # resp = client.update_vpce_configuration({
4724
+ # arn: "AmazonResourceName", # required
4725
+ # vpce_configuration_name: "VPCEConfigurationName",
4726
+ # vpce_service_name: "VPCEServiceName",
4727
+ # service_dns_name: "ServiceDnsName",
4728
+ # vpce_configuration_description: "VPCEConfigurationDescription",
4729
+ # })
4730
+ #
4731
+ # @example Response structure
4732
+ #
4733
+ # resp.vpce_configuration.arn #=> String
4734
+ # resp.vpce_configuration.vpce_configuration_name #=> String
4735
+ # resp.vpce_configuration.vpce_service_name #=> String
4736
+ # resp.vpce_configuration.service_dns_name #=> String
4737
+ # resp.vpce_configuration.vpce_configuration_description #=> String
4738
+ #
4739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateVPCEConfiguration AWS API Documentation
4740
+ #
4741
+ # @overload update_vpce_configuration(params = {})
4742
+ # @param [Hash] params ({})
4743
+ def update_vpce_configuration(params = {}, options = {})
4744
+ req = build_request(:update_vpce_configuration, params)
4745
+ req.send_request(options)
4746
+ end
4747
+
4517
4748
  # @!endgroup
4518
4749
 
4519
4750
  # @param params ({})
@@ -4527,7 +4758,7 @@ module Aws::DeviceFarm
4527
4758
  params: params,
4528
4759
  config: config)
4529
4760
  context[:gem_name] = 'aws-sdk-devicefarm'
4530
- context[:gem_version] = '1.4.0'
4761
+ context[:gem_version] = '1.5.0'
4531
4762
  Seahorse::Client::Request.new(handlers, context)
4532
4763
  end
4533
4764
 
@@ -42,6 +42,8 @@ module Aws::DeviceFarm
42
42
  CreateRemoteAccessSessionResult = Shapes::StructureShape.new(name: 'CreateRemoteAccessSessionResult')
43
43
  CreateUploadRequest = Shapes::StructureShape.new(name: 'CreateUploadRequest')
44
44
  CreateUploadResult = Shapes::StructureShape.new(name: 'CreateUploadResult')
45
+ CreateVPCEConfigurationRequest = Shapes::StructureShape.new(name: 'CreateVPCEConfigurationRequest')
46
+ CreateVPCEConfigurationResult = Shapes::StructureShape.new(name: 'CreateVPCEConfigurationResult')
45
47
  CurrencyCode = Shapes::StringShape.new(name: 'CurrencyCode')
46
48
  CustomerArtifactPaths = Shapes::StructureShape.new(name: 'CustomerArtifactPaths')
47
49
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
@@ -59,6 +61,8 @@ module Aws::DeviceFarm
59
61
  DeleteRunResult = Shapes::StructureShape.new(name: 'DeleteRunResult')
60
62
  DeleteUploadRequest = Shapes::StructureShape.new(name: 'DeleteUploadRequest')
61
63
  DeleteUploadResult = Shapes::StructureShape.new(name: 'DeleteUploadResult')
64
+ DeleteVPCEConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteVPCEConfigurationRequest')
65
+ DeleteVPCEConfigurationResult = Shapes::StructureShape.new(name: 'DeleteVPCEConfigurationResult')
62
66
  Device = Shapes::StructureShape.new(name: 'Device')
63
67
  DeviceAttribute = Shapes::StringShape.new(name: 'DeviceAttribute')
64
68
  DeviceFormFactor = Shapes::StringShape.new(name: 'DeviceFormFactor')
@@ -109,6 +113,8 @@ module Aws::DeviceFarm
109
113
  GetTestResult = Shapes::StructureShape.new(name: 'GetTestResult')
110
114
  GetUploadRequest = Shapes::StructureShape.new(name: 'GetUploadRequest')
111
115
  GetUploadResult = Shapes::StructureShape.new(name: 'GetUploadResult')
116
+ GetVPCEConfigurationRequest = Shapes::StructureShape.new(name: 'GetVPCEConfigurationRequest')
117
+ GetVPCEConfigurationResult = Shapes::StructureShape.new(name: 'GetVPCEConfigurationResult')
112
118
  HostAddress = Shapes::StringShape.new(name: 'HostAddress')
113
119
  IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
114
120
  IncompatibilityMessage = Shapes::StructureShape.new(name: 'IncompatibilityMessage')
@@ -121,6 +127,7 @@ module Aws::DeviceFarm
121
127
  InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
122
128
  Integer = Shapes::IntegerShape.new(name: 'Integer')
123
129
  InteractionMode = Shapes::StringShape.new(name: 'InteractionMode')
130
+ InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
124
131
  IosPaths = Shapes::ListShape.new(name: 'IosPaths')
125
132
  Job = Shapes::StructureShape.new(name: 'Job')
126
133
  JobTimeoutMinutes = Shapes::IntegerShape.new(name: 'JobTimeoutMinutes')
@@ -162,6 +169,8 @@ module Aws::DeviceFarm
162
169
  ListUniqueProblemsResult = Shapes::StructureShape.new(name: 'ListUniqueProblemsResult')
163
170
  ListUploadsRequest = Shapes::StructureShape.new(name: 'ListUploadsRequest')
164
171
  ListUploadsResult = Shapes::StructureShape.new(name: 'ListUploadsResult')
172
+ ListVPCEConfigurationsRequest = Shapes::StructureShape.new(name: 'ListVPCEConfigurationsRequest')
173
+ ListVPCEConfigurationsResult = Shapes::StructureShape.new(name: 'ListVPCEConfigurationsResult')
165
174
  Location = Shapes::StructureShape.new(name: 'Location')
166
175
  Long = Shapes::IntegerShape.new(name: 'Long')
167
176
  MaxSlotMap = Shapes::MapShape.new(name: 'MaxSlotMap')
@@ -219,6 +228,7 @@ module Aws::DeviceFarm
219
228
  ScheduleRunResult = Shapes::StructureShape.new(name: 'ScheduleRunResult')
220
229
  ScheduleRunTest = Shapes::StructureShape.new(name: 'ScheduleRunTest')
221
230
  ServiceAccountException = Shapes::StructureShape.new(name: 'ServiceAccountException')
231
+ ServiceDnsName = Shapes::StringShape.new(name: 'ServiceDnsName')
222
232
  SkipAppResign = Shapes::BooleanShape.new(name: 'SkipAppResign')
223
233
  SshPublicKey = Shapes::StringShape.new(name: 'SshPublicKey')
224
234
  StopRemoteAccessSessionRequest = Shapes::StructureShape.new(name: 'StopRemoteAccessSessionRequest')
@@ -248,10 +258,17 @@ module Aws::DeviceFarm
248
258
  UpdateNetworkProfileResult = Shapes::StructureShape.new(name: 'UpdateNetworkProfileResult')
249
259
  UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest')
250
260
  UpdateProjectResult = Shapes::StructureShape.new(name: 'UpdateProjectResult')
261
+ UpdateVPCEConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateVPCEConfigurationRequest')
262
+ UpdateVPCEConfigurationResult = Shapes::StructureShape.new(name: 'UpdateVPCEConfigurationResult')
251
263
  Upload = Shapes::StructureShape.new(name: 'Upload')
252
264
  UploadStatus = Shapes::StringShape.new(name: 'UploadStatus')
253
265
  UploadType = Shapes::StringShape.new(name: 'UploadType')
254
266
  Uploads = Shapes::ListShape.new(name: 'Uploads')
267
+ VPCEConfiguration = Shapes::StructureShape.new(name: 'VPCEConfiguration')
268
+ VPCEConfigurationDescription = Shapes::StringShape.new(name: 'VPCEConfigurationDescription')
269
+ VPCEConfigurationName = Shapes::StringShape.new(name: 'VPCEConfigurationName')
270
+ VPCEConfigurations = Shapes::ListShape.new(name: 'VPCEConfigurations')
271
+ VPCEServiceName = Shapes::StringShape.new(name: 'VPCEServiceName')
255
272
 
256
273
  AccountSettings.add_member(:aws_account_number, Shapes::ShapeRef.new(shape: AWSAccountNumber, location_name: "awsAccountNumber"))
257
274
  AccountSettings.add_member(:unmetered_devices, Shapes::ShapeRef.new(shape: PurchasedDevicesMap, location_name: "unmeteredDevices"))
@@ -362,6 +379,15 @@ module Aws::DeviceFarm
362
379
  CreateUploadResult.add_member(:upload, Shapes::ShapeRef.new(shape: Upload, location_name: "upload"))
363
380
  CreateUploadResult.struct_class = Types::CreateUploadResult
364
381
 
382
+ CreateVPCEConfigurationRequest.add_member(:vpce_configuration_name, Shapes::ShapeRef.new(shape: VPCEConfigurationName, required: true, location_name: "vpceConfigurationName"))
383
+ CreateVPCEConfigurationRequest.add_member(:vpce_service_name, Shapes::ShapeRef.new(shape: VPCEServiceName, required: true, location_name: "vpceServiceName"))
384
+ CreateVPCEConfigurationRequest.add_member(:service_dns_name, Shapes::ShapeRef.new(shape: ServiceDnsName, required: true, location_name: "serviceDnsName"))
385
+ CreateVPCEConfigurationRequest.add_member(:vpce_configuration_description, Shapes::ShapeRef.new(shape: VPCEConfigurationDescription, location_name: "vpceConfigurationDescription"))
386
+ CreateVPCEConfigurationRequest.struct_class = Types::CreateVPCEConfigurationRequest
387
+
388
+ CreateVPCEConfigurationResult.add_member(:vpce_configuration, Shapes::ShapeRef.new(shape: VPCEConfiguration, location_name: "vpceConfiguration"))
389
+ CreateVPCEConfigurationResult.struct_class = Types::CreateVPCEConfigurationResult
390
+
365
391
  CustomerArtifactPaths.add_member(:ios_paths, Shapes::ShapeRef.new(shape: IosPaths, location_name: "iosPaths"))
366
392
  CustomerArtifactPaths.add_member(:android_paths, Shapes::ShapeRef.new(shape: AndroidPaths, location_name: "androidPaths"))
367
393
  CustomerArtifactPaths.add_member(:device_host_paths, Shapes::ShapeRef.new(shape: DeviceHostPaths, location_name: "deviceHostPaths"))
@@ -402,6 +428,11 @@ module Aws::DeviceFarm
402
428
 
403
429
  DeleteUploadResult.struct_class = Types::DeleteUploadResult
404
430
 
431
+ DeleteVPCEConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
432
+ DeleteVPCEConfigurationRequest.struct_class = Types::DeleteVPCEConfigurationRequest
433
+
434
+ DeleteVPCEConfigurationResult.struct_class = Types::DeleteVPCEConfigurationResult
435
+
405
436
  Device.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
406
437
  Device.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
407
438
  Device.add_member(:manufacturer, Shapes::ShapeRef.new(shape: String, location_name: "manufacturer"))
@@ -480,6 +511,7 @@ module Aws::DeviceFarm
480
511
  GetDevicePoolCompatibilityRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "appArn"))
481
512
  GetDevicePoolCompatibilityRequest.add_member(:test_type, Shapes::ShapeRef.new(shape: TestType, location_name: "testType"))
482
513
  GetDevicePoolCompatibilityRequest.add_member(:test, Shapes::ShapeRef.new(shape: ScheduleRunTest, location_name: "test"))
514
+ GetDevicePoolCompatibilityRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ScheduleRunConfiguration, location_name: "configuration"))
483
515
  GetDevicePoolCompatibilityRequest.struct_class = Types::GetDevicePoolCompatibilityRequest
484
516
 
485
517
  GetDevicePoolCompatibilityResult.add_member(:compatible_devices, Shapes::ShapeRef.new(shape: DevicePoolCompatibilityResults, location_name: "compatibleDevices"))
@@ -560,6 +592,12 @@ module Aws::DeviceFarm
560
592
  GetUploadResult.add_member(:upload, Shapes::ShapeRef.new(shape: Upload, location_name: "upload"))
561
593
  GetUploadResult.struct_class = Types::GetUploadResult
562
594
 
595
+ GetVPCEConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
596
+ GetVPCEConfigurationRequest.struct_class = Types::GetVPCEConfigurationRequest
597
+
598
+ GetVPCEConfigurationResult.add_member(:vpce_configuration, Shapes::ShapeRef.new(shape: VPCEConfiguration, location_name: "vpceConfiguration"))
599
+ GetVPCEConfigurationResult.struct_class = Types::GetVPCEConfigurationResult
600
+
563
601
  IncompatibilityMessage.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
564
602
  IncompatibilityMessage.add_member(:type, Shapes::ShapeRef.new(shape: DeviceAttribute, location_name: "type"))
565
603
  IncompatibilityMessage.struct_class = Types::IncompatibilityMessage
@@ -748,6 +786,14 @@ module Aws::DeviceFarm
748
786
  ListUploadsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
749
787
  ListUploadsResult.struct_class = Types::ListUploadsResult
750
788
 
789
+ ListVPCEConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
790
+ ListVPCEConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
791
+ ListVPCEConfigurationsRequest.struct_class = Types::ListVPCEConfigurationsRequest
792
+
793
+ ListVPCEConfigurationsResult.add_member(:vpce_configurations, Shapes::ShapeRef.new(shape: VPCEConfigurations, location_name: "vpceConfigurations"))
794
+ ListVPCEConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
795
+ ListVPCEConfigurationsResult.struct_class = Types::ListVPCEConfigurationsResult
796
+
751
797
  Location.add_member(:latitude, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "latitude"))
752
798
  Location.add_member(:longitude, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "longitude"))
753
799
  Location.struct_class = Types::Location
@@ -943,6 +989,7 @@ module Aws::DeviceFarm
943
989
  ScheduleRunConfiguration.add_member(:network_profile_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "networkProfileArn"))
944
990
  ScheduleRunConfiguration.add_member(:locale, Shapes::ShapeRef.new(shape: String, location_name: "locale"))
945
991
  ScheduleRunConfiguration.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
992
+ ScheduleRunConfiguration.add_member(:vpce_configuration_arns, Shapes::ShapeRef.new(shape: AmazonResourceNames, location_name: "vpceConfigurationArns"))
946
993
  ScheduleRunConfiguration.add_member(:customer_artifact_paths, Shapes::ShapeRef.new(shape: CustomerArtifactPaths, location_name: "customerArtifactPaths"))
947
994
  ScheduleRunConfiguration.add_member(:radios, Shapes::ShapeRef.new(shape: Radios, location_name: "radios"))
948
995
  ScheduleRunConfiguration.add_member(:auxiliary_apps, Shapes::ShapeRef.new(shape: AmazonResourceNames, location_name: "auxiliaryApps"))
@@ -1078,6 +1125,16 @@ module Aws::DeviceFarm
1078
1125
  UpdateProjectResult.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
1079
1126
  UpdateProjectResult.struct_class = Types::UpdateProjectResult
1080
1127
 
1128
+ UpdateVPCEConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
1129
+ UpdateVPCEConfigurationRequest.add_member(:vpce_configuration_name, Shapes::ShapeRef.new(shape: VPCEConfigurationName, location_name: "vpceConfigurationName"))
1130
+ UpdateVPCEConfigurationRequest.add_member(:vpce_service_name, Shapes::ShapeRef.new(shape: VPCEServiceName, location_name: "vpceServiceName"))
1131
+ UpdateVPCEConfigurationRequest.add_member(:service_dns_name, Shapes::ShapeRef.new(shape: ServiceDnsName, location_name: "serviceDnsName"))
1132
+ UpdateVPCEConfigurationRequest.add_member(:vpce_configuration_description, Shapes::ShapeRef.new(shape: VPCEConfigurationDescription, location_name: "vpceConfigurationDescription"))
1133
+ UpdateVPCEConfigurationRequest.struct_class = Types::UpdateVPCEConfigurationRequest
1134
+
1135
+ UpdateVPCEConfigurationResult.add_member(:vpce_configuration, Shapes::ShapeRef.new(shape: VPCEConfiguration, location_name: "vpceConfiguration"))
1136
+ UpdateVPCEConfigurationResult.struct_class = Types::UpdateVPCEConfigurationResult
1137
+
1081
1138
  Upload.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
1082
1139
  Upload.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1083
1140
  Upload.add_member(:created, Shapes::ShapeRef.new(shape: DateTime, location_name: "created"))
@@ -1091,6 +1148,15 @@ module Aws::DeviceFarm
1091
1148
 
1092
1149
  Uploads.member = Shapes::ShapeRef.new(shape: Upload)
1093
1150
 
1151
+ VPCEConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
1152
+ VPCEConfiguration.add_member(:vpce_configuration_name, Shapes::ShapeRef.new(shape: VPCEConfigurationName, location_name: "vpceConfigurationName"))
1153
+ VPCEConfiguration.add_member(:vpce_service_name, Shapes::ShapeRef.new(shape: VPCEServiceName, location_name: "vpceServiceName"))
1154
+ VPCEConfiguration.add_member(:service_dns_name, Shapes::ShapeRef.new(shape: ServiceDnsName, location_name: "serviceDnsName"))
1155
+ VPCEConfiguration.add_member(:vpce_configuration_description, Shapes::ShapeRef.new(shape: VPCEConfigurationDescription, location_name: "vpceConfigurationDescription"))
1156
+ VPCEConfiguration.struct_class = Types::VPCEConfiguration
1157
+
1158
+ VPCEConfigurations.member = Shapes::ShapeRef.new(shape: VPCEConfiguration)
1159
+
1094
1160
 
1095
1161
  # @api private
1096
1162
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1178,6 +1244,17 @@ module Aws::DeviceFarm
1178
1244
  o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1179
1245
  end)
1180
1246
 
1247
+ api.add_operation(:create_vpce_configuration, Seahorse::Model::Operation.new.tap do |o|
1248
+ o.name = "CreateVPCEConfiguration"
1249
+ o.http_method = "POST"
1250
+ o.http_request_uri = "/"
1251
+ o.input = Shapes::ShapeRef.new(shape: CreateVPCEConfigurationRequest)
1252
+ o.output = Shapes::ShapeRef.new(shape: CreateVPCEConfigurationResult)
1253
+ o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
1254
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1255
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1256
+ end)
1257
+
1181
1258
  api.add_operation(:delete_device_pool, Seahorse::Model::Operation.new.tap do |o|
1182
1259
  o.name = "DeleteDevicePool"
1183
1260
  o.http_method = "POST"
@@ -1262,6 +1339,18 @@ module Aws::DeviceFarm
1262
1339
  o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1263
1340
  end)
1264
1341
 
1342
+ api.add_operation(:delete_vpce_configuration, Seahorse::Model::Operation.new.tap do |o|
1343
+ o.name = "DeleteVPCEConfiguration"
1344
+ o.http_method = "POST"
1345
+ o.http_request_uri = "/"
1346
+ o.input = Shapes::ShapeRef.new(shape: DeleteVPCEConfigurationRequest)
1347
+ o.output = Shapes::ShapeRef.new(shape: DeleteVPCEConfigurationResult)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
1352
+ end)
1353
+
1265
1354
  api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
1266
1355
  o.name = "GetAccountSettings"
1267
1356
  o.http_method = "POST"
@@ -1448,6 +1537,17 @@ module Aws::DeviceFarm
1448
1537
  o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1449
1538
  end)
1450
1539
 
1540
+ api.add_operation(:get_vpce_configuration, Seahorse::Model::Operation.new.tap do |o|
1541
+ o.name = "GetVPCEConfiguration"
1542
+ o.http_method = "POST"
1543
+ o.http_request_uri = "/"
1544
+ o.input = Shapes::ShapeRef.new(shape: GetVPCEConfigurationRequest)
1545
+ o.output = Shapes::ShapeRef.new(shape: GetVPCEConfigurationResult)
1546
+ o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
1547
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1549
+ end)
1550
+
1451
1551
  api.add_operation(:install_to_remote_access_session, Seahorse::Model::Operation.new.tap do |o|
1452
1552
  o.name = "InstallToRemoteAccessSession"
1453
1553
  o.http_method = "POST"
@@ -1744,6 +1844,16 @@ module Aws::DeviceFarm
1744
1844
  )
1745
1845
  end)
1746
1846
 
1847
+ api.add_operation(:list_vpce_configurations, Seahorse::Model::Operation.new.tap do |o|
1848
+ o.name = "ListVPCEConfigurations"
1849
+ o.http_method = "POST"
1850
+ o.http_request_uri = "/"
1851
+ o.input = Shapes::ShapeRef.new(shape: ListVPCEConfigurationsRequest)
1852
+ o.output = Shapes::ShapeRef.new(shape: ListVPCEConfigurationsResult)
1853
+ o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1855
+ end)
1856
+
1747
1857
  api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
1748
1858
  o.name = "PurchaseOffering"
1749
1859
  o.http_method = "POST"
@@ -1866,6 +1976,18 @@ module Aws::DeviceFarm
1866
1976
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1867
1977
  o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1868
1978
  end)
1979
+
1980
+ api.add_operation(:update_vpce_configuration, Seahorse::Model::Operation.new.tap do |o|
1981
+ o.name = "UpdateVPCEConfiguration"
1982
+ o.http_method = "POST"
1983
+ o.http_request_uri = "/"
1984
+ o.input = Shapes::ShapeRef.new(shape: UpdateVPCEConfigurationRequest)
1985
+ o.output = Shapes::ShapeRef.new(shape: UpdateVPCEConfigurationResult)
1986
+ o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
1987
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1988
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
1989
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
1990
+ end)
1869
1991
  end
1870
1992
 
1871
1993
  end
@@ -239,7 +239,7 @@ module Aws::DeviceFarm
239
239
  # description: "Message",
240
240
  # rules: [ # required
241
241
  # {
242
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
242
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
243
243
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
244
244
  # value: "String",
245
245
  # },
@@ -747,6 +747,58 @@ module Aws::DeviceFarm
747
747
  include Aws::Structure
748
748
  end
749
749
 
750
+ # @note When making an API call, you may pass CreateVPCEConfigurationRequest
751
+ # data as a hash:
752
+ #
753
+ # {
754
+ # vpce_configuration_name: "VPCEConfigurationName", # required
755
+ # vpce_service_name: "VPCEServiceName", # required
756
+ # service_dns_name: "ServiceDnsName", # required
757
+ # vpce_configuration_description: "VPCEConfigurationDescription",
758
+ # }
759
+ #
760
+ # @!attribute [rw] vpce_configuration_name
761
+ # The friendly name you give to your VPC endpoint configuration, to
762
+ # manage your configurations more easily.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] vpce_service_name
766
+ # The name of the VPC endpoint service running inside your AWS account
767
+ # that you want Device Farm to test.
768
+ # @return [String]
769
+ #
770
+ # @!attribute [rw] service_dns_name
771
+ # The DNS name of the service running in your VPC that you want Device
772
+ # Farm to test.
773
+ # @return [String]
774
+ #
775
+ # @!attribute [rw] vpce_configuration_description
776
+ # An optional description, providing more details about your VPC
777
+ # endpoint configuration.
778
+ # @return [String]
779
+ #
780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateVPCEConfigurationRequest AWS API Documentation
781
+ #
782
+ class CreateVPCEConfigurationRequest < Struct.new(
783
+ :vpce_configuration_name,
784
+ :vpce_service_name,
785
+ :service_dns_name,
786
+ :vpce_configuration_description)
787
+ include Aws::Structure
788
+ end
789
+
790
+ # @!attribute [rw] vpce_configuration
791
+ # An object containing information about your VPC endpoint
792
+ # configuration.
793
+ # @return [Types::VPCEConfiguration]
794
+ #
795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateVPCEConfigurationResult AWS API Documentation
796
+ #
797
+ class CreateVPCEConfigurationResult < Struct.new(
798
+ :vpce_configuration)
799
+ include Aws::Structure
800
+ end
801
+
750
802
  # A JSON object specifying the paths where the artifacts generated by
751
803
  # the customer's tests, on the device or in the test environment, will
752
804
  # be pulled from.
@@ -971,6 +1023,29 @@ module Aws::DeviceFarm
971
1023
  #
972
1024
  class DeleteUploadResult < Aws::EmptyStructure; end
973
1025
 
1026
+ # @note When making an API call, you may pass DeleteVPCEConfigurationRequest
1027
+ # data as a hash:
1028
+ #
1029
+ # {
1030
+ # arn: "AmazonResourceName", # required
1031
+ # }
1032
+ #
1033
+ # @!attribute [rw] arn
1034
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration you
1035
+ # want to delete.
1036
+ # @return [String]
1037
+ #
1038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteVPCEConfigurationRequest AWS API Documentation
1039
+ #
1040
+ class DeleteVPCEConfigurationRequest < Struct.new(
1041
+ :arn)
1042
+ include Aws::Structure
1043
+ end
1044
+
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteVPCEConfigurationResult AWS API Documentation
1046
+ #
1047
+ class DeleteVPCEConfigurationResult < Aws::EmptyStructure; end
1048
+
974
1049
  # Represents a device type that an app is tested against.
975
1050
  #
976
1051
  # @!attribute [rw] arn
@@ -1344,6 +1419,29 @@ module Aws::DeviceFarm
1344
1419
  # "String" => "String",
1345
1420
  # },
1346
1421
  # },
1422
+ # configuration: {
1423
+ # extra_data_package_arn: "AmazonResourceName",
1424
+ # network_profile_arn: "AmazonResourceName",
1425
+ # locale: "String",
1426
+ # location: {
1427
+ # latitude: 1.0, # required
1428
+ # longitude: 1.0, # required
1429
+ # },
1430
+ # vpce_configuration_arns: ["AmazonResourceName"],
1431
+ # customer_artifact_paths: {
1432
+ # ios_paths: ["String"],
1433
+ # android_paths: ["String"],
1434
+ # device_host_paths: ["String"],
1435
+ # },
1436
+ # radios: {
1437
+ # wifi: false,
1438
+ # bluetooth: false,
1439
+ # nfc: false,
1440
+ # gps: false,
1441
+ # },
1442
+ # auxiliary_apps: ["AmazonResourceName"],
1443
+ # billing_method: "METERED", # accepts METERED, UNMETERED
1444
+ # },
1347
1445
  # }
1348
1446
  #
1349
1447
  # @!attribute [rw] device_pool_arn
@@ -1397,13 +1495,18 @@ module Aws::DeviceFarm
1397
1495
  # pool.
1398
1496
  # @return [Types::ScheduleRunTest]
1399
1497
  #
1498
+ # @!attribute [rw] configuration
1499
+ # An object containing information about the settings for a run.
1500
+ # @return [Types::ScheduleRunConfiguration]
1501
+ #
1400
1502
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityRequest AWS API Documentation
1401
1503
  #
1402
1504
  class GetDevicePoolCompatibilityRequest < Struct.new(
1403
1505
  :device_pool_arn,
1404
1506
  :app_arn,
1405
1507
  :test_type,
1406
- :test)
1508
+ :test,
1509
+ :configuration)
1407
1510
  include Aws::Structure
1408
1511
  end
1409
1512
 
@@ -1834,6 +1937,37 @@ module Aws::DeviceFarm
1834
1937
  include Aws::Structure
1835
1938
  end
1836
1939
 
1940
+ # @note When making an API call, you may pass GetVPCEConfigurationRequest
1941
+ # data as a hash:
1942
+ #
1943
+ # {
1944
+ # arn: "AmazonResourceName", # required
1945
+ # }
1946
+ #
1947
+ # @!attribute [rw] arn
1948
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration you
1949
+ # want to describe.
1950
+ # @return [String]
1951
+ #
1952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetVPCEConfigurationRequest AWS API Documentation
1953
+ #
1954
+ class GetVPCEConfigurationRequest < Struct.new(
1955
+ :arn)
1956
+ include Aws::Structure
1957
+ end
1958
+
1959
+ # @!attribute [rw] vpce_configuration
1960
+ # An object containing information about your VPC endpoint
1961
+ # configuration.
1962
+ # @return [Types::VPCEConfiguration]
1963
+ #
1964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetVPCEConfigurationResult AWS API Documentation
1965
+ #
1966
+ class GetVPCEConfigurationResult < Struct.new(
1967
+ :vpce_configuration)
1968
+ include Aws::Structure
1969
+ end
1970
+
1837
1971
  # Represents information about incompatibility.
1838
1972
  #
1839
1973
  # @!attribute [rw] message
@@ -2999,6 +3133,52 @@ module Aws::DeviceFarm
2999
3133
  include Aws::Structure
3000
3134
  end
3001
3135
 
3136
+ # @note When making an API call, you may pass ListVPCEConfigurationsRequest
3137
+ # data as a hash:
3138
+ #
3139
+ # {
3140
+ # max_results: 1,
3141
+ # next_token: "PaginationToken",
3142
+ # }
3143
+ #
3144
+ # @!attribute [rw] max_results
3145
+ # An integer specifying the maximum number of items you want to return
3146
+ # in the API response.
3147
+ # @return [Integer]
3148
+ #
3149
+ # @!attribute [rw] next_token
3150
+ # An identifier that was returned from the previous call to this
3151
+ # operation, which can be used to return the next set of items in the
3152
+ # list.
3153
+ # @return [String]
3154
+ #
3155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListVPCEConfigurationsRequest AWS API Documentation
3156
+ #
3157
+ class ListVPCEConfigurationsRequest < Struct.new(
3158
+ :max_results,
3159
+ :next_token)
3160
+ include Aws::Structure
3161
+ end
3162
+
3163
+ # @!attribute [rw] vpce_configurations
3164
+ # An array of `VPCEConfiguration` objects containing information about
3165
+ # your VPC endpoint configuration.
3166
+ # @return [Array<Types::VPCEConfiguration>]
3167
+ #
3168
+ # @!attribute [rw] next_token
3169
+ # An identifier that was returned from the previous call to this
3170
+ # operation, which can be used to return the next set of items in the
3171
+ # list.
3172
+ # @return [String]
3173
+ #
3174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListVPCEConfigurationsResult AWS API Documentation
3175
+ #
3176
+ class ListVPCEConfigurationsResult < Struct.new(
3177
+ :vpce_configurations,
3178
+ :next_token)
3179
+ include Aws::Structure
3180
+ end
3181
+
3002
3182
  # Represents a latitude and longitude pair, expressed in geographic
3003
3183
  # coordinate system degrees (for example 47.6204, -122.3491).
3004
3184
  #
@@ -3699,7 +3879,7 @@ module Aws::DeviceFarm
3699
3879
  # data as a hash:
3700
3880
  #
3701
3881
  # {
3702
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
3882
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
3703
3883
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
3704
3884
  # value: "String",
3705
3885
  # }
@@ -4087,6 +4267,7 @@ module Aws::DeviceFarm
4087
4267
  # latitude: 1.0, # required
4088
4268
  # longitude: 1.0, # required
4089
4269
  # },
4270
+ # vpce_configuration_arns: ["AmazonResourceName"],
4090
4271
  # customer_artifact_paths: {
4091
4272
  # ios_paths: ["String"],
4092
4273
  # android_paths: ["String"],
@@ -4120,6 +4301,11 @@ module Aws::DeviceFarm
4120
4301
  # Information about the location that is used for the run.
4121
4302
  # @return [Types::Location]
4122
4303
  #
4304
+ # @!attribute [rw] vpce_configuration_arns
4305
+ # An array of Amazon Resource Names (ARNs) for your VPC endpoint
4306
+ # configurations.
4307
+ # @return [Array<String>]
4308
+ #
4123
4309
  # @!attribute [rw] customer_artifact_paths
4124
4310
  # Input `CustomerArtifactPaths` object for the scheduled run
4125
4311
  # configuration.
@@ -4146,6 +4332,7 @@ module Aws::DeviceFarm
4146
4332
  :network_profile_arn,
4147
4333
  :locale,
4148
4334
  :location,
4335
+ :vpce_configuration_arns,
4149
4336
  :customer_artifact_paths,
4150
4337
  :radios,
4151
4338
  :auxiliary_apps,
@@ -4179,6 +4366,7 @@ module Aws::DeviceFarm
4179
4366
  # latitude: 1.0, # required
4180
4367
  # longitude: 1.0, # required
4181
4368
  # },
4369
+ # vpce_configuration_arns: ["AmazonResourceName"],
4182
4370
  # customer_artifact_paths: {
4183
4371
  # ios_paths: ["String"],
4184
4372
  # android_paths: ["String"],
@@ -4835,7 +5023,7 @@ module Aws::DeviceFarm
4835
5023
  # description: "Message",
4836
5024
  # rules: [
4837
5025
  # {
4838
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
5026
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
4839
5027
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
4840
5028
  # value: "String",
4841
5029
  # },
@@ -5105,6 +5293,66 @@ module Aws::DeviceFarm
5105
5293
  include Aws::Structure
5106
5294
  end
5107
5295
 
5296
+ # @note When making an API call, you may pass UpdateVPCEConfigurationRequest
5297
+ # data as a hash:
5298
+ #
5299
+ # {
5300
+ # arn: "AmazonResourceName", # required
5301
+ # vpce_configuration_name: "VPCEConfigurationName",
5302
+ # vpce_service_name: "VPCEServiceName",
5303
+ # service_dns_name: "ServiceDnsName",
5304
+ # vpce_configuration_description: "VPCEConfigurationDescription",
5305
+ # }
5306
+ #
5307
+ # @!attribute [rw] arn
5308
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration you
5309
+ # want to update.
5310
+ # @return [String]
5311
+ #
5312
+ # @!attribute [rw] vpce_configuration_name
5313
+ # The friendly name you give to your VPC endpoint configuration, to
5314
+ # manage your configurations more easily.
5315
+ # @return [String]
5316
+ #
5317
+ # @!attribute [rw] vpce_service_name
5318
+ # The name of the VPC endpoint service running inside your AWS account
5319
+ # that you want Device Farm to test.
5320
+ # @return [String]
5321
+ #
5322
+ # @!attribute [rw] service_dns_name
5323
+ # The DNS (domain) name used to connect to your private service in
5324
+ # your Amazon VPC. The DNS name must not already be in use on the
5325
+ # Internet.
5326
+ # @return [String]
5327
+ #
5328
+ # @!attribute [rw] vpce_configuration_description
5329
+ # An optional description, providing more details about your VPC
5330
+ # endpoint configuration.
5331
+ # @return [String]
5332
+ #
5333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateVPCEConfigurationRequest AWS API Documentation
5334
+ #
5335
+ class UpdateVPCEConfigurationRequest < Struct.new(
5336
+ :arn,
5337
+ :vpce_configuration_name,
5338
+ :vpce_service_name,
5339
+ :service_dns_name,
5340
+ :vpce_configuration_description)
5341
+ include Aws::Structure
5342
+ end
5343
+
5344
+ # @!attribute [rw] vpce_configuration
5345
+ # An object containing information about your VPC endpoint
5346
+ # configuration.
5347
+ # @return [Types::VPCEConfiguration]
5348
+ #
5349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateVPCEConfigurationResult AWS API Documentation
5350
+ #
5351
+ class UpdateVPCEConfigurationResult < Struct.new(
5352
+ :vpce_configuration)
5353
+ include Aws::Structure
5354
+ end
5355
+
5108
5356
  # An app or a set of one or more tests to upload or that have been
5109
5357
  # uploaded.
5110
5358
  #
@@ -5213,5 +5461,43 @@ module Aws::DeviceFarm
5213
5461
  include Aws::Structure
5214
5462
  end
5215
5463
 
5464
+ # Represents an Amazon Virtual Private Cloud (VPC) endpoint
5465
+ # configuration.
5466
+ #
5467
+ # @!attribute [rw] arn
5468
+ # The Amazon Resource Name (ARN) of the VPC endpoint configuration.
5469
+ # @return [String]
5470
+ #
5471
+ # @!attribute [rw] vpce_configuration_name
5472
+ # The friendly name you give to your VPC endpoint configuration, to
5473
+ # manage your configurations more easily.
5474
+ # @return [String]
5475
+ #
5476
+ # @!attribute [rw] vpce_service_name
5477
+ # The name of the VPC endpoint service running inside your AWS account
5478
+ # that you want Device Farm to test.
5479
+ # @return [String]
5480
+ #
5481
+ # @!attribute [rw] service_dns_name
5482
+ # The DNS name that maps to the private IP address of the service you
5483
+ # want to access.
5484
+ # @return [String]
5485
+ #
5486
+ # @!attribute [rw] vpce_configuration_description
5487
+ # An optional description, providing more details about your VPC
5488
+ # endpoint configuration.
5489
+ # @return [String]
5490
+ #
5491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/VPCEConfiguration AWS API Documentation
5492
+ #
5493
+ class VPCEConfiguration < Struct.new(
5494
+ :arn,
5495
+ :vpce_configuration_name,
5496
+ :vpce_service_name,
5497
+ :service_dns_name,
5498
+ :vpce_configuration_description)
5499
+ include Aws::Structure
5500
+ end
5501
+
5216
5502
  end
5217
5503
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devicefarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.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: 2018-04-03 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core