aws-sdk-connect 1.83.0 → 1.85.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e116e6b76684c2170720cf42cb56afe06b61943bf486deabf6c65623dbcf2ab5
4
- data.tar.gz: fb81daa5f524960bb488654ac932a6bc23e51b13173c06a70f698175b5c3b9a3
3
+ metadata.gz: c34ec9771aa3f9687da4ddf3e2a636d71186cef538952aa5ee7b0859d3b16a49
4
+ data.tar.gz: 9b5bbc193bc0d3ba0b672b05ec7ba57581f60c8d4446c87f7f824af8d5e24e06
5
5
  SHA512:
6
- metadata.gz: 7938100d74a77ed62b9e8d44f631a52284805c2fc051658f7895d3a496d2f030ab9695367d0d2c478e1ec080a571f82e8fbcdffde29deda37987c8f4191b97cb
7
- data.tar.gz: 0b117d24aaaf10efceacbc879962019cfdff3ee4747a0745f23d4c4369156dfd3ac03cfce8ff23ae314de678be299bbfdc40654b20801ed53fe584d0d96e9b59
6
+ metadata.gz: f6da80341a3788de12b4275f18006b67f5226dcba0e854846ef7992793602cec31385230a5424ff5eead7b82744b66bd0b2c1914b6951b4d7cc6eadef62058ff
7
+ data.tar.gz: 5d45536f4b0f520d95fc33d82f7fc02c673e3202aa28f93739ff81c7b842ab00487f74d1fc017745c6da66661f96eeb3a1cdaaff5ba6d84d18e664757ab93d1b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2022-11-18)
5
+ ------------------
6
+
7
+ * Feature - Added AllowedAccessControlTags and TagRestrictedResource for Tag Based Access Control on Amazon Connect Webpage
8
+
9
+ 1.84.0 (2022-11-16)
10
+ ------------------
11
+
12
+ * Feature - This release adds a new MonitorContact API for initiating monitoring of ongoing Voice and Chat contacts.
13
+
4
14
  1.83.0 (2022-11-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.85.0
@@ -1492,6 +1492,14 @@ module Aws::Connect
1492
1492
  # For example, \\\{ "tags": \\\{"key1":"value1",
1493
1493
  # "key2":"value2"\\} \\}.
1494
1494
  #
1495
+ # @option params [Hash<String,String>] :allowed_access_control_tags
1496
+ # The list of tags that a security profile uses to restrict access to
1497
+ # resources in Amazon Connect.
1498
+ #
1499
+ # @option params [Array<String>] :tag_restricted_resources
1500
+ # The list of resources that a security profile applies tag restrictions
1501
+ # to in Amazon Connect.
1502
+ #
1495
1503
  # @return [Types::CreateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1496
1504
  #
1497
1505
  # * {Types::CreateSecurityProfileResponse#security_profile_id #security_profile_id} => String
@@ -1500,13 +1508,17 @@ module Aws::Connect
1500
1508
  # @example Request syntax with placeholder values
1501
1509
  #
1502
1510
  # resp = client.create_security_profile({
1503
- # security_profile_name: "SecurityProfileName", # required
1511
+ # security_profile_name: "CreateSecurityProfileName", # required
1504
1512
  # description: "SecurityProfileDescription",
1505
1513
  # permissions: ["SecurityProfilePermission"],
1506
1514
  # instance_id: "InstanceId", # required
1507
1515
  # tags: {
1508
1516
  # "TagKey" => "TagValue",
1509
1517
  # },
1518
+ # allowed_access_control_tags: {
1519
+ # "SecurityProfilePolicyKey" => "SecurityProfilePolicyValue",
1520
+ # },
1521
+ # tag_restricted_resources: ["TagRestrictedResourceName"],
1510
1522
  # })
1511
1523
  #
1512
1524
  # @example Response structure
@@ -2986,6 +2998,10 @@ module Aws::Connect
2986
2998
  # resp.security_profile.description #=> String
2987
2999
  # resp.security_profile.tags #=> Hash
2988
3000
  # resp.security_profile.tags["TagKey"] #=> String
3001
+ # resp.security_profile.allowed_access_control_tags #=> Hash
3002
+ # resp.security_profile.allowed_access_control_tags["SecurityProfilePolicyKey"] #=> String
3003
+ # resp.security_profile.tag_restricted_resources #=> Array
3004
+ # resp.security_profile.tag_restricted_resources[0] #=> String
2989
3005
  #
2990
3006
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeSecurityProfile AWS API Documentation
2991
3007
  #
@@ -3636,12 +3652,16 @@ module Aws::Connect
3636
3652
  # @option params [Array<String>] :groupings
3637
3653
  # The grouping applied to the metrics returned. For example, when
3638
3654
  # grouped by `QUEUE`, the metrics returned apply to each queue rather
3639
- # than aggregated for all queues. If you group by `CHANNEL`, you should
3640
- # include a Channels filter. VOICE, CHAT, and TASK channels are
3641
- # supported.
3655
+ # than aggregated for all queues.
3642
3656
  #
3643
- # If no `Grouping` is included in the request, a summary of metrics is
3644
- # returned.
3657
+ # * If you group by `CHANNEL`, you should include a Channels filter.
3658
+ # VOICE, CHAT, and TASK channels are supported.
3659
+ #
3660
+ # * If you group by `ROUTING_PROFILE`, you must include either a queue
3661
+ # or routing profile filter.
3662
+ #
3663
+ # * If no `Grouping` is included in the request, a summary of metrics is
3664
+ # returned.
3645
3665
  #
3646
3666
  # @option params [required, Array<Types::CurrentMetric>] :current_metrics
3647
3667
  # The metrics to retrieve. Specify the name and unit for each metric.
@@ -6070,6 +6090,67 @@ module Aws::Connect
6070
6090
  req.send_request(options)
6071
6091
  end
6072
6092
 
6093
+ # Initiates silent monitoring of a contact. The Contact Control Panel
6094
+ # (CCP) of the user specified by *userId* will be set to silent
6095
+ # monitoring mode on the contact.
6096
+ #
6097
+ # @option params [required, String] :instance_id
6098
+ # The identifier of the Amazon Connect instance. You can find the
6099
+ # instanceId in the ARN of the instance.
6100
+ #
6101
+ # @option params [required, String] :contact_id
6102
+ # The identifier of the contact.
6103
+ #
6104
+ # @option params [required, String] :user_id
6105
+ # The identifier of the user account.
6106
+ #
6107
+ # @option params [Array<String>] :allowed_monitor_capabilities
6108
+ # Specify which monitoring actions the user is allowed to take. For
6109
+ # example, whether the user is allowed to escalate from silent
6110
+ # monitoring to barge.
6111
+ #
6112
+ # @option params [String] :client_token
6113
+ # A unique, case-sensitive identifier that you provide to ensure the
6114
+ # idempotency of the request. If not provided, the Amazon Web Services
6115
+ # SDK populates this field. For more information about idempotency, see
6116
+ # [Making retries safe with idempotent APIs][1].
6117
+ #
6118
+ # **A suitable default value is auto-generated.** You should normally
6119
+ # not need to pass this option.**
6120
+ #
6121
+ #
6122
+ #
6123
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
6124
+ #
6125
+ # @return [Types::MonitorContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6126
+ #
6127
+ # * {Types::MonitorContactResponse#contact_id #contact_id} => String
6128
+ # * {Types::MonitorContactResponse#contact_arn #contact_arn} => String
6129
+ #
6130
+ # @example Request syntax with placeholder values
6131
+ #
6132
+ # resp = client.monitor_contact({
6133
+ # instance_id: "InstanceId", # required
6134
+ # contact_id: "ContactId", # required
6135
+ # user_id: "AgentResourceId", # required
6136
+ # allowed_monitor_capabilities: ["SILENT_MONITOR"], # accepts SILENT_MONITOR, BARGE
6137
+ # client_token: "ClientToken",
6138
+ # })
6139
+ #
6140
+ # @example Response structure
6141
+ #
6142
+ # resp.contact_id #=> String
6143
+ # resp.contact_arn #=> String
6144
+ #
6145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MonitorContact AWS API Documentation
6146
+ #
6147
+ # @overload monitor_contact(params = {})
6148
+ # @param [Hash] params ({})
6149
+ def monitor_contact(params = {}, options = {})
6150
+ req = build_request(:monitor_contact, params)
6151
+ req.send_request(options)
6152
+ end
6153
+
6073
6154
  # Changes the current status of a user or agent in Amazon Connect. If
6074
6155
  # the agent is currently handling a contact, this sets the agent's next
6075
6156
  # status.
@@ -6344,6 +6425,13 @@ module Aws::Connect
6344
6425
  # @option params [Types::QueueSearchCriteria] :search_criteria
6345
6426
  # The search criteria to be used to return queues.
6346
6427
  #
6428
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries with
6429
+ # a minimum of 2 characters and a maximum of 25 characters. Any queries
6430
+ # with character lengths outside of this range will throw invalid
6431
+ # results.
6432
+ #
6433
+ # </note>
6434
+ #
6347
6435
  # @return [Types::SearchQueuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6348
6436
  #
6349
6437
  # * {Types::SearchQueuesResponse#queues #queues} => Array&lt;Types::Queue&gt;
@@ -6451,6 +6539,13 @@ module Aws::Connect
6451
6539
  # @option params [Types::RoutingProfileSearchCriteria] :search_criteria
6452
6540
  # The search criteria to be used to return routing profiles.
6453
6541
  #
6542
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries with
6543
+ # a minimum of 2 characters and a maximum of 25 characters. Any queries
6544
+ # with character lengths outside of this range will throw invalid
6545
+ # results.
6546
+ #
6547
+ # </note>
6548
+ #
6454
6549
  # @return [Types::SearchRoutingProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6455
6550
  #
6456
6551
  # * {Types::SearchRoutingProfilesResponse#routing_profiles #routing_profiles} => Array&lt;Types::RoutingProfile&gt;
@@ -6555,6 +6650,12 @@ module Aws::Connect
6555
6650
  # @option params [Types::SecurityProfileSearchCriteria] :search_criteria
6556
6651
  # The search criteria to be used to return security profiles.
6557
6652
  #
6653
+ # <note markdown="1"> The `name` field support "contains" queries with a minimum of 2
6654
+ # characters and maximum of 25 characters. Any queries with character
6655
+ # lengths outside of this range will throw invalid results.
6656
+ #
6657
+ # </note>
6658
+ #
6558
6659
  # <note markdown="1"> The currently supported value for `FieldName`\: `name`
6559
6660
  #
6560
6661
  # </note>
@@ -6663,10 +6764,10 @@ module Aws::Connect
6663
6764
  # @option params [Types::UserSearchCriteria] :search_criteria
6664
6765
  # The search criteria to be used to return users.
6665
6766
  #
6666
- # <note markdown="1"> The `Username`, `Firstname`, and `Lastname` fields support
6667
- # "contains" queries with a minimum of 2 characters and a maximum of
6668
- # 25 characters. Any queries with character lengths outside of this
6669
- # range result in empty results.
6767
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries with
6768
+ # a minimum of 2 characters and a maximum of 25 characters. Any queries
6769
+ # with character lengths outside of this range will throw invalid
6770
+ # results.
6670
6771
  #
6671
6772
  # </note>
6672
6773
  #
@@ -8680,6 +8781,14 @@ module Aws::Connect
8680
8781
  # The identifier of the Amazon Connect instance. You can find the
8681
8782
  # instanceId in the ARN of the instance.
8682
8783
  #
8784
+ # @option params [Hash<String,String>] :allowed_access_control_tags
8785
+ # The list of tags that a security profile uses to restrict access to
8786
+ # resources in Amazon Connect.
8787
+ #
8788
+ # @option params [Array<String>] :tag_restricted_resources
8789
+ # The list of resources that a security profile applies tag restrictions
8790
+ # to in Amazon Connect.
8791
+ #
8683
8792
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8684
8793
  #
8685
8794
  # @example Request syntax with placeholder values
@@ -8689,6 +8798,10 @@ module Aws::Connect
8689
8798
  # permissions: ["SecurityProfilePermission"],
8690
8799
  # security_profile_id: "SecurityProfileId", # required
8691
8800
  # instance_id: "InstanceId", # required
8801
+ # allowed_access_control_tags: {
8802
+ # "SecurityProfilePolicyKey" => "SecurityProfilePolicyValue",
8803
+ # },
8804
+ # tag_restricted_resources: ["TagRestrictedResourceName"],
8692
8805
  # })
8693
8806
  #
8694
8807
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfile AWS API Documentation
@@ -9153,7 +9266,7 @@ module Aws::Connect
9153
9266
  params: params,
9154
9267
  config: config)
