aws-sdk-connect 1.114.0 → 1.115.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
  SHA256:
3
- metadata.gz: 0ea5bd061e7c68064ee7ef6b878de20b9d204fff181c4ab83e2a04a2654ddb91
4
- data.tar.gz: a120ded06bb66a1f232827334ce9dabebb4192aaa87169894f91ab3fe9c145c1
3
+ metadata.gz: 952c0f2d9e1edcbecc10695d90f40acf2efad6c1e787bf18afc3df182a7f404a
4
+ data.tar.gz: 820dcc3b43d995438999e133fb83556bc2ac052f49c9b42447fa37b7166d2456
5
5
  SHA512:
6
- metadata.gz: fa5566da677ff79d29b80d0d4724b30f1a8b5ac16530d60e7bff3341cb7fa12aefd0347fcb5aa5f4e7e8b192bb521eaa5f10ded188ce8306518b657c5ed090ef
7
- data.tar.gz: 30c81fbbcce1ee1e41b39b667e88ce1b2d01caa282d205cd4cb129c77918220eadee343c7845e13c12f5dd8e58c8761b7f843eaed14877d358084c41109f6d9f
6
+ metadata.gz: 1255c89f1130c6f993461ca4f80ac22c4a0c8f25007d270c8dea87742af61366b050885ef72bf7691cc0ac948661fcea719d3f35eb6704b3a59a0ce2db977cd9
7
+ data.tar.gz: 285044d64b72987fc813e86107d200b4083bfbaaad86cac22b02041d886cc70267dc9e961468b293b1a25441970989546210968644eb9743b3a49f2b55d7c0ac
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.0 (2023-06-26)
5
+ ------------------
6
+
7
+ * Feature - This release provides a way to search for existing tags within an instance. Before tagging a resource, ensure consistency by searching for pre-existing key:value pairs.
8
+
4
9
  1.114.0 (2023-06-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
1
+ 1.115.0
@@ -879,6 +879,24 @@ module Aws::Connect
879
879
  # API to verify the status of a previous [ClaimPhoneNumber][5]
880
880
  # operation.
881
881
  #
882
+ # If you plan to claim and release numbers frequently during a 30 day
883
+ # period, contact us for a service quota exception. Otherwise, it is
884
+ # possible you will be blocked from claiming and releasing any more
885
+ # numbers until 30 days past the oldest number released has expired.
886
+ #
887
+ # By default you can claim and release up to 200% of your maximum number
888
+ # of active phone numbers during any 30 day period. If you claim and
889
+ # release phone numbers using the UI or API during a rolling 30 day
890
+ # cycle that exceeds 200% of your phone number service level quota, you
891
+ # will be blocked from claiming any more numbers until 30 days past the
892
+ # oldest number released has expired.
893
+ #
894
+ # For example, if you already have 99 claimed numbers and a service
895
+ # level quota of 99 phone numbers, and in any 30 day period you release
896
+ # 99, claim 99, and then release 99, you will have exceeded the 200%
897
+ # limit. At that point you are blocked from claiming any more numbers
898
+ # until you open an Amazon Web Services support ticket.
899
+ #
882
900
  #
883
901
  #
884
902
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/claim-phone-number.html
@@ -8255,6 +8273,24 @@ module Aws::Connect
8255
8273
  # until the period has ended. If you accidentally release a phone
8256
8274
  # number, contact Amazon Web Services Support.
8257
8275
  #
8276
+ # If you plan to claim and release numbers frequently during a 30 day
8277
+ # period, contact us for a service quota exception. Otherwise, it is
8278
+ # possible you will be blocked from claiming and releasing any more
8279
+ # numbers until 30 days past the oldest number released has expired.
8280
+ #
8281
+ # By default you can claim and release up to 200% of your maximum number
8282
+ # of active phone numbers during any 30 day period. If you claim and
8283
+ # release phone numbers using the UI or API during a rolling 30 day
8284
+ # cycle that exceeds 200% of your phone number service level quota, you
8285
+ # will be blocked from claiming any more numbers until 30 days past the
8286
+ # oldest number released has expired.
8287
+ #
8288
+ # For example, if you already have 99 claimed numbers and a service
8289
+ # level quota of 99 phone numbers, and in any 30 day period you release
8290
+ # 99, claim 99, and then release 99, you will have exceeded the 200%
8291
+ # limit. At that point you are blocked from claiming any more numbers
8292
+ # until you open an Amazon Web Services support ticket.
8293
+ #
8258
8294
  # @option params [required, String] :phone_number_id
8259
8295
  # A unique identifier for the phone number.
8260
8296
  #
@@ -8895,6 +8931,69 @@ module Aws::Connect
8895
8931
  req.send_request(options)
8896
8932
  end
8897
8933
 
8934
+ # Searches tags used in an Amazon Connect instance using optional search
8935
+ # criteria.
8936
+ #
8937
+ # @option params [required, String] :instance_id
8938
+ # The identifier of the Amazon Connect instance. You can find the
8939
+ # instanceId in the Amazon Resource Name (ARN) of the instance.
8940
+ #
8941
+ # @option params [Array<String>] :resource_types
8942
+ # The list of resource types to be used to search tags from. If not
8943
+ # provided or if any empty list is provided, this API will search from
8944
+ # all supported resource types.
8945
+ #
8946
+ # @option params [String] :next_token
8947
+ # The token for the next set of results. Use the value returned in the
8948
+ # previous response in the next request to retrieve the next set of
8949
+ # results.
8950
+ #
8951
+ # @option params [Integer] :max_results
8952
+ # The maximum number of results to return per page.
8953
+ #
8954
+ # @option params [Types::ResourceTagsSearchCriteria] :search_criteria
8955
+ # The search criteria to be used to return tags.
8956
+ #
8957
+ # @return [Types::SearchResourceTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8958
+ #
8959
+ # * {Types::SearchResourceTagsResponse#tags #tags} => Array&lt;Types::TagSet&gt;
8960
+ # * {Types::SearchResourceTagsResponse#next_token #next_token} => String
8961
+ #
8962
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
8963
+ #
8964
+ # @example Request syntax with placeholder values
8965
+ #
8966
+ # resp = client.search_resource_tags({
8967
+ # instance_id: "InstanceIdOrArn", # required
8968
+ # resource_types: ["String"],
8969
+ # next_token: "NextToken2500",
8970
+ # max_results: 1,
8971
+ # search_criteria: {
8972
+ # tag_search_condition: {
8973
+ # tag_key: "TagKeyString",
8974
+ # tag_value: "TagValueString",
8975
+ # tag_key_comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
8976
+ # tag_value_comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
8977
+ # },
8978
+ # },
8979
+ # })
8980
+ #
8981
+ # @example Response structure
8982
+ #
8983
+ # resp.tags #=> Array
8984
+ # resp.tags[0].key #=> String
8985
+ # resp.tags[0].value #=> String
8986
+ # resp.next_token #=> String
8987
+ #
8988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchResourceTags AWS API Documentation
8989
+ #
8990
+ # @overload search_resource_tags(params = {})
8991
+ # @param [Hash] params ({})
8992
+ def search_resource_tags(params = {}, options = {})
8993
+ req = build_request(:search_resource_tags, params)
8994
+ req.send_request(options)
8995
+ end
8996
+
8898
8997
  # This API is in preview release for Amazon Connect and is subject to
8899
8998
  # change.
8900
8999
  #
@@ -12432,7 +12531,7 @@ module Aws::Connect
12432
12531
  params: params,
12433
12532
  config: config)
