aws-sdk-connect 1.20.0 → 1.21.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 +4 -4
- data/lib/aws-sdk-connect.rb +1 -1
- data/lib/aws-sdk-connect/client.rb +99 -2
- data/lib/aws-sdk-connect/client_api.rb +68 -0
- data/lib/aws-sdk-connect/types.rb +95 -2
- 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: 3ebbfaa9cc23715a6b7abb27e31a8a57b2a8c70d
|
4
|
+
data.tar.gz: e65af8ef50c9c1a7b97c7eab3604e1c38b868c7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c742af62328dbb8af3b31ef62ae68235696e282388c90f898143ecc6c312ca392d61395c82abc91fa79a2ee022d670a4b9fa14ec2450d67b08aefe3efc93941
|
7
|
+
data.tar.gz: 98a61b396baab2fabc4133985406cf065709e71cde0f3395aaa694edb2a80acf24894a7d8216ceb3c8547b8dc00512be4a79ecd968f701c0e87e6889cf1b298b
|
data/lib/aws-sdk-connect.rb
CHANGED
@@ -298,6 +298,9 @@ module Aws::Connect
|
|
298
298
|
# @option params [required, String] :instance_id
|
299
299
|
# The identifier of the Amazon Connect instance.
|
300
300
|
#
|
301
|
+
# @option params [Hash<String,String>] :tags
|
302
|
+
# One or more tags.
|
303
|
+
#
|
301
304
|
# @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
302
305
|
#
|
303
306
|
# * {Types::CreateUserResponse#user_id #user_id} => String
|
@@ -324,6 +327,9 @@ module Aws::Connect
|
|
324
327
|
# routing_profile_id: "RoutingProfileId", # required
|
325
328
|
# hierarchy_group_id: "HierarchyGroupId",
|
326
329
|
# instance_id: "InstanceId", # required
|
330
|
+
# tags: {
|
331
|
+
# "TagKey" => "TagValue",
|
332
|
+
# },
|
327
333
|
# })
|
328
334
|
#
|
329
335
|
# @example Response structure
|
@@ -366,7 +372,10 @@ module Aws::Connect
|
|
366
372
|
req.send_request(options)
|
367
373
|
end
|
368
374
|
|
369
|
-
# Describes the specified user account.
|
375
|
+
# Describes the specified user account. You can find the instance ID in
|
376
|
+
# the console (it’s the final part of the ARN). The console does not
|
377
|
+
# display the user IDs. Instead, list the users and note the IDs
|
378
|
+
# provided in the output.
|
370
379
|
#
|
371
380
|
# @option params [required, String] :user_id
|
372
381
|
# The identifier of the user account.
|
@@ -402,6 +411,8 @@ module Aws::Connect
|
|
402
411
|
# resp.user.security_profile_ids[0] #=> String
|
403
412
|
# resp.user.routing_profile_id #=> String
|
404
413
|
# resp.user.hierarchy_group_id #=> String
|
414
|
+
# resp.user.tags #=> Hash
|
415
|
+
# resp.user.tags["TagKey"] #=> String
|
405
416
|
#
|
406
417
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUser AWS API Documentation
|
407
418
|
#
|
@@ -1255,6 +1266,35 @@ module Aws::Connect
|
|
1255
1266
|
req.send_request(options)
|
1256
1267
|
end
|
1257
1268
|
|
1269
|
+
# Lists the tags for the specified resource.
|
1270
|
+
#
|
1271
|
+
# @option params [required, String] :resource_arn
|
1272
|
+
# The Amazon Resource Name (ARN) of the resource.
|
1273
|
+
#
|
1274
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1275
|
+
#
|
1276
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1277
|
+
#
|
1278
|
+
# @example Request syntax with placeholder values
|
1279
|
+
#
|
1280
|
+
# resp = client.list_tags_for_resource({
|
1281
|
+
# resource_arn: "ARN", # required
|
1282
|
+
# })
|
1283
|
+
#
|
1284
|
+
# @example Response structure
|
1285
|
+
#
|
1286
|
+
# resp.tags #=> Hash
|
1287
|
+
# resp.tags["TagKey"] #=> String
|
1288
|
+
#
|
1289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTagsForResource AWS API Documentation
|
1290
|
+
#
|
1291
|
+
# @overload list_tags_for_resource(params = {})
|
1292
|
+
# @param [Hash] params ({})
|
1293
|
+
def list_tags_for_resource(params = {}, options = {})
|
1294
|
+
req = build_request(:list_tags_for_resource, params)
|
1295
|
+
req.send_request(options)
|
1296
|
+
end
|
1297
|
+
|
1258
1298
|
# Provides summary information about the hierarchy groups for the
|
1259
1299
|
# specified Amazon Connect instance.
|
1260
1300
|
#
|
@@ -1443,6 +1483,63 @@ module Aws::Connect
|
|
1443
1483
|
req.send_request(options)
|
1444
1484
|
end
|
1445
1485
|
|
1486
|
+
# Adds the specified tags to the specified resource.
|
1487
|
+
#
|
1488
|
+
# The supported resource type is users.
|
1489
|
+
#
|
1490
|
+
# @option params [required, String] :resource_arn
|
1491
|
+
# The Amazon Resource Name (ARN) of the resource.
|
1492
|
+
#
|
1493
|
+
# @option params [required, Hash<String,String>] :tags
|
1494
|
+
# One or more tags. For example, \\\{ "tags": \\\{"key1":"value1",
|
1495
|
+
# "key2":"value2"\\} \\}.
|
1496
|
+
#
|
1497
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1498
|
+
#
|
1499
|
+
# @example Request syntax with placeholder values
|
1500
|
+
#
|
1501
|
+
# resp = client.tag_resource({
|
1502
|
+
# resource_arn: "ARN", # required
|
1503
|
+
# tags: { # required
|
1504
|
+
# "TagKey" => "TagValue",
|
1505
|
+
# },
|
1506
|
+
# })
|
1507
|
+
#
|
1508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource AWS API Documentation
|
1509
|
+
#
|
1510
|
+
# @overload tag_resource(params = {})
|
1511
|
+
# @param [Hash] params ({})
|
1512
|
+
def tag_resource(params = {}, options = {})
|
1513
|
+
req = build_request(:tag_resource, params)
|
1514
|
+
req.send_request(options)
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
# Removes the specified tags from the specified resource.
|
1518
|
+
#
|
1519
|
+
# @option params [required, String] :resource_arn
|
1520
|
+
# The Amazon Resource Name (ARN) of the resource.
|
1521
|
+
#
|
1522
|
+
# @option params [required, Array<String>] :tag_keys
|
1523
|
+
# The tag keys.
|
1524
|
+
#
|
1525
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1526
|
+
#
|
1527
|
+
# @example Request syntax with placeholder values
|
1528
|
+
#
|
1529
|
+
# resp = client.untag_resource({
|
1530
|
+
# resource_arn: "ARN", # required
|
1531
|
+
# tag_keys: ["TagKey"], # required
|
1532
|
+
# })
|
1533
|
+
#
|
1534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource AWS API Documentation
|
1535
|
+
#
|
1536
|
+
# @overload untag_resource(params = {})
|
1537
|
+
# @param [Hash] params ({})
|
1538
|
+
def untag_resource(params = {}, options = {})
|
1539
|
+
req = build_request(:untag_resource, params)
|
1540
|
+
req.send_request(options)
|
1541
|
+
end
|
1542
|
+
|
1446
1543
|
# Creates or updates the contact attributes associated with the
|
1447
1544
|
# specified contact.
|
1448
1545
|
#
|
@@ -1675,7 +1772,7 @@ module Aws::Connect
|
|
1675
1772
|
params: params,
|
1676
1773
|
config: config)
|
1677
1774
|
context[:gem_name] = 'aws-sdk-connect'
|
1678
|
-
context[:gem_version] = '1.
|
1775
|
+
context[:gem_version] = '1.21.0'
|
1679
1776
|
Seahorse::Client::Request.new(handlers, context)
|
1680
1777
|
end
|
1681
1778
|
|
@@ -103,6 +103,8 @@ module Aws::Connect
|
|
103
103
|
ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
|
104
104
|
ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
|
105
105
|
ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
|
106
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
107
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
106
108
|
ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
|
107
109
|
ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
|
108
110
|
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
@@ -146,10 +148,16 @@ module Aws::Connect
|
|
146
148
|
Statistic = Shapes::StringShape.new(name: 'Statistic')
|
147
149
|
StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
|
148
150
|
StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
|
151
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
152
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
153
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
154
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
155
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
149
156
|
Threshold = Shapes::StructureShape.new(name: 'Threshold')
|
150
157
|
ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
|
151
158
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
152
159
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
160
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
153
161
|
UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
|
154
162
|
UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
|
155
163
|
UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
|
@@ -194,6 +202,7 @@ module Aws::Connect
|
|
194
202
|
CreateUserRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location_name: "RoutingProfileId"))
|
195
203
|
CreateUserRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
|
196
204
|
CreateUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
205
|
+
CreateUserRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
197
206
|
CreateUserRequest.struct_class = Types::CreateUserRequest
|
198
207
|
|
199
208
|
CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
|
@@ -434,6 +443,12 @@ module Aws::Connect
|
|
434
443
|
ListSecurityProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
435
444
|
ListSecurityProfilesResponse.struct_class = Types::ListSecurityProfilesResponse
|
436
445
|
|
446
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
447
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
448
|
+
|
449
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
450
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
451
|
+
|
437
452
|
ListUserHierarchyGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
438
453
|
ListUserHierarchyGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
439
454
|
ListUserHierarchyGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
@@ -521,6 +536,15 @@ module Aws::Connect
|
|
521
536
|
|
522
537
|
StopContactResponse.struct_class = Types::StopContactResponse
|
523
538
|
|
539
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
540
|
+
|
541
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
542
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
543
|
+
|
544
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
545
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
546
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
547
|
+
|
524
548
|
Threshold.add_member(:comparison, Shapes::ShapeRef.new(shape: Comparison, location_name: "Comparison"))
|
525
549
|
Threshold.add_member(:threshold_value, Shapes::ShapeRef.new(shape: ThresholdValue, location_name: "ThresholdValue", metadata: {"box"=>true}))
|
526
550
|
Threshold.struct_class = Types::Threshold
|
@@ -528,6 +552,10 @@ module Aws::Connect
|
|
528
552
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
529
553
|
ThrottlingException.struct_class = Types::ThrottlingException
|
530
554
|
|
555
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
556
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
557
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
558
|
+
|
531
559
|
UpdateContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
532
560
|
UpdateContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
533
561
|
UpdateContactAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
|
@@ -569,6 +597,7 @@ module Aws::Connect
|
|
569
597
|
User.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds"))
|
570
598
|
User.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
|
571
599
|
User.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
|
600
|
+
User.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
572
601
|
User.struct_class = Types::User
|
573
602
|
|
574
603
|
UserIdentityInfo.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
|
@@ -855,6 +884,19 @@ module Aws::Connect
|
|
855
884
|
)
|
856
885
|
end)
|
857
886
|
|
887
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
888
|
+
o.name = "ListTagsForResource"
|
889
|
+
o.http_method = "GET"
|
890
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
891
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
892
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
898
|
+
end)
|
899
|
+
|
858
900
|
api.add_operation(:list_user_hierarchy_groups, Seahorse::Model::Operation.new.tap do |o|
|
859
901
|
o.name = "ListUserHierarchyGroups"
|
860
902
|
o.http_method = "GET"
|
@@ -921,6 +963,32 @@ module Aws::Connect
|
|
921
963
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
922
964
|
end)
|
923
965
|
|
966
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
967
|
+
o.name = "TagResource"
|
968
|
+
o.http_method = "POST"
|
969
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
970
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
971
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
975
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
977
|
+
end)
|
978
|
+
|
979
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
980
|
+
o.name = "UntagResource"
|
981
|
+
o.http_method = "DELETE"
|
982
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
983
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
984
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
985
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
986
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
987
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
990
|
+
end)
|
991
|
+
|
924
992
|
api.add_operation(:update_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
|
925
993
|
o.name = "UpdateContactAttributes"
|
926
994
|
o.http_method = "POST"
|
@@ -71,6 +71,9 @@ module Aws::Connect
|
|
71
71
|
# routing_profile_id: "RoutingProfileId", # required
|
72
72
|
# hierarchy_group_id: "HierarchyGroupId",
|
73
73
|
# instance_id: "InstanceId", # required
|
74
|
+
# tags: {
|
75
|
+
# "TagKey" => "TagValue",
|
76
|
+
# },
|
74
77
|
# }
|
75
78
|
#
|
76
79
|
# @!attribute [rw] username
|
@@ -125,6 +128,10 @@ module Aws::Connect
|
|
125
128
|
# The identifier of the Amazon Connect instance.
|
126
129
|
# @return [String]
|
127
130
|
#
|
131
|
+
# @!attribute [rw] tags
|
132
|
+
# One or more tags.
|
133
|
+
# @return [Hash<String,String>]
|
134
|
+
#
|
128
135
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUserRequest AWS API Documentation
|
129
136
|
#
|
130
137
|
class CreateUserRequest < Struct.new(
|
@@ -136,7 +143,8 @@ module Aws::Connect
|
|
136
143
|
:security_profile_ids,
|
137
144
|
:routing_profile_id,
|
138
145
|
:hierarchy_group_id,
|
139
|
-
:instance_id
|
146
|
+
:instance_id,
|
147
|
+
:tags)
|
140
148
|
include Aws::Structure
|
141
149
|
end
|
142
150
|
|
@@ -1541,6 +1549,35 @@ module Aws::Connect
|
|
1541
1549
|
include Aws::Structure
|
1542
1550
|
end
|
1543
1551
|
|
1552
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1553
|
+
# data as a hash:
|
1554
|
+
#
|
1555
|
+
# {
|
1556
|
+
# resource_arn: "ARN", # required
|
1557
|
+
# }
|
1558
|
+
#
|
1559
|
+
# @!attribute [rw] resource_arn
|
1560
|
+
# The Amazon Resource Name (ARN) of the resource.
|
1561
|
+
# @return [String]
|
1562
|
+
#
|
1563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTagsForResourceRequest AWS API Documentation
|
1564
|
+
#
|
1565
|
+
class ListTagsForResourceRequest < Struct.new(
|
1566
|
+
:resource_arn)
|
1567
|
+
include Aws::Structure
|
1568
|
+
end
|
1569
|
+
|
1570
|
+
# @!attribute [rw] tags
|
1571
|
+
# Information about the tags.
|
1572
|
+
# @return [Hash<String,String>]
|
1573
|
+
#
|
1574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTagsForResourceResponse AWS API Documentation
|
1575
|
+
#
|
1576
|
+
class ListTagsForResourceResponse < Struct.new(
|
1577
|
+
:tags)
|
1578
|
+
include Aws::Structure
|
1579
|
+
end
|
1580
|
+
|
1544
1581
|
# @note When making an API call, you may pass ListUserHierarchyGroupsRequest
|
1545
1582
|
# data as a hash:
|
1546
1583
|
#
|
@@ -1905,6 +1942,33 @@ module Aws::Connect
|
|
1905
1942
|
#
|
1906
1943
|
class StopContactResponse < Aws::EmptyStructure; end
|
1907
1944
|
|
1945
|
+
# @note When making an API call, you may pass TagResourceRequest
|
1946
|
+
# data as a hash:
|
1947
|
+
#
|
1948
|
+
# {
|
1949
|
+
# resource_arn: "ARN", # required
|
1950
|
+
# tags: { # required
|
1951
|
+
# "TagKey" => "TagValue",
|
1952
|
+
# },
|
1953
|
+
# }
|
1954
|
+
#
|
1955
|
+
# @!attribute [rw] resource_arn
|
1956
|
+
# The Amazon Resource Name (ARN) of the resource.
|
1957
|
+
# @return [String]
|
1958
|
+
#
|
1959
|
+
# @!attribute [rw] tags
|
1960
|
+
# One or more tags. For example, \\\{ "tags":
|
1961
|
+
# \\\{"key1":"value1", "key2":"value2"\\} \\}.
|
1962
|
+
# @return [Hash<String,String>]
|
1963
|
+
#
|
1964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResourceRequest AWS API Documentation
|
1965
|
+
#
|
1966
|
+
class TagResourceRequest < Struct.new(
|
1967
|
+
:resource_arn,
|
1968
|
+
:tags)
|
1969
|
+
include Aws::Structure
|
1970
|
+
end
|
1971
|
+
|
1908
1972
|
# Contains information about the threshold for service level metrics.
|
1909
1973
|
#
|
1910
1974
|
# @note When making an API call, you may pass Threshold
|
@@ -1944,6 +2008,30 @@ module Aws::Connect
|
|
1944
2008
|
include Aws::Structure
|
1945
2009
|
end
|
1946
2010
|
|
2011
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
2012
|
+
# data as a hash:
|
2013
|
+
#
|
2014
|
+
# {
|
2015
|
+
# resource_arn: "ARN", # required
|
2016
|
+
# tag_keys: ["TagKey"], # required
|
2017
|
+
# }
|
2018
|
+
#
|
2019
|
+
# @!attribute [rw] resource_arn
|
2020
|
+
# The Amazon Resource Name (ARN) of the resource.
|
2021
|
+
# @return [String]
|
2022
|
+
#
|
2023
|
+
# @!attribute [rw] tag_keys
|
2024
|
+
# The tag keys.
|
2025
|
+
# @return [Array<String>]
|
2026
|
+
#
|
2027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResourceRequest AWS API Documentation
|
2028
|
+
#
|
2029
|
+
class UntagResourceRequest < Struct.new(
|
2030
|
+
:resource_arn,
|
2031
|
+
:tag_keys)
|
2032
|
+
include Aws::Structure
|
2033
|
+
end
|
2034
|
+
|
1947
2035
|
# @note When making an API call, you may pass UpdateContactAttributesRequest
|
1948
2036
|
# data as a hash:
|
1949
2037
|
#
|
@@ -2185,6 +2273,10 @@ module Aws::Connect
|
|
2185
2273
|
# The identifier of the hierarchy group for the user.
|
2186
2274
|
# @return [String]
|
2187
2275
|
#
|
2276
|
+
# @!attribute [rw] tags
|
2277
|
+
# The tags.
|
2278
|
+
# @return [Hash<String,String>]
|
2279
|
+
#
|
2188
2280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/User AWS API Documentation
|
2189
2281
|
#
|
2190
2282
|
class User < Struct.new(
|
@@ -2196,7 +2288,8 @@ module Aws::Connect
|
|
2196
2288
|
:directory_user_id,
|
2197
2289
|
:security_profile_ids,
|
2198
2290
|
:routing_profile_id,
|
2199
|
-
:hierarchy_group_id
|
2291
|
+
:hierarchy_group_id,
|
2292
|
+
:tags)
|
2200
2293
|
include Aws::Structure
|
2201
2294
|
end
|
2202
2295
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.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-
|
11
|
+
date: 2019-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|