9155
9268
  context[:gem_name] = 'aws-sdk-connect'
9156
- context[:gem_version] = '1.83.0'
9269
+ context[:gem_version] = '1.85.0'
9157
9270
  Seahorse::Client::Request.new(handlers, context)
9158
9271
  end
9159
9272
 
@@ -35,6 +35,8 @@ module Aws::Connect
35
35
  AgentStatusTypes = Shapes::ListShape.new(name: 'AgentStatusTypes')
36
36
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
37
37
  AliasArn = Shapes::StringShape.new(name: 'AliasArn')
38
+ AllowedAccessControlTags = Shapes::MapShape.new(name: 'AllowedAccessControlTags')
39
+ AllowedMonitorCapabilities = Shapes::ListShape.new(name: 'AllowedMonitorCapabilities')
38
40
  AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
39
41
  ApproximateTotalCount = Shapes::IntegerShape.new(name: 'ApproximateTotalCount')
40
42
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
@@ -128,6 +130,7 @@ module Aws::Connect
128
130
  CreateQuickConnectResponse = Shapes::StructureShape.new(name: 'CreateQuickConnectResponse')
129
131
  CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
130
132
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
133
+ CreateSecurityProfileName = Shapes::StringShape.new(name: 'CreateSecurityProfileName')
131
134
  CreateSecurityProfileRequest = Shapes::StructureShape.new(name: 'CreateSecurityProfileRequest')