12434
12533
  context[:gem_name] = 'aws-sdk-connect'
12435
- context[:gem_version] = '1.114.0'
12534
+ context[:gem_version] = '1.115.0'
12436
12535
  Seahorse::Client::Request.new(handlers, context)
12437
12536
  end
12438
12537
 
@@ -523,6 +523,7 @@ module Aws::Connect
523
523
  MaxResult200 = Shapes::IntegerShape.new(name: 'MaxResult200')
524
524
  MaxResult25 = Shapes::IntegerShape.new(name: 'MaxResult25')
525
525
  MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
526
+ MaximumResultReturnedException = Shapes::StructureShape.new(name: 'MaximumResultReturnedException')
526
527
  MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
527
528
  MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
528
529
  Message = Shapes::StringShape.new(name: 'Message')
@@ -665,7 +666,9 @@ module Aws::Connect
665
666
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
666
667
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
667
668
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
669
+ ResourceTagsSearchCriteria = Shapes::StructureShape.new(name: 'ResourceTagsSearchCriteria')
668
670
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
671
+ ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
669
672
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
670
673
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
671
674
  RoutingProfile = Shapes::StructureShape.new(name: 'RoutingProfile')
@@ -708,6 +711,8 @@ module Aws::Connect
708
711
  SearchQueuesResponse = Shapes::StructureShape.new(name: 'SearchQueuesResponse')
