aws-sdk-devicefarm 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-devicefarm.rb +1 -1
- data/lib/aws-sdk-devicefarm/client.rb +105 -1
- data/lib/aws-sdk-devicefarm/client_api.rb +86 -0
- data/lib/aws-sdk-devicefarm/errors.rb +63 -0
- data/lib/aws-sdk-devicefarm/types.rb +191 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d459c1ee13e2f036c864ae88f970058e5743a58d
|
4
|
+
data.tar.gz: 3ec7284bd22879b82d3b4b895f8ccd42c3a211cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41507960095a9be124d1e4c4474473dc573151f0b1978232927643aa216fcd7bc0483f68f883520dd0841f59b6598f6a04c1a1747541abd07668b3b11ffb3262
|
7
|
+
data.tar.gz: 3c17602ad65c5dcf1063d755cdcff7f304b2083a2dd5da782b2a2f659f8d0b9338bd55ae611fa227f162a74778c2f0ef4e25d80c772c3fa22927325adc2a70cc
|
data/lib/aws-sdk-devicefarm.rb
CHANGED
@@ -3810,6 +3810,40 @@ module Aws::DeviceFarm
|
|
3810
3810
|
req.send_request(options)
|
3811
3811
|
end
|
3812
3812
|
|
3813
|
+
# List the tags for an AWS Device Farm resource.
|
3814
|
+
#
|
3815
|
+
# @option params [required, String] :resource_arn
|
3816
|
+
# The Amazon Resource Name (ARN) of the resource(s) for which to list
|
3817
|
+
# tags. You can associate tags with the following Device Farm resources:
|
3818
|
+
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
3819
|
+
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
3820
|
+
# `VPCE_CONFIGURATION`.
|
3821
|
+
#
|
3822
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3823
|
+
#
|
3824
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
3825
|
+
#
|
3826
|
+
# @example Request syntax with placeholder values
|
3827
|
+
#
|
3828
|
+
# resp = client.list_tags_for_resource({
|
3829
|
+
# resource_arn: "AmazonResourceName", # required
|
3830
|
+
# })
|
3831
|
+
#
|
3832
|
+
# @example Response structure
|
3833
|
+
#
|
3834
|
+
# resp.tags #=> Array
|
3835
|
+
# resp.tags[0].key #=> String
|
3836
|
+
# resp.tags[0].value #=> String
|
3837
|
+
#
|
3838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTagsForResource AWS API Documentation
|
3839
|
+
#
|
3840
|
+
# @overload list_tags_for_resource(params = {})
|
3841
|
+
# @param [Hash] params ({})
|
3842
|
+
def list_tags_for_resource(params = {}, options = {})
|
3843
|
+
req = build_request(:list_tags_for_resource, params)
|
3844
|
+
req.send_request(options)
|
3845
|
+
end
|
3846
|
+
|
3813
3847
|
# Gets information about tests in a given test suite.
|
3814
3848
|
#
|
3815
3849
|
# @option params [required, String] :arn
|
@@ -4835,6 +4869,76 @@ module Aws::DeviceFarm
|
|
4835
4869
|
req.send_request(options)
|
4836
4870
|
end
|
4837
4871
|
|
4872
|
+
# Associates the specified tags to a resource with the specified
|
4873
|
+
# `resourceArn`. If existing tags on a resource are not specified in the
|
4874
|
+
# request parameters, they are not changed. When a resource is deleted,
|
4875
|
+
# the tags associated with that resource are deleted as well.
|
4876
|
+
#
|
4877
|
+
# @option params [required, String] :resource_arn
|
4878
|
+
# The Amazon Resource Name (ARN) of the resource(s) to which to add
|
4879
|
+
# tags. You can associate tags with the following Device Farm resources:
|
4880
|
+
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4881
|
+
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
4882
|
+
# `VPCE_CONFIGURATION`.
|
4883
|
+
#
|
4884
|
+
# @option params [required, Array<Types::Tag>] :tags
|
4885
|
+
# The tags to add to the resource. A tag is an array of key-value pairs.
|
4886
|
+
# Tag keys can have a maximum character length of 128 characters, and
|
4887
|
+
# tag values can have a maximum length of 256 characters.
|
4888
|
+
#
|
4889
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4890
|
+
#
|
4891
|
+
# @example Request syntax with placeholder values
|
4892
|
+
#
|
4893
|
+
# resp = client.tag_resource({
|
4894
|
+
# resource_arn: "AmazonResourceName", # required
|
4895
|
+
# tags: [ # required
|
4896
|
+
# {
|
4897
|
+
# key: "TagKey", # required
|
4898
|
+
# value: "TagValue", # required
|
4899
|
+
# },
|
4900
|
+
# ],
|
4901
|
+
# })
|
4902
|
+
#
|
4903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagResource AWS API Documentation
|
4904
|
+
#
|
4905
|
+
# @overload tag_resource(params = {})
|
4906
|
+
# @param [Hash] params ({})
|
4907
|
+
def tag_resource(params = {}, options = {})
|
4908
|
+
req = build_request(:tag_resource, params)
|
4909
|
+
req.send_request(options)
|
4910
|
+
end
|
4911
|
+
|
4912
|
+
# Deletes the specified tags from a resource.
|
4913
|
+
#
|
4914
|
+
# @option params [required, String] :resource_arn
|
4915
|
+
# The Amazon Resource Name (ARN) of the resource(s) from which to delete
|
4916
|
+
# tags. You can associate tags with the following Device Farm resources:
|
4917
|
+
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4918
|
+
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
4919
|
+
# `VPCE_CONFIGURATION`.
|
4920
|
+
#
|
4921
|
+
# @option params [required, Array<String>] :tag_keys
|
4922
|
+
# The keys of the tags to be removed.
|
4923
|
+
#
|
4924
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4925
|
+
#
|
4926
|
+
# @example Request syntax with placeholder values
|
4927
|
+
#
|
4928
|
+
# resp = client.untag_resource({
|
4929
|
+
# resource_arn: "AmazonResourceName", # required
|
4930
|
+
# tag_keys: ["TagKey"], # required
|
4931
|
+
# })
|
4932
|
+
#
|
4933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UntagResource AWS API Documentation
|
4934
|
+
#
|
4935
|
+
# @overload untag_resource(params = {})
|
4936
|
+
# @param [Hash] params ({})
|
4937
|
+
def untag_resource(params = {}, options = {})
|
4938
|
+
req = build_request(:untag_resource, params)
|
4939
|
+
req.send_request(options)
|
4940
|
+
end
|
4941
|
+
|
4838
4942
|
# Updates information about an existing private device instance.
|
4839
4943
|
#
|
4840
4944
|
# @option params [required, String] :arn
|
@@ -5331,7 +5435,7 @@ module Aws::DeviceFarm
|
|
5331
5435
|
params: params,
|
5332
5436
|
config: config)
|
5333
5437
|
context[:gem_name] = 'aws-sdk-devicefarm'
|
5334
|
-
context[:gem_version] = '1.
|
5438
|
+
context[:gem_version] = '1.23.0'
|
5335
5439
|
Seahorse::Client::Request.new(handlers, context)
|
5336
5440
|
end
|
5337
5441
|
|
@@ -85,6 +85,7 @@ module Aws::DeviceFarm
|
|
85
85
|
DeviceSelectionResult = Shapes::StructureShape.new(name: 'DeviceSelectionResult')
|
86
86
|
Devices = Shapes::ListShape.new(name: 'Devices')
|
87
87
|
Double = Shapes::FloatShape.new(name: 'Double')
|
88
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
88
89
|
ExecutionConfiguration = Shapes::StructureShape.new(name: 'ExecutionConfiguration')
|
89
90
|
ExecutionResult = Shapes::StringShape.new(name: 'ExecutionResult')
|
90
91
|
ExecutionResultCode = Shapes::StringShape.new(name: 'ExecutionResultCode')
|
@@ -170,6 +171,8 @@ module Aws::DeviceFarm
|
|
170
171
|
ListSamplesResult = Shapes::StructureShape.new(name: 'ListSamplesResult')
|
171
172
|
ListSuitesRequest = Shapes::StructureShape.new(name: 'ListSuitesRequest')
|
172
173
|
ListSuitesResult = Shapes::StructureShape.new(name: 'ListSuitesResult')
|
174
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
175
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
173
176
|
ListTestsRequest = Shapes::StructureShape.new(name: 'ListTestsRequest')
|
174
177
|
ListTestsResult = Shapes::StructureShape.new(name: 'ListTestsResult')
|
175
178
|
ListUniqueProblemsRequest = Shapes::StructureShape.new(name: 'ListUniqueProblemsRequest')
|
@@ -247,16 +250,28 @@ module Aws::DeviceFarm
|
|
247
250
|
String = Shapes::StringShape.new(name: 'String')
|
248
251
|
Suite = Shapes::StructureShape.new(name: 'Suite')
|
249
252
|
Suites = Shapes::ListShape.new(name: 'Suites')
|
253
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
254
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
255
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
256
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
257
|
+
TagOperationException = Shapes::StructureShape.new(name: 'TagOperationException')
|
258
|
+
TagPolicyException = Shapes::StructureShape.new(name: 'TagPolicyException')
|
259
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
260
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
261
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
250
262
|
Test = Shapes::StructureShape.new(name: 'Test')
|
251
263
|
TestParameters = Shapes::MapShape.new(name: 'TestParameters')
|
252
264
|
TestType = Shapes::StringShape.new(name: 'TestType')
|
253
265
|
Tests = Shapes::ListShape.new(name: 'Tests')
|
266
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
254
267
|
TransactionIdentifier = Shapes::StringShape.new(name: 'TransactionIdentifier')
|
255
268
|
TrialMinutes = Shapes::StructureShape.new(name: 'TrialMinutes')
|
256
269
|
URL = Shapes::StringShape.new(name: 'URL')
|
257
270
|
UniqueProblem = Shapes::StructureShape.new(name: 'UniqueProblem')
|
258
271
|
UniqueProblems = Shapes::ListShape.new(name: 'UniqueProblems')
|
259
272
|
UniqueProblemsByExecutionResultMap = Shapes::MapShape.new(name: 'UniqueProblemsByExecutionResultMap')
|
273
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
274
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
260
275
|
UpdateDeviceInstanceRequest = Shapes::StructureShape.new(name: 'UpdateDeviceInstanceRequest')
|
261
276
|
UpdateDeviceInstanceResult = Shapes::StructureShape.new(name: 'UpdateDeviceInstanceResult')
|
262
277
|
UpdateDevicePoolRequest = Shapes::StructureShape.new(name: 'UpdateDevicePoolRequest')
|
@@ -813,6 +828,12 @@ module Aws::DeviceFarm
|
|
813
828
|
ListSuitesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
814
829
|
ListSuitesResult.struct_class = Types::ListSuitesResult
|
815
830
|
|
831
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
832
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
833
|
+
|
834
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
835
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
836
|
+
|
816
837
|
ListTestsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
817
838
|
ListTestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
818
839
|
ListTestsRequest.struct_class = Types::ListTestsRequest
|
@@ -1112,6 +1133,28 @@ module Aws::DeviceFarm
|
|
1112
1133
|
|
1113
1134
|
Suites.member = Shapes::ShapeRef.new(shape: Suite)
|
1114
1135
|
|
1136
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
1137
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
1138
|
+
Tag.struct_class = Types::Tag
|
1139
|
+
|
1140
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1141
|
+
|
1142
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1143
|
+
|
1144
|
+
TagOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1145
|
+
TagOperationException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
|
1146
|
+
TagOperationException.struct_class = Types::TagOperationException
|
1147
|
+
|
1148
|
+
TagPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1149
|
+
TagPolicyException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
|
1150
|
+
TagPolicyException.struct_class = Types::TagPolicyException
|
1151
|
+
|
1152
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
1153
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1154
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1155
|
+
|
1156
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1157
|
+
|
1115
1158
|
Test.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
|
1116
1159
|
Test.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
1117
1160
|
Test.add_member(:type, Shapes::ShapeRef.new(shape: TestType, location_name: "type"))
|
@@ -1130,6 +1173,10 @@ module Aws::DeviceFarm
|
|
1130
1173
|
|
1131
1174
|
Tests.member = Shapes::ShapeRef.new(shape: Test)
|
1132
1175
|
|
1176
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1177
|
+
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
|
1178
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
1179
|
+
|
1133
1180
|
TrialMinutes.add_member(:total, Shapes::ShapeRef.new(shape: Double, location_name: "total"))
|
1134
1181
|
TrialMinutes.add_member(:remaining, Shapes::ShapeRef.new(shape: Double, location_name: "remaining"))
|
1135
1182
|
TrialMinutes.struct_class = Types::TrialMinutes
|
@@ -1143,6 +1190,12 @@ module Aws::DeviceFarm
|
|
1143
1190
|
UniqueProblemsByExecutionResultMap.key = Shapes::ShapeRef.new(shape: ExecutionResult)
|
1144
1191
|
UniqueProblemsByExecutionResultMap.value = Shapes::ShapeRef.new(shape: UniqueProblems)
|
1145
1192
|
|
1193
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
1194
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1195
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1196
|
+
|
1197
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1198
|
+
|
1146
1199
|
UpdateDeviceInstanceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
1147
1200
|
UpdateDeviceInstanceRequest.add_member(:profile_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "profileArn"))
|
1148
1201
|
UpdateDeviceInstanceRequest.add_member(:labels, Shapes::ShapeRef.new(shape: InstanceLabels, location_name: "labels"))
|
@@ -1304,6 +1357,7 @@ module Aws::DeviceFarm
|
|
1304
1357
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1305
1358
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1306
1359
|
o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: TagOperationException)
|
1307
1361
|
end)
|
1308
1362
|
|
1309
1363
|
api.add_operation(:create_remote_access_session, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1879,6 +1933,16 @@ module Aws::DeviceFarm
|
|
1879
1933
|
)
|
1880
1934
|
end)
|
1881
1935
|
|
1936
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1937
|
+
o.name = "ListTagsForResource"
|
1938
|
+
o.http_method = "POST"
|
1939
|
+
o.http_request_uri = "/"
|
1940
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
1941
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: TagOperationException)
|
1944
|
+
end)
|
1945
|
+
|
1882
1946
|
api.add_operation(:list_tests, Seahorse::Model::Operation.new.tap do |o|
|
1883
1947
|
o.name = "ListTests"
|
1884
1948
|
o.http_method = "POST"
|
@@ -2015,6 +2079,28 @@ module Aws::DeviceFarm
|
|
2015
2079
|
o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
|
2016
2080
|
end)
|
2017
2081
|
|
2082
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2083
|
+
o.name = "TagResource"
|
2084
|
+
o.http_method = "POST"
|
2085
|
+
o.http_request_uri = "/"
|
2086
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2087
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
2088
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2089
|
+
o.errors << Shapes::ShapeRef.new(shape: TagOperationException)
|
2090
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2091
|
+
o.errors << Shapes::ShapeRef.new(shape: TagPolicyException)
|
2092
|
+
end)
|
2093
|
+
|
2094
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2095
|
+
o.name = "UntagResource"
|
2096
|
+
o.http_method = "POST"
|
2097
|
+
o.http_request_uri = "/"
|
2098
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2099
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2101
|
+
o.errors << Shapes::ShapeRef.new(shape: TagOperationException)
|
2102
|
+
end)
|
2103
|
+
|
2018
2104
|
api.add_operation(:update_device_instance, Seahorse::Model::Operation.new.tap do |o|
|
2019
2105
|
o.name = "UpdateDeviceInstance"
|
2020
2106
|
o.http_method = "POST"
|
@@ -122,5 +122,68 @@ module Aws::DeviceFarm
|
|
122
122
|
|
123
123
|
end
|
124
124
|
|
125
|
+
class TagOperationException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::DeviceFarm::Types::TagOperationException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
# @return [String]
|
140
|
+
def resource_name
|
141
|
+
@data[:resource_name]
|
142
|
+
end
|
143
|
+
|
144
|
+
end
|
145
|
+
|
146
|
+
class TagPolicyException < ServiceError
|
147
|
+
|
148
|
+
# @param [Seahorse::Client::RequestContext] context
|
149
|
+
# @param [String] message
|
150
|
+
# @param [Aws::DeviceFarm::Types::TagPolicyException] data
|
151
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
152
|
+
super(context, message, data)
|
153
|
+
end
|
154
|
+
|
155
|
+
# @return [String]
|
156
|
+
def message
|
157
|
+
@message || @data[:message]
|
158
|
+
end
|
159
|
+
|
160
|
+
# @return [String]
|
161
|
+
def resource_name
|
162
|
+
@data[:resource_name]
|
163
|
+
end
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
class TooManyTagsException < ServiceError
|
168
|
+
|
169
|
+
# @param [Seahorse::Client::RequestContext] context
|
170
|
+
# @param [String] message
|
171
|
+
# @param [Aws::DeviceFarm::Types::TooManyTagsException] data
|
172
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
173
|
+
super(context, message, data)
|
174
|
+
end
|
175
|
+
|
176
|
+
# @return [String]
|
177
|
+
def message
|
178
|
+
@message || @data[:message]
|
179
|
+
end
|
180
|
+
|
181
|
+
# @return [String]
|
182
|
+
def resource_name
|
183
|
+
@data[:resource_name]
|
184
|
+
end
|
185
|
+
|
186
|
+
end
|
187
|
+
|
125
188
|
end
|
126
189
|
end
|
@@ -3511,6 +3511,42 @@ module Aws::DeviceFarm
|
|
3511
3511
|
include Aws::Structure
|
3512
3512
|
end
|
3513
3513
|
|
3514
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
3515
|
+
# data as a hash:
|
3516
|
+
#
|
3517
|
+
# {
|
3518
|
+
# resource_arn: "AmazonResourceName", # required
|
3519
|
+
# }
|
3520
|
+
#
|
3521
|
+
# @!attribute [rw] resource_arn
|
3522
|
+
# The Amazon Resource Name (ARN) of the resource(s) for which to list
|
3523
|
+
# tags. You can associate tags with the following Device Farm
|
3524
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
3525
|
+
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
3526
|
+
# `VPCE_CONFIGURATION`.
|
3527
|
+
# @return [String]
|
3528
|
+
#
|
3529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTagsForResourceRequest AWS API Documentation
|
3530
|
+
#
|
3531
|
+
class ListTagsForResourceRequest < Struct.new(
|
3532
|
+
:resource_arn)
|
3533
|
+
include Aws::Structure
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
# @!attribute [rw] tags
|
3537
|
+
# The tags to add to the resource. A tag is an array of key-value
|
3538
|
+
# pairs. Tag keys can have a maximum character length of 128
|
3539
|
+
# characters, and tag values can have a maximum length of 256
|
3540
|
+
# characters.
|
3541
|
+
# @return [Array<Types::Tag>]
|
3542
|
+
#
|
3543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTagsForResourceResponse AWS API Documentation
|
3544
|
+
#
|
3545
|
+
class ListTagsForResourceResponse < Struct.new(
|
3546
|
+
:tags)
|
3547
|
+
include Aws::Structure
|
3548
|
+
end
|
3549
|
+
|
3514
3550
|
# Represents a request to the list tests operation.
|
3515
3551
|
#
|
3516
3552
|
# @note When making an API call, you may pass ListTestsRequest
|
@@ -5631,6 +5667,112 @@ module Aws::DeviceFarm
|
|
5631
5667
|
include Aws::Structure
|
5632
5668
|
end
|
5633
5669
|
|
5670
|
+
# The metadata that you apply to a resource to help you categorize and
|
5671
|
+
# organize it. Each tag consists of a key and an optional value, both of
|
5672
|
+
# which you define. Tag keys can have a maximum character length of 128
|
5673
|
+
# characters, and tag values can have a maximum length of 256
|
5674
|
+
# characters.
|
5675
|
+
#
|
5676
|
+
# @note When making an API call, you may pass Tag
|
5677
|
+
# data as a hash:
|
5678
|
+
#
|
5679
|
+
# {
|
5680
|
+
# key: "TagKey", # required
|
5681
|
+
# value: "TagValue", # required
|
5682
|
+
# }
|
5683
|
+
#
|
5684
|
+
# @!attribute [rw] key
|
5685
|
+
# One part of a key-value pair that make up a tag. A `key` is a
|
5686
|
+
# general label that acts like a category for more specific tag
|
5687
|
+
# values.
|
5688
|
+
# @return [String]
|
5689
|
+
#
|
5690
|
+
# @!attribute [rw] value
|
5691
|
+
# The optional part of a key-value pair that make up a tag. A `value`
|
5692
|
+
# acts as a descriptor within a tag category (key).
|
5693
|
+
# @return [String]
|
5694
|
+
#
|
5695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Tag AWS API Documentation
|
5696
|
+
#
|
5697
|
+
class Tag < Struct.new(
|
5698
|
+
:key,
|
5699
|
+
:value)
|
5700
|
+
include Aws::Structure
|
5701
|
+
end
|
5702
|
+
|
5703
|
+
# The operation was not successful. Try again.
|
5704
|
+
#
|
5705
|
+
# @!attribute [rw] message
|
5706
|
+
# @return [String]
|
5707
|
+
#
|
5708
|
+
# @!attribute [rw] resource_name
|
5709
|
+
# @return [String]
|
5710
|
+
#
|
5711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagOperationException AWS API Documentation
|
5712
|
+
#
|
5713
|
+
class TagOperationException < Struct.new(
|
5714
|
+
:message,
|
5715
|
+
:resource_name)
|
5716
|
+
include Aws::Structure
|
5717
|
+
end
|
5718
|
+
|
5719
|
+
# The request doesn't comply with the AWS Identity and Access
|
5720
|
+
# Management (IAM) tag policy. Correct your request and then retry it.
|
5721
|
+
#
|
5722
|
+
# @!attribute [rw] message
|
5723
|
+
# @return [String]
|
5724
|
+
#
|
5725
|
+
# @!attribute [rw] resource_name
|
5726
|
+
# @return [String]
|
5727
|
+
#
|
5728
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagPolicyException AWS API Documentation
|
5729
|
+
#
|
5730
|
+
class TagPolicyException < Struct.new(
|
5731
|
+
:message,
|
5732
|
+
:resource_name)
|
5733
|
+
include Aws::Structure
|
5734
|
+
end
|
5735
|
+
|
5736
|
+
# @note When making an API call, you may pass TagResourceRequest
|
5737
|
+
# data as a hash:
|
5738
|
+
#
|
5739
|
+
# {
|
5740
|
+
# resource_arn: "AmazonResourceName", # required
|
5741
|
+
# tags: [ # required
|
5742
|
+
# {
|
5743
|
+
# key: "TagKey", # required
|
5744
|
+
# value: "TagValue", # required
|
5745
|
+
# },
|
5746
|
+
# ],
|
5747
|
+
# }
|
5748
|
+
#
|
5749
|
+
# @!attribute [rw] resource_arn
|
5750
|
+
# The Amazon Resource Name (ARN) of the resource(s) to which to add
|
5751
|
+
# tags. You can associate tags with the following Device Farm
|
5752
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
5753
|
+
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
5754
|
+
# `VPCE_CONFIGURATION`.
|
5755
|
+
# @return [String]
|
5756
|
+
#
|
5757
|
+
# @!attribute [rw] tags
|
5758
|
+
# The tags to add to the resource. A tag is an array of key-value
|
5759
|
+
# pairs. Tag keys can have a maximum character length of 128
|
5760
|
+
# characters, and tag values can have a maximum length of 256
|
5761
|
+
# characters.
|
5762
|
+
# @return [Array<Types::Tag>]
|
5763
|
+
#
|
5764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagResourceRequest AWS API Documentation
|
5765
|
+
#
|
5766
|
+
class TagResourceRequest < Struct.new(
|
5767
|
+
:resource_arn,
|
5768
|
+
:tags)
|
5769
|
+
include Aws::Structure
|
5770
|
+
end
|
5771
|
+
|
5772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagResourceResponse AWS API Documentation
|
5773
|
+
#
|
5774
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
5775
|
+
|
5634
5776
|
# Represents a condition that is evaluated.
|
5635
5777
|
#
|
5636
5778
|
# @!attribute [rw] arn
|
@@ -5772,6 +5914,23 @@ module Aws::DeviceFarm
|
|
5772
5914
|
include Aws::Structure
|
5773
5915
|
end
|
5774
5916
|
|
5917
|
+
# The list of tags on the repository is over the limit. The maximum
|
5918
|
+
# number of tags that can be applied to a repository is 50.
|
5919
|
+
#
|
5920
|
+
# @!attribute [rw] message
|
5921
|
+
# @return [String]
|
5922
|
+
#
|
5923
|
+
# @!attribute [rw] resource_name
|
5924
|
+
# @return [String]
|
5925
|
+
#
|
5926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TooManyTagsException AWS API Documentation
|
5927
|
+
#
|
5928
|
+
class TooManyTagsException < Struct.new(
|
5929
|
+
:message,
|
5930
|
+
:resource_name)
|
5931
|
+
include Aws::Structure
|
5932
|
+
end
|
5933
|
+
|
5775
5934
|
# Represents information about free trial device minutes for an AWS
|
5776
5935
|
# account.
|
5777
5936
|
#
|
@@ -5810,6 +5969,38 @@ module Aws::DeviceFarm
|
|
5810
5969
|
include Aws::Structure
|
5811
5970
|
end
|
5812
5971
|
|
5972
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
5973
|
+
# data as a hash:
|
5974
|
+
#
|
5975
|
+
# {
|
5976
|
+
# resource_arn: "AmazonResourceName", # required
|
5977
|
+
# tag_keys: ["TagKey"], # required
|
5978
|
+
# }
|
5979
|
+
#
|
5980
|
+
# @!attribute [rw] resource_arn
|
5981
|
+
# The Amazon Resource Name (ARN) of the resource(s) from which to
|
5982
|
+
# delete tags. You can associate tags with the following Device Farm
|
5983
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
5984
|
+
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
5985
|
+
# `VPCE_CONFIGURATION`.
|
5986
|
+
# @return [String]
|
5987
|
+
#
|
5988
|
+
# @!attribute [rw] tag_keys
|
5989
|
+
# The keys of the tags to be removed.
|
5990
|
+
# @return [Array<String>]
|
5991
|
+
#
|
5992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UntagResourceRequest AWS API Documentation
|
5993
|
+
#
|
5994
|
+
class UntagResourceRequest < Struct.new(
|
5995
|
+
:resource_arn,
|
5996
|
+
:tag_keys)
|
5997
|
+
include Aws::Structure
|
5998
|
+
end
|
5999
|
+
|
6000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UntagResourceResponse AWS API Documentation
|
6001
|
+
#
|
6002
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
6003
|
+
|
5813
6004
|
# @note When making an API call, you may pass UpdateDeviceInstanceRequest
|
5814
6005
|
# data as a hash:
|
5815
6006
|
#
|
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
|
+
version: 1.23.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: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|