132
135
  CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
133
136
  CreateTaskTemplateRequest = Shapes::StructureShape.new(name: 'CreateTaskTemplateRequest')
@@ -403,6 +406,9 @@ module Aws::Connect
403
406
  MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
404
407
  Message = Shapes::StringShape.new(name: 'Message')
405
408
  MinutesLimit60 = Shapes::IntegerShape.new(name: 'MinutesLimit60')
409
+ MonitorCapability = Shapes::StringShape.new(name: 'MonitorCapability')
410
+ MonitorContactRequest = Shapes::StructureShape.new(name: 'MonitorContactRequest')
411
+ MonitorContactResponse = Shapes::StructureShape.new(name: 'MonitorContactResponse')
406
412
  Name = Shapes::StringShape.new(name: 'Name')
407
413
  Name128 = Shapes::StringShape.new(name: 'Name128')
408
414
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -540,6 +546,8 @@ module Aws::Connect
540
546
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
541
547
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
542
548
  SecurityProfilePermission = Shapes::StringShape.new(name: 'SecurityProfilePermission')
549
+ SecurityProfilePolicyKey = Shapes::StringShape.new(name: 'SecurityProfilePolicyKey')
550
+ SecurityProfilePolicyValue = Shapes::StringShape.new(name: 'SecurityProfilePolicyValue')
543
551
  SecurityProfileSearchConditionList = Shapes::ListShape.new(name: 'SecurityProfileSearchConditionList')