709
712
  SearchQuickConnectsRequest = Shapes::StructureShape.new(name: 'SearchQuickConnectsRequest')
710
713
  SearchQuickConnectsResponse = Shapes::StructureShape.new(name: 'SearchQuickConnectsResponse')
714
+ SearchResourceTagsRequest = Shapes::StructureShape.new(name: 'SearchResourceTagsRequest')
715
+ SearchResourceTagsResponse = Shapes::StructureShape.new(name: 'SearchResourceTagsResponse')
711
716
  SearchRoutingProfilesRequest = Shapes::StructureShape.new(name: 'SearchRoutingProfilesRequest')
712
717
  SearchRoutingProfilesResponse = Shapes::StructureShape.new(name: 'SearchRoutingProfilesResponse')
713
718
  SearchSecurityProfilesRequest = Shapes::StructureShape.new(name: 'SearchSecurityProfilesRequest')
@@ -781,12 +786,17 @@ module Aws::Connect
781
786
  TagCondition = Shapes::StructureShape.new(name: 'TagCondition')
782
787
  TagKey = Shapes::StringShape.new(name: 'TagKey')
783
788
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
789
+ TagKeyString = Shapes::StringShape.new(name: 'TagKeyString')
784
790
  TagMap = Shapes::MapShape.new(name: 'TagMap')
785
791
  TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
786
792
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
787
793
  TagRestrictedResourceList = Shapes::ListShape.new(name: 'TagRestrictedResourceList')
788
794
  TagRestrictedResourceName = Shapes::StringShape.new(name: 'TagRestrictedResourceName')
795
+ TagSearchCondition = Shapes::StructureShape.new(name: 'TagSearchCondition')
796
+ TagSet = Shapes::StructureShape.new(name: 'TagSet')
789
797
  TagValue = Shapes::StringShape.new(name: 'TagValue')
798
+ TagValueString = Shapes::StringShape.new(name: 'TagValueString')
799
+ TagsList = Shapes::ListShape.new(name: 'TagsList')
790
800
  TaskActionDefinition = Shapes::StructureShape.new(name: 'TaskActionDefinition')
791
801
  TaskDescriptionExpression = Shapes::StringShape.new(name: 'TaskDescriptionExpression')
792
802
  TaskNameExpression = Shapes::StringShape.new(name: 'TaskNameExpression')
@@ -2701,6 +2711,9 @@ module Aws::Connect
2701
2711
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2702
2712
  ListUsersResponse.struct_class = Types::ListUsersResponse
2703
2713
 
2714
+ MaximumResultReturnedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2715
+ MaximumResultReturnedException.struct_class = Types::MaximumResultReturnedException
2716
+
2704
2717
  MediaConcurrencies.member = Shapes::ShapeRef.new(shape: MediaConcurrency)
2705
2718
 
2706
2719
  MediaConcurrency.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
@@ -3016,6 +3029,11 @@ module Aws::Connect
3016
3029
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
3017
3030
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
3018
3031
 
3032
+ ResourceTagsSearchCriteria.add_member(:tag_search_condition, Shapes::ShapeRef.new(shape: TagSearchCondition, location_name: "TagSearchCondition"))
3033
+ ResourceTagsSearchCriteria.struct_class = Types::ResourceTagsSearchCriteria
3034
+
3035
+ ResourceTypeList.member = Shapes::ShapeRef.new(shape: String)
3036
+
3019
3037
  ResumeContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
3020
3038
  ResumeContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
3021
3039
  ResumeContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