544
552
  SecurityProfileSearchCriteria = Shapes::StructureShape.new(name: 'SecurityProfileSearchCriteria')
545
553
  SecurityProfileSearchSummary = Shapes::StructureShape.new(name: 'SecurityProfileSearchSummary')
@@ -587,6 +595,8 @@ module Aws::Connect
587
595
  TagMap = Shapes::MapShape.new(name: 'TagMap')
588
596
  TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
589
597
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
598
+ TagRestrictedResourceList = Shapes::ListShape.new(name: 'TagRestrictedResourceList')
599
+ TagRestrictedResourceName = Shapes::StringShape.new(name: 'TagRestrictedResourceName')
590
600
  TagValue = Shapes::StringShape.new(name: 'TagValue')
591
601
  TaskTemplateArn = Shapes::StringShape.new(name: 'TaskTemplateArn')
592
602
  TaskTemplateConstraints = Shapes::StructureShape.new(name: 'TaskTemplateConstraints')
@@ -753,6 +763,11 @@ module Aws::Connect
753
763
 
754
764
  AgentStatusTypes.member = Shapes::ShapeRef.new(shape: AgentStatusType)
755
765
 
766
+ AllowedAccessControlTags.key = Shapes::ShapeRef.new(shape: SecurityProfilePolicyKey)
767
+ AllowedAccessControlTags.value = Shapes::ShapeRef.new(shape: SecurityProfilePolicyValue)
768
+
769
+ AllowedMonitorCapabilities.member = Shapes::ShapeRef.new(shape: MonitorCapability)
770
+
756
771
  AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableAnswerMachineDetection"))
757
772
  AnswerMachineDetectionConfig.add_member(:await_answer_machine_prompt, Shapes::ShapeRef.new(shape: Boolean, location_name: "AwaitAnswerMachinePrompt"))
758
773
  AnswerMachineDetectionConfig.struct_class = Types::AnswerMachineDetectionConfig
@@ -1051,11 +1066,13 @@ module Aws::Connect
1051
1066
  CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
1052
1067
  CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
1053
1068
 
1054
- CreateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location_name: "SecurityProfileName"))
1069
+ CreateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: CreateSecurityProfileName, required: true, location_name: "SecurityProfileName"))
1055
1070
  CreateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
1056
1071
  CreateSecurityProfileRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
1057
1072
  CreateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1058
1073
  CreateSecurityProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1074
+ CreateSecurityProfileRequest.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
1075
+ CreateSecurityProfileRequest.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
1059
1076
  CreateSecurityProfileRequest.struct_class = Types::CreateSecurityProfileRequest
1060
1077
 
1061
1078
  CreateSecurityProfileResponse.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "SecurityProfileId"))
@@ -2039,6 +2056,17 @@ module Aws::Connect
2039
2056
  MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
2040
2057
  MediaConcurrency.struct_class = Types::MediaConcurrency
2041
2058
 
2059
+ MonitorContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2060
+ MonitorContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
2061
+ MonitorContactRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: AgentResourceId, required: true, location_name: "UserId"))
2062
+ MonitorContactRequest.add_member(:allowed_monitor_capabilities, Shapes::ShapeRef.new(shape: AllowedMonitorCapabilities, location_name: "AllowedMonitorCapabilities"))
2063
+ MonitorContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2064
+ MonitorContactRequest.struct_class = Types::MonitorContactRequest
2065
+
2066
+ MonitorContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
2067
+ MonitorContactResponse.add_member(:contact_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactArn"))
2068
+ MonitorContactResponse.struct_class = Types::MonitorContactResponse
2069
+
2042
2070
  NumberReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
2043
2071
  NumberReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
2044
2072
  NumberReference.struct_class = Types::NumberReference
@@ -2399,6 +2427,8 @@ module Aws::Connect
2399
2427
  SecurityProfile.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "SecurityProfileName"))
2400
2428
  SecurityProfile.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
2401
2429
  SecurityProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2430
+ SecurityProfile.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
2431
+ SecurityProfile.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
2402
2432
  SecurityProfile.struct_class = Types::SecurityProfile
2403
2433
 
2404
2434
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
@@ -2553,6 +2583,8 @@ module Aws::Connect
2553
2583
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
2554
2584
  TagResourceRequest.struct_class = Types::TagResourceRequest
2555
2585
 
2586
+ TagRestrictedResourceList.member = Shapes::ShapeRef.new(shape: TagRestrictedResourceName)
2587
+
2556
2588
  TaskTemplateConstraints.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredTaskTemplateFields, location_name: "RequiredFields"))
2557
2589
  TaskTemplateConstraints.add_member(:read_only_fields, Shapes::ShapeRef.new(shape: ReadOnlyTaskTemplateFields, location_name: "ReadOnlyFields"))
2558
2590
  TaskTemplateConstraints.add_member(:invisible_fields, Shapes::ShapeRef.new(shape: InvisibleTaskTemplateFields, location_name: "InvisibleFields"))
@@ -2789,6 +2821,8 @@ module Aws::Connect
2789
2821
  UpdateSecurityProfileRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
2790
2822
  UpdateSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
2791
2823
  UpdateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2824
+ UpdateSecurityProfileRequest.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
2825
+ UpdateSecurityProfileRequest.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
2792
2826
  UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
2793
2827
 
2794
2828
  UpdateTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
@@ -4611,6 +4645,21 @@ module Aws::Connect
4611
4645
  )
4612
4646
  end)
4613
4647
 
4648
+ api.add_operation(:monitor_contact, Seahorse::Model::Operation.new.tap do |o|
4649
+ o.name = "MonitorContact"
4650
+ o.http_method = "POST"
4651
+ o.http_request_uri = "/contact/monitor"
4652
+ o.input = Shapes::ShapeRef.new(shape: MonitorContactRequest)
4653
+ o.output = Shapes::ShapeRef.new(shape: MonitorContactResponse)
4654
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4655
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
4656
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4657
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4658
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4659
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4660
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4661
+ end)
4662
+
4614
4663
  api.add_operation(:put_user_status, Seahorse::Model::Operation.new.tap do |o|
4615
4664
  o.name = "PutUserStatus"
4616
4665
  o.http_method = "PUT"
@@ -1495,6 +1495,20 @@ module Aws::Connect
1495
1495
  end
1496
1496
  end
1497
1497
 
1498
+ class MonitorContact
1499
+ def self.build(context)
1500
+ unless context.config.regional_endpoint
1501
+ endpoint = context.config.endpoint.to_s
1502
+ end
1503
+ Aws::Connect::EndpointParameters.new(
1504
+ region: context.config.region,
1505
+ use_dual_stack: context.config.use_dualstack_endpoint,
1506
+ use_fips: context.config.use_fips_endpoint,
1507
+ endpoint: endpoint,
1508
+ )
1509
+ end
1510
+ end
1511
+
1498
1512
  class PutUserStatus
1499
1513
  def self.build(context)
1500
1514
  unless context.config.regional_endpoint
@@ -268,6 +268,8 @@ module Aws::Connect
268
268
  Aws::Connect::Endpoints::ListUserHierarchyGroups.build(context)
269
269
  when :list_users
270
270
  Aws::Connect::Endpoints::ListUsers.build(context)
271
+ when :monitor_contact
272
+ Aws::Connect::Endpoints::MonitorContact.build(context)
271
273
  when :put_user_status
272
274
  Aws::Connect::Endpoints::PutUserStatus.build(context)
273
275
  when :release_phone_number
@@ -1196,6 +1196,7 @@ module Aws::Connect
1196
1196
  end
1197
1197
 
1198
1198
  # The contact with the specified ID is not active or does not exist.
1199
+ # Applies to Voice calls only, not to Chat, Task, or Voice Callback.
1199
1200
  #
1200
1201
  # @!attribute [rw] message
1201
1202
  # The message.
@@ -1994,13 +1995,17 @@ module Aws::Connect
1994
1995
  # data as a hash:
1995
1996
  #
1996
1997
  # {
1997
- # security_profile_name: "SecurityProfileName", # required
1998
+ # security_profile_name: "CreateSecurityProfileName", # required
1998
1999
  # description: "SecurityProfileDescription",
1999
2000
  # permissions: ["SecurityProfilePermission"],
2000
2001
  # instance_id: "InstanceId", # required
2001
2002
  # tags: {
2002
2003
  # "TagKey" => "TagValue",
2003
2004
  # },
2005
+ # allowed_access_control_tags: {
2006
+ # "SecurityProfilePolicyKey" => "SecurityProfilePolicyValue",
2007
+ # },
2008
+ # tag_restricted_resources: ["TagRestrictedResourceName"],
2004
2009
  # }
2005
2010
  #
2006
2011
  # @!attribute [rw] security_profile_name
@@ -2031,6 +2036,16 @@ module Aws::Connect
2031
2036
  # "key2":"value2"\\} \\}.
2032
2037
  # @return [Hash<String,String>]
2033
2038
  #
2039
+ # @!attribute [rw] allowed_access_control_tags
2040
+ # The list of tags that a security profile uses to restrict access to
2041
+ # resources in Amazon Connect.
2042
+ # @return [Hash<String,String>]
2043
+ #
2044
+ # @!attribute [rw] tag_restricted_resources
2045
+ # The list of resources that a security profile applies tag
2046
+ # restrictions to in Amazon Connect.
2047
+ # @return [Array<String>]
2048
+ #
2034
2049
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateSecurityProfileRequest AWS API Documentation
2035
2050
  #
2036
2051
  class CreateSecurityProfileRequest < Struct.new(
@@ -2038,7 +2053,9 @@ module Aws::Connect
2038
2053
  :description,
2039
2054
  :permissions,
2040
2055
  :instance_id,
2041
- :tags)
2056
+ :tags,
2057
+ :allowed_access_control_tags,
2058
+ :tag_restricted_resources)
2042
2059
  SENSITIVE = []