@@ -3186,6 +3204,17 @@ module Aws::Connect
3186
3204
  SearchQuickConnectsResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
3187
3205
  SearchQuickConnectsResponse.struct_class = Types::SearchQuickConnectsResponse
3188
3206
 
3207
+ SearchResourceTagsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location_name: "InstanceId"))
3208
+ SearchResourceTagsRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, location_name: "ResourceTypes"))
3209
+ SearchResourceTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
3210
+ SearchResourceTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
3211
+ SearchResourceTagsRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: ResourceTagsSearchCriteria, location_name: "SearchCriteria"))
3212
+ SearchResourceTagsRequest.struct_class = Types::SearchResourceTagsRequest
3213
+
3214
+ SearchResourceTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
3215
+ SearchResourceTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
3216
+ SearchResourceTagsResponse.struct_class = Types::SearchResourceTagsResponse
3217
+
3189
3218
  SearchRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
3190
3219
  SearchRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
3191
3220
  SearchRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -3441,6 +3470,18 @@ module Aws::Connect
3441
3470
 
3442
3471
  TagRestrictedResourceList.member = Shapes::ShapeRef.new(shape: TagRestrictedResourceName)
3443
3472
 
3473
+ TagSearchCondition.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKeyString, location_name: "tagKey"))
3474
+ TagSearchCondition.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValueString, location_name: "tagValue"))
3475
+ TagSearchCondition.add_member(:tag_key_comparison_type, Shapes::ShapeRef.new(shape: StringComparisonType, location_name: "tagKeyComparisonType"))
3476
+ TagSearchCondition.add_member(:tag_value_comparison_type, Shapes::ShapeRef.new(shape: StringComparisonType, location_name: "tagValueComparisonType"))
3477
+ TagSearchCondition.struct_class = Types::TagSearchCondition
3478
+
3479
+ TagSet.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
3480
+ TagSet.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
3481
+ TagSet.struct_class = Types::TagSet
3482
+
3483
+ TagsList.member = Shapes::ShapeRef.new(shape: TagSet)
3484
+
3444
3485
  TaskActionDefinition.add_member(:name, Shapes::ShapeRef.new(shape: TaskNameExpression, required: true, location_name: "Name"))
3445
3486
  TaskActionDefinition.add_member(:description, Shapes::ShapeRef.new(shape: TaskDescriptionExpression, location_name: "Description"))
3446
3487
  TaskActionDefinition.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
@@ -6044,6 +6085,26 @@ module Aws::Connect
6044
6085
  )
6045
6086
  end)
6046
6087
 