2043
2060
  include Aws::Structure
2044
2061
  end
@@ -4368,12 +4385,16 @@ module Aws::Connect
4368
4385
  # @!attribute [rw] groupings
4369
4386
  # The grouping applied to the metrics returned. For example, when
4370
4387
  # grouped by `QUEUE`, the metrics returned apply to each queue rather
4371
- # than aggregated for all queues. If you group by `CHANNEL`, you
4372
- # should include a Channels filter. VOICE, CHAT, and TASK channels are
4373
- # supported.
4388
+ # than aggregated for all queues.
4374
4389
  #
4375
- # If no `Grouping` is included in the request, a summary of metrics is
4376
- # returned.
4390
+ # * If you group by `CHANNEL`, you should include a Channels filter.
4391
+ # VOICE, CHAT, and TASK channels are supported.
4392
+ #
4393
+ # * If you group by `ROUTING_PROFILE`, you must include either a queue
4394
+ # or routing profile filter.
4395
+ #
4396
+ # * If no `Grouping` is included in the request, a summary of metrics
4397
+ # is returned.
4377
4398
  # @return [Array<String>]
4378
4399
  #
4379
4400
  # @!attribute [rw] current_metrics
@@ -8006,6 +8027,79 @@ module Aws::Connect
8006
8027
  include Aws::Structure
8007
8028
  end
8008
8029
 
8030
+ # @note When making an API call, you may pass MonitorContactRequest
8031
+ # data as a hash:
8032
+ #
8033
+ # {
8034
+ # instance_id: "InstanceId", # required
8035
+ # contact_id: "ContactId", # required
8036
+ # user_id: "AgentResourceId", # required
8037
+ # allowed_monitor_capabilities: ["SILENT_MONITOR"], # accepts SILENT_MONITOR, BARGE
8038
+ # client_token: "ClientToken",
8039
+ # }
8040
+ #
8041
+ # @!attribute [rw] instance_id
8042
+ # The identifier of the Amazon Connect instance. You can find the
8043
+ # instanceId in the ARN of the instance.
8044
+ # @return [String]
8045
+ #
8046
+ # @!attribute [rw] contact_id
8047
+ # The identifier of the contact.
8048
+ # @return [String]
8049
+ #
8050
+ # @!attribute [rw] user_id
8051
+ # The identifier of the user account.
8052
+ # @return [String]
8053
+ #
8054
+ # @!attribute [rw] allowed_monitor_capabilities
8055
+ # Specify which monitoring actions the user is allowed to take. For
8056
+ # example, whether the user is allowed to escalate from silent
8057
+ # monitoring to barge.
8058
+ # @return [Array<String>]
8059
+ #
8060
+ # @!attribute [rw] client_token
8061
+ # A unique, case-sensitive identifier that you provide to ensure the
8062
+ # idempotency of the request. If not provided, the Amazon Web Services
8063
+ # SDK populates this field. For more information about idempotency,
8064
+ # see [Making retries safe with idempotent APIs][1].
8065
+ #
8066
+ # **A suitable default value is auto-generated.** You should normally
8067
+ # not need to pass this option.
8068
+ #
8069
+ #
8070
+ #
8071
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
8072
+ # @return [String]
8073
+ #
8074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MonitorContactRequest AWS API Documentation
8075
+ #
8076
+ class MonitorContactRequest < Struct.new(
8077
+ :instance_id,
8078
+ :contact_id,
8079
+ :user_id,
8080
+ :allowed_monitor_capabilities,
8081
+ :client_token)
8082
+ SENSITIVE = []
8083
+ include Aws::Structure
8084
+ end
8085
+
8086
+ # @!attribute [rw] contact_id
8087
+ # The identifier of the contact.
8088
+ # @return [String]
8089
+ #
8090
+ # @!attribute [rw] contact_arn
8091
+ # The ARN of the contact.
8092
+ # @return [String]
8093
+ #
8094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MonitorContactResponse AWS API Documentation
8095
+ #
8096
+ class MonitorContactResponse < Struct.new(
8097
+ :contact_id,
8098
+ :contact_arn)
8099
+ SENSITIVE = []
8100
+ include Aws::Structure
8101
+ end
8102
+
8009
8103
  # Information about a reference when the `referenceType` is `NUMBER`.
8010
8104
  # Otherwise, null.
8011
8105
  #
@@ -8434,6 +8528,13 @@ module Aws::Connect
8434
8528
 
8435
8529
  # The search criteria to be used to return queues.
8436
8530
  #
8531
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries with
8532
+ # a minimum of 2 characters and a maximum of 25 characters. Any queries
8533
+ # with character lengths outside of this range will throw invalid
8534
+ # results.
8535
+ #
8536
+ # </note>
8537
+ #
8437
8538
  # @note When making an API call, you may pass QueueSearchCriteria
8438
8539
  # data as a hash:
8439
8540
  #
@@ -9268,6 +9369,13 @@ module Aws::Connect
9268
9369
 
9269
9370
  # The search criteria to be used to return routing profiles.
9270
9371
  #
9372
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries with
9373
+ # a minimum of 2 characters and a maximum of 25 characters. Any queries
9374
+ # with character lengths outside of this range will throw invalid
9375
+ # results.
9376
+ #
9377
+ # </note>
9378
+ #
9271
9379
  # @note When making an API call, you may pass RoutingProfileSearchCriteria
9272
9380
  # data as a hash:
9273
9381
  #
@@ -9589,6 +9697,13 @@ module Aws::Connect
9589
9697
  #
9590
9698
  # @!attribute [rw] search_criteria
9591
9699
  # The search criteria to be used to return queues.
9700
+ #
9701
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries
9702
+ # with a minimum of 2 characters and a maximum of 25 characters. Any
9703
+ # queries with character lengths outside of this range will throw
9704
+ # invalid results.
9705
+ #
9706
+ # </note>
9592
9707
  # @return [Types::QueueSearchCriteria]
9593
9708
  #
9594
9709
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchQueuesRequest AWS API Documentation
@@ -9695,6 +9810,13 @@ module Aws::Connect
9695
9810
  #
9696
9811
  # @!attribute [rw] search_criteria
9697
9812
  # The search criteria to be used to return routing profiles.
9813
+ #
9814
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries
9815
+ # with a minimum of 2 characters and a maximum of 25 characters. Any
9816
+ # queries with character lengths outside of this range will throw
9817
+ # invalid results.
9818
+ #
9819
+ # </note>
9698
9820
  # @return [Types::RoutingProfileSearchCriteria]
9699
9821
  #
9700
9822
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchRoutingProfilesRequest AWS API Documentation
@@ -9799,6 +9921,12 @@ module Aws::Connect
9799
9921
  # @!attribute [rw] search_criteria
9800
9922
  # The search criteria to be used to return security profiles.
9801
9923
  #
9924
+ # <note markdown="1"> The `name` field support "contains" queries with a minimum of 2
9925
+ # characters and maximum of 25 characters. Any queries with character
9926
+ # lengths outside of this range will throw invalid results.
9927
+ #
9928
+ # </note>
9929
+ #
9802
9930
  # <note markdown="1"> The currently supported value for `FieldName`\: `name`
9803
9931
  #
9804
9932
  # </note>
@@ -9918,10 +10046,10 @@ module Aws::Connect
9918
10046
  # @!attribute [rw] search_criteria
9919
10047
  # The search criteria to be used to return users.
9920
10048
  #