6088
+ api.add_operation(:search_resource_tags, Seahorse::Model::Operation.new.tap do |o|
6089
+ o.name = "SearchResourceTags"
6090
+ o.http_method = "POST"
6091
+ o.http_request_uri = "/search-resource-tags"
6092
+ o.input = Shapes::ShapeRef.new(shape: SearchResourceTagsRequest)
6093
+ o.output = Shapes::ShapeRef.new(shape: SearchResourceTagsResponse)
6094
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6095
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
6096
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6097
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6098
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6099
+ o.errors << Shapes::ShapeRef.new(shape: MaximumResultReturnedException)
6100
+ o[:pager] = Aws::Pager.new(
6101
+ limit_key: "max_results",
6102
+ tokens: {
6103
+ "next_token" => "next_token"
6104
+ }
6105
+ )
6106
+ end)
6107
+
6047
6108
  api.add_operation(:search_routing_profiles, Seahorse::Model::Operation.new.tap do |o|
6048
6109
  o.name = "SearchRoutingProfiles"
6049
6110
  o.http_method = "POST"
@@ -1916,6 +1916,20 @@ module Aws::Connect
1916
1916
  end
1917
1917
  end
1918
1918
 
1919
+ class SearchResourceTags
1920
+ def self.build(context)
1921
+ unless context.config.regional_endpoint
1922
+ endpoint = context.config.endpoint.to_s
1923
+ end
1924
+ Aws::Connect::EndpointParameters.new(
1925
+ region: context.config.region,
1926
+ use_dual_stack: context.config.use_dualstack_endpoint,
1927
+ use_fips: context.config.use_fips_endpoint,
1928
+ endpoint: endpoint,
1929
+ )
1930
+ end
1931
+ end
1932
+
1919
1933
  class SearchRoutingProfiles
1920
1934
  def self.build(context)
1921
1935
  unless context.config.regional_endpoint
@@ -39,6 +39,7 @@ module Aws::Connect
39
39
  # * {InvalidParameterException}
40
40
  # * {InvalidRequestException}
41
41
  # * {LimitExceededException}
42
+ # * {MaximumResultReturnedException}
42
43
  # * {OutboundContactNotPermittedException}
43
44
  # * {PropertyValidationException}
44
45
  # * {ResourceConflictException}
@@ -235,6 +236,21 @@ module Aws::Connect
235
236
  end
236
237
  end
237
238
 
239
+ class MaximumResultReturnedException < ServiceError
240
+
241
+ # @param [Seahorse::Client::RequestContext] context
242
+ # @param [String] message
243
+ # @param [Aws::Connect::Types::MaximumResultReturnedException] data
244
+ def initialize(context, message, data = Aws::EmptyStructure.new)
245
+ super(context, message, data)
246
+ end
247
+
248
+ # @return [String]
249
+ def message
250
+ @message || @data[:message]
251
+ end
252
+ end
253
+
238
254
  class OutboundContactNotPermittedException < ServiceError
239
255
 
240
256
  # @param [Seahorse::Client::RequestContext] context
@@ -328,6 +328,8 @@ module Aws::Connect
328
328
  Aws::Connect::Endpoints::SearchQueues.build(context)
329
329
  when :search_quick_connects
330
330
  Aws::Connect::Endpoints::SearchQuickConnects.build(context)
331
+ when :search_resource_tags
332
+ Aws::Connect::Endpoints::SearchResourceTags.build(context)
331
333
  when :search_routing_profiles
332
334
  Aws::Connect::Endpoints::SearchRoutingProfiles.build(context)
333
335
  when :search_security_profiles
@@ -9320,6 +9320,20 @@ module Aws::Connect
9320
9320
  include Aws::Structure
9321
9321
  end
9322
9322
 
9323
+ # Maximum number (1000) of tags have been returned with current request.
9324
+ # Consider changing request parameters to get more tags.
9325
+ #
9326
+ # @!attribute [rw] message
9327
+ # @return [String]
9328
+ #
9329
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MaximumResultReturnedException AWS API Documentation
9330
+ #
9331
+ class MaximumResultReturnedException < Struct.new(
9332
+ :message)
9333
+ SENSITIVE = []
9334
+ include Aws::Structure
9335
+ end
9336
+
9323
9337
  # Contains information about which channels are supported, and how many
9324
9338
  # contacts an agent can have on a channel simultaneously.
9325
9339
  #
@@ -10734,6 +10748,20 @@ module Aws::Connect
10734
10748
  include Aws::Structure
10735
10749
  end
10736
10750
 
10751
+ # The search criteria to be used to search tags.
10752
+ #
10753
+ # @!attribute [rw] tag_search_condition
10754
+ # The search criteria to be used to return tags.
10755
+ # @return [Types::TagSearchCondition]
10756
+ #
10757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResourceTagsSearchCriteria AWS API Documentation
10758
+ #
10759
+ class ResourceTagsSearchCriteria < Struct.new(
10760
+ :tag_search_condition)
10761
+ SENSITIVE = []
10762
+ include Aws::Structure
10763
+ end
10764
+
10737
10765
  # @!attribute [rw] instance_id
10738
10766
  # The identifier of the Amazon Connect instance. You can [find the
10739
10767
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -11561,6 +11589,61 @@ module Aws::Connect
11561
11589
  include Aws::Structure
11562
11590
  end
11563
11591
 
11592
+ # @!attribute [rw] instance_id
11593
+ # The identifier of the Amazon Connect instance. You can find the
11594
+ # instanceId in the Amazon Resource Name (ARN) of the instance.
11595
+ # @return [String]
11596
+ #
11597
+ # @!attribute [rw] resource_types
11598
+ # The list of resource types to be used to search tags from. If not
11599
+ # provided or if any empty list is provided, this API will search from
11600
+ # all supported resource types.
11601
+ # @return [Array<String>]
11602
+ #
11603
+ # @!attribute [rw] next_token
11604
+ # The token for the next set of results. Use the value returned in the
11605
+ # previous response in the next request to retrieve the next set of
11606
+ # results.
11607
+ # @return [String]
11608
+ #
11609
+ # @!attribute [rw] max_results
11610
+ # The maximum number of results to return per page.
11611
+ # @return [Integer]
11612
+ #
11613
+ # @!attribute [rw] search_criteria
11614
+ # The search criteria to be used to return tags.
11615
+ # @return [Types::ResourceTagsSearchCriteria]
11616
+ #
11617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchResourceTagsRequest AWS API Documentation
11618
+ #
11619
+ class SearchResourceTagsRequest < Struct.new(
11620
+ :instance_id,
11621
+ :resource_types,
11622
+ :next_token,
11623
+ :max_results,
11624
+ :search_criteria)
11625
+ SENSITIVE = []
11626
+ include Aws::Structure
11627
+ end
11628
+
11629
+ # @!attribute [rw] tags
11630
+ # A list of tags used in the Amazon Connect instance.
11631
+ # @return [Array<Types::TagSet>]
11632
+ #
11633
+ # @!attribute [rw] next_token
11634
+ # If there are additional results, this is the token for the next set
11635
+ # of results.
11636
+ # @return [String]
11637
+ #
11638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchResourceTagsResponse AWS API Documentation
11639
+ #
11640
+ class SearchResourceTagsResponse < Struct.new(
11641
+ :tags,
11642
+ :next_token)
11643
+ SENSITIVE = []
11644
+ include Aws::Structure
11645
+ end
11646
+
11564
11647
  # @!attribute [rw] instance_id
11565
11648
  # The identifier of the Amazon Connect instance. You can [find the
11566
11649
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -12913,6 +12996,56 @@ module Aws::Connect
12913
12996
  include Aws::Structure
12914
12997
  end
12915
12998
 
12999
+ # The search criteria to be used to return tags.
13000
+ #
13001
+ # @!attribute [rw] tag_key
13002
+ # The tag key used in the tag search condition.
13003
+ # @return [String]
13004
+ #
13005
+ # @!attribute [rw] tag_value
13006
+ # The tag value used in the tag search condition.
13007
+ # @return [String]
13008
+ #
13009
+ # @!attribute [rw] tag_key_comparison_type
13010
+ # The type of comparison to be made when evaluating the tag key in tag
13011
+ # search condition.
13012
+ # @return [String]
13013
+ #
13014
+ # @!attribute [rw] tag_value_comparison_type
13015
+ # The type of comparison to be made when evaluating the tag value in
13016
+ # tag search condition.
13017
+ # @return [String]
13018
+ #
13019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagSearchCondition AWS API Documentation
13020
+ #
13021
+ class TagSearchCondition < Struct.new(
13022
+ :tag_key,
13023
+ :tag_value,
13024
+ :tag_key_comparison_type,
13025
+ :tag_value_comparison_type)
13026
+ SENSITIVE = []
13027
+ include Aws::Structure
13028
+ end
13029
+
13030
+ # A tag set contains tag key and tag value.
13031
+ #
13032
+ # @!attribute [rw] key
13033
+ # The tag key in the tagSet.
13034
+ # @return [String]
13035
+ #
13036
+ # @!attribute [rw] value
13037
+ # The tag value in the tagSet.
13038
+ # @return [String]
13039
+ #
13040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagSet AWS API Documentation
13041
+ #
13042
+ class TagSet < Struct.new(
13043
+ :key,
13044
+ :value)
13045
+ SENSITIVE = []
13046
+ include Aws::Structure
13047
+ end
13048
+
12916
13049
  # Information about the task action.
12917
13050
  #
12918
13051
  # @!attribute [rw] name
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.114.0'
55
+ GEM_VERSION = '1.115.0'
56
56
 
57
57
  end
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.114.0
4
+ version: 1.115.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: 2023-06-16 00:00:00.000000000 Z
11
+ date: 2023-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core