9921
- # <note markdown="1"> The `Username`, `Firstname`, and `Lastname` fields support
9922
- # "contains" queries with a minimum of 2 characters and a maximum of
9923
- # 25 characters. Any queries with character lengths outside of this
9924
- # range result in empty results.
10049
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries
10050
+ # with a minimum of 2 characters and a maximum of 25 characters. Any
10051
+ # queries with character lengths outside of this range will throw
10052
+ # invalid results.
9925
10053
  #
9926
10054
  # </note>
9927
10055
  # @return [Types::UserSearchCriteria]
@@ -10090,6 +10218,16 @@ module Aws::Connect
10090
10218
  # "key2":"value2"\\} \\}.
10091
10219
  # @return [Hash<String,String>]
10092
10220
  #
10221
+ # @!attribute [rw] allowed_access_control_tags
10222
+ # The list of tags that a security profile uses to restrict access to
10223
+ # resources in Amazon Connect.
10224
+ # @return [Hash<String,String>]
10225
+ #
10226
+ # @!attribute [rw] tag_restricted_resources
10227
+ # The list of resources that a security profile applies tag
10228
+ # restrictions to in Amazon Connect.
10229
+ # @return [Array<String>]
10230
+ #
10093
10231
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SecurityProfile AWS API Documentation
10094
10232
  #
10095
10233
  class SecurityProfile < Struct.new(
@@ -10098,13 +10236,21 @@ module Aws::Connect
10098
10236
  :arn,
10099
10237
  :security_profile_name,
10100
10238
  :description,
10101
- :tags)
10239
+ :tags,
10240
+ :allowed_access_control_tags,
10241
+ :tag_restricted_resources)
10102
10242
  SENSITIVE = []
10103
10243
  include Aws::Structure
10104
10244
  end
10105
10245
 
10106
10246
  # The search criteria to be used to return security profiles.
10107
10247
  #
10248
+ # <note markdown="1"> The `name` field support "contains" queries with a minimum of 2
10249
+ # characters and maximum of 25 characters. Any queries with character
10250
+ # lengths outside of this range will throw invalid results.
10251
+ #
10252
+ # </note>
10253
+ #
10108
10254
  # @note When making an API call, you may pass SecurityProfileSearchCriteria
10109
10255
  # data as a hash:
10110
10256
  #
@@ -12603,6 +12749,10 @@ module Aws::Connect
12603
12749
  # permissions: ["SecurityProfilePermission"],
12604
12750
  # security_profile_id: "SecurityProfileId", # required
12605
12751
  # instance_id: "InstanceId", # required
12752
+ # allowed_access_control_tags: {
12753
+ # "SecurityProfilePolicyKey" => "SecurityProfilePolicyValue",
12754
+ # },
12755
+ # tag_restricted_resources: ["TagRestrictedResourceName"],
12606
12756
  # }
12607
12757
  #
12608
12758
  # @!attribute [rw] description
@@ -12627,13 +12777,25 @@ module Aws::Connect
12627
12777
  # instanceId in the ARN of the instance.
12628
12778
  # @return [String]
12629
12779
  #
12780
+ # @!attribute [rw] allowed_access_control_tags
12781
+ # The list of tags that a security profile uses to restrict access to
12782
+ # resources in Amazon Connect.
12783
+ # @return [Hash<String,String>]
12784
+ #
12785
+ # @!attribute [rw] tag_restricted_resources
12786
+ # The list of resources that a security profile applies tag
12787
+ # restrictions to in Amazon Connect.
12788
+ # @return [Array<String>]
12789
+ #
12630
12790
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfileRequest AWS API Documentation
12631
12791
  #
12632
12792
  class UpdateSecurityProfileRequest < Struct.new(
12633
12793
  :description,
12634
12794
  :permissions,
12635
12795
  :security_profile_id,
12636
- :instance_id)
12796
+ :instance_id,
12797
+ :allowed_access_control_tags,
12798
+ :tag_restricted_resources)
12637
12799
  SENSITIVE = []
12638
12800
  include Aws::Structure
12639
12801
  end
@@ -13489,10 +13651,10 @@ module Aws::Connect
13489
13651
 
13490
13652
  # The search criteria to be used to return users.
13491
13653
  #
13492
- # <note markdown="1"> The `Username`, `Firstname`, and `Lastname` fields support
13493
- # "contains" queries with a minimum of 2 characters and a maximum of
13494
- # 25 characters. Any queries with character lengths outside of this
13495
- # range result in empty results.
13654
+ # <note markdown="1"> The `name` and `description` fields support "contains" queries with
13655
+ # a minimum of 2 characters and a maximum of 25 characters. Any queries
13656
+ # with character lengths outside of this range will throw invalid
13657
+ # results.
13496
13658
  #
13497
13659
  # </note>
13498
13660
  #
@@ -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.83.0'
55
+ GEM_VERSION = '1.85.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.83.0
4
+ version: 1.85.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: 2022-11-15 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core