aws-sdk-connect 1.151.0 → 1.152.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: 546e21005891e0c3507c95afd442672dc42dd190ad69881c7e43caa82beaa65f
4
- data.tar.gz: a7a35ced62ef4463f5fa4e25f0be48674f1dd08f30a79ec4f23d69709129679b
3
+ metadata.gz: abd228cee6c7319ff041368b4282c9167b30848aaefdef9872529b9d156089cc
4
+ data.tar.gz: 6cd2f4d9dab5a3d2f4e6976d39bf148a3fb16041c48932ef04e374ffa2409f32
5
5
  SHA512:
6
- metadata.gz: ccde0001db3bab46c6f9f06aa2d359de944c486126c4213de488c5a27bbf9ca11c70af9e43b30120cbdd4cebc05bfa4edef7745752568bb4f1aebe56df146e26
7
- data.tar.gz: 28e5891b26311acdfdfcceca3e7d1c0c98885eccfde2e9043d77520b6f95565371d4f500a7709a9c58ced077cd1543e3bfc77d2c551df4134576182f90816397
6
+ metadata.gz: 12bbf8181b6cd1e147376b5d439783c7c689be4ad3fbd6b5864fbd8503a3efe6c97349be0fb7296b46db0a228530c653f5cf124a352773f8a12dbe29df09058b
7
+ data.tar.gz: 8fd9069cea621907b83e2935f01ff699f4cbee57b1196f31cf130ca9df621fe8f3dc9a141ed5b1c4424c57e8444d5ab428264f4fe9c63037d76e2de068494b19
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.152.0 (2024-03-15)
5
+ ------------------
6
+
7
+ * Feature - This release adds Hierarchy based Access Control fields to Security Profile public APIs and adds support for UserAttributeFilter to SearchUsers API.
8
+
4
9
  1.151.0 (2024-03-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.151.0
1
+ 1.152.0
@@ -2726,6 +2726,15 @@ module Aws::Connect
2726
2726
  # A list of third-party applications that the security profile will give
2727
2727
  # access to.
2728
2728
  #
2729
+ # @option params [Array<String>] :hierarchy_restricted_resources
2730
+ # The list of resources that a security profile applies hierarchy
2731
+ # restrictions to in Amazon Connect. Following are acceptable
2732
+ # ResourceNames: `User`.
2733
+ #
2734
+ # @option params [String] :allowed_access_control_hierarchy_group_id
2735
+ # The identifier of the hierarchy group that a security profile uses to
2736
+ # restrict access to resources in Amazon Connect.
2737
+ #
2729
2738
  # @return [Types::CreateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2730
2739
  #
2731
2740
  # * {Types::CreateSecurityProfileResponse#security_profile_id #security_profile_id} => String
@@ -2751,6 +2760,8 @@ module Aws::Connect
2751
2760
  # application_permissions: ["Permission"],
2752
2761
  # },
2753
2762
  # ],
2763
+ # hierarchy_restricted_resources: ["HierarchyRestrictedResourceName"],
2764
+ # allowed_access_control_hierarchy_group_id: "HierarchyGroupId",
2754
2765
  # })
2755
2766
  #
2756
2767
  # @example Response structure
@@ -5261,6 +5272,9 @@ module Aws::Connect
5261
5272
  # resp.security_profile.tag_restricted_resources[0] #=> String
5262
5273
  # resp.security_profile.last_modified_time #=> Time
5263
5274
  # resp.security_profile.last_modified_region #=> String
5275
+ # resp.security_profile.hierarchy_restricted_resources #=> Array
5276
+ # resp.security_profile.hierarchy_restricted_resources[0] #=> String
5277
+ # resp.security_profile.allowed_access_control_hierarchy_group_id #=> String
5264
5278
  #
5265
5279
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeSecurityProfile AWS API Documentation
5266
5280
  #
@@ -12484,6 +12498,42 @@ module Aws::Connect
12484
12498
  # tag_value: "String",
12485
12499
  # },
12486
12500
  # },
12501
+ # user_attribute_filter: {
12502
+ # or_conditions: [
12503
+ # {
12504
+ # tag_conditions: [
12505
+ # {
12506
+ # tag_key: "String",
12507
+ # tag_value: "String",
12508
+ # },
12509
+ # ],
12510
+ # hierarchy_group_condition: {
12511
+ # value: "String",
12512
+ # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
12513
+ # },
12514
+ # },
12515
+ # ],
12516
+ # and_condition: {
12517
+ # tag_conditions: [
12518
+ # {
12519
+ # tag_key: "String",
12520
+ # tag_value: "String",
12521
+ # },
12522
+ # ],
12523
+ # hierarchy_group_condition: {
12524
+ # value: "String",
12525
+ # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
12526
+ # },
12527
+ # },
12528
+ # tag_condition: {
12529
+ # tag_key: "String",
12530
+ # tag_value: "String",
12531
+ # },
12532
+ # hierarchy_group_condition: {
12533
+ # value: "String",
12534
+ # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
12535
+ # },
12536
+ # },
12487
12537
  # },
12488
12538
  # search_criteria: {
12489
12539
  # or_conditions: [
@@ -15905,6 +15955,15 @@ module Aws::Connect
15905
15955
  #
15906
15956
  # A list of the third-party application's metadata.
15907
15957
  #
15958
+ # @option params [Array<String>] :hierarchy_restricted_resources
15959
+ # The list of resources that a security profile applies hierarchy
15960
+ # restrictions to in Amazon Connect. Following are acceptable
15961
+ # ResourceNames: `User`.
15962
+ #
15963
+ # @option params [String] :allowed_access_control_hierarchy_group_id
15964
+ # The identifier of the hierarchy group that a security profile uses to
15965
+ # restrict access to resources in Amazon Connect.
15966
+ #
15908
15967
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
15909
15968
  #
15910
15969
  # @example Request syntax with placeholder values
@@ -15924,6 +15983,8 @@ module Aws::Connect
15924
15983
  # application_permissions: ["Permission"],
15925
15984
  # },
15926
15985
  # ],
15986
+ # hierarchy_restricted_resources: ["HierarchyRestrictedResourceName"],
15987
+ # allowed_access_control_hierarchy_group_id: "HierarchyGroupId",
15927
15988
  # })
15928
15989
  #
15929
15990
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfile AWS API Documentation
@@ -16600,7 +16661,7 @@ module Aws::Connect
16600
16661
  params: params,
16601
16662
  config: config)
16602
16663
  context[:gem_name] = 'aws-sdk-connect'
16603
- context[:gem_version] = '1.151.0'
16664
+ context[:gem_version] = '1.152.0'
16604
16665
  Seahorse::Client::Request.new(handlers, context)
16605
16666
  end
16606
16667
 
@@ -86,7 +86,9 @@ module Aws::Connect
86
86
  Attendee = Shapes::StructureShape.new(name: 'Attendee')
87
87
  AttendeeId = Shapes::StringShape.new(name: 'AttendeeId')
88
88
  Attribute = Shapes::StructureShape.new(name: 'Attribute')
89
+ AttributeAndCondition = Shapes::StructureShape.new(name: 'AttributeAndCondition')
89
90
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
91
+ AttributeOrConditionList = Shapes::ListShape.new(name: 'AttributeOrConditionList')
90
92
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
91
93
  Attributes = Shapes::MapShape.new(name: 'Attributes')
92
94
  AttributesList = Shapes::ListShape.new(name: 'AttributesList')
@@ -174,6 +176,7 @@ module Aws::Connect
174
176
  Content = Shapes::StringShape.new(name: 'Content')
175
177
  ContentType = Shapes::StringShape.new(name: 'ContentType')
176
178
  ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
179
+ ControlPlaneUserAttributeFilter = Shapes::StructureShape.new(name: 'ControlPlaneUserAttributeFilter')
177
180
  CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
178
181
  CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
179
182
  CreateCaseActionDefinition = Shapes::StructureShape.new(name: 'CreateCaseActionDefinition')
@@ -479,6 +482,8 @@ module Aws::Connect
479
482
  HierarchyLevelUpdate = Shapes::StructureShape.new(name: 'HierarchyLevelUpdate')
480
483
  HierarchyPath = Shapes::StructureShape.new(name: 'HierarchyPath')
481
484
  HierarchyPathReference = Shapes::StructureShape.new(name: 'HierarchyPathReference')
485
+ HierarchyRestrictedResourceList = Shapes::ListShape.new(name: 'HierarchyRestrictedResourceList')
486
+ HierarchyRestrictedResourceName = Shapes::StringShape.new(name: 'HierarchyRestrictedResourceName')
482
487
  HierarchyStructure = Shapes::StructureShape.new(name: 'HierarchyStructure')
483
488
  HierarchyStructureUpdate = Shapes::StructureShape.new(name: 'HierarchyStructureUpdate')
484
489
  HistoricalMetric = Shapes::StructureShape.new(name: 'HistoricalMetric')
@@ -1436,6 +1441,12 @@ module Aws::Connect
1436
1441
  Attribute.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, location_name: "Value"))
1437
1442
  Attribute.struct_class = Types::Attribute
1438
1443
 
1444
+ AttributeAndCondition.add_member(:tag_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "TagConditions"))
1445
+ AttributeAndCondition.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition"))
1446
+ AttributeAndCondition.struct_class = Types::AttributeAndCondition
1447
+
1448
+ AttributeOrConditionList.member = Shapes::ShapeRef.new(shape: AttributeAndCondition)
1449
+
1439
1450
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
1440
1451
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
1441
1452
 
@@ -1667,6 +1678,12 @@ module Aws::Connect
1667
1678
  ControlPlaneTagFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
1668
1679
  ControlPlaneTagFilter.struct_class = Types::ControlPlaneTagFilter
1669
1680
 
1681
+ ControlPlaneUserAttributeFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: AttributeOrConditionList, location_name: "OrConditions"))
1682
+ ControlPlaneUserAttributeFilter.add_member(:and_condition, Shapes::ShapeRef.new(shape: AttributeAndCondition, location_name: "AndCondition"))
1683
+ ControlPlaneUserAttributeFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
1684
+ ControlPlaneUserAttributeFilter.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition"))
1685
+ ControlPlaneUserAttributeFilter.struct_class = Types::ControlPlaneUserAttributeFilter
1686
+
1670
1687
  CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1671
1688
  CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name"))
1672
1689
  CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
@@ -1853,6 +1870,8 @@ module Aws::Connect
1853
1870
  CreateSecurityProfileRequest.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
1854
1871
  CreateSecurityProfileRequest.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
1855
1872
  CreateSecurityProfileRequest.add_member(:applications, Shapes::ShapeRef.new(shape: Applications, location_name: "Applications"))
1873
+ CreateSecurityProfileRequest.add_member(:hierarchy_restricted_resources, Shapes::ShapeRef.new(shape: HierarchyRestrictedResourceList, location_name: "HierarchyRestrictedResources"))
1874
+ CreateSecurityProfileRequest.add_member(:allowed_access_control_hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "AllowedAccessControlHierarchyGroupId"))
1856
1875
  CreateSecurityProfileRequest.struct_class = Types::CreateSecurityProfileRequest
1857
1876
 
1858
1877
  CreateSecurityProfileResponse.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "SecurityProfileId"))
@@ -2829,6 +2848,8 @@ module Aws::Connect
2829
2848
  HierarchyPathReference.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyGroupSummaryReference, location_name: "LevelFive"))
2830
2849
  HierarchyPathReference.struct_class = Types::HierarchyPathReference
2831
2850
 
2851
+ HierarchyRestrictedResourceList.member = Shapes::ShapeRef.new(shape: HierarchyRestrictedResourceName)
2852
+
2832
2853
  HierarchyStructure.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelOne"))
2833
2854
  HierarchyStructure.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelTwo"))
2834
2855
  HierarchyStructure.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelThree"))
@@ -4309,6 +4330,8 @@ module Aws::Connect
4309
4330
  SecurityProfile.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
4310
4331
  SecurityProfile.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
4311
4332
  SecurityProfile.add_member(:last_modified_region, Shapes::ShapeRef.new(shape: RegionName, location_name: "LastModifiedRegion"))
4333
+ SecurityProfile.add_member(:hierarchy_restricted_resources, Shapes::ShapeRef.new(shape: HierarchyRestrictedResourceList, location_name: "HierarchyRestrictedResources"))
4334
+ SecurityProfile.add_member(:allowed_access_control_hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "AllowedAccessControlHierarchyGroupId"))
4312
4335
  SecurityProfile.struct_class = Types::SecurityProfile
4313
4336
 
4314
4337
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
@@ -4951,6 +4974,8 @@ module Aws::Connect
4951
4974
  UpdateSecurityProfileRequest.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
4952
4975
  UpdateSecurityProfileRequest.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
4953
4976
  UpdateSecurityProfileRequest.add_member(:applications, Shapes::ShapeRef.new(shape: Applications, location_name: "Applications"))
4977
+ UpdateSecurityProfileRequest.add_member(:hierarchy_restricted_resources, Shapes::ShapeRef.new(shape: HierarchyRestrictedResourceList, location_name: "HierarchyRestrictedResources"))
4978
+ UpdateSecurityProfileRequest.add_member(:allowed_access_control_hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "AllowedAccessControlHierarchyGroupId"))
4954
4979
  UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
4955
4980
 
4956
4981
  UpdateTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
@@ -5141,6 +5166,7 @@ module Aws::Connect
5141
5166
  UserSearchCriteria.struct_class = Types::UserSearchCriteria
5142
5167
 
5143
5168
  UserSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter"))
5169
+ UserSearchFilter.add_member(:user_attribute_filter, Shapes::ShapeRef.new(shape: ControlPlaneUserAttributeFilter, location_name: "UserAttributeFilter"))
5144
5170
  UserSearchFilter.struct_class = Types::UserSearchFilter
5145
5171
 
5146
5172
  UserSearchSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
@@ -965,6 +965,27 @@ module Aws::Connect
965
965
  include Aws::Structure
966
966
  end
967
967
 
968
+ # A list of conditions which would be applied together with an `AND`
969
+ # condition.
970
+ #
971
+ # @!attribute [rw] tag_conditions
972
+ # A leaf node condition which can be used to specify a tag condition.
973
+ # @return [Array<Types::TagCondition>]
974
+ #
975
+ # @!attribute [rw] hierarchy_group_condition
976
+ # A leaf node condition which can be used to specify a hierarchy group
977
+ # condition.
978
+ # @return [Types::HierarchyGroupCondition]
979
+ #
980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AttributeAndCondition AWS API Documentation
981
+ #
982
+ class AttributeAndCondition < Struct.new(
983
+ :tag_conditions,
984
+ :hierarchy_group_condition)
985
+ SENSITIVE = []
986
+ include Aws::Structure
987
+ end
988
+
968
989
  # Has audio-specific configurations as the operating parameter for Echo
969
990
  # Reduction.
970
991
  #
@@ -2148,6 +2169,54 @@ module Aws::Connect
2148
2169
  include Aws::Structure
2149
2170
  end
2150
2171
 
2172
+ # An object that can be used to specify Tag conditions or Hierarchy
2173
+ # Group conditions inside the `SearchFilter`.
2174
+ #
2175
+ # This accepts an `OR` of `AND` (List of List) input where:
2176
+ #
2177
+ # * The top level list specifies conditions that need to be applied with
2178
+ # `OR` operator
2179
+ #
2180
+ # * The inner list specifies conditions that need to be applied with
2181
+ # `AND` operator.
2182
+ #
2183
+ # <note markdown="1"> Only one field can be populated. Maximum number of allowed Tag
2184
+ # conditions is 25. Maximum number of allowed Hierarchy Group conditions
2185
+ # is 20.
2186
+ #
2187
+ # </note>
2188
+ #
2189
+ # @!attribute [rw] or_conditions
2190
+ # A list of conditions which would be applied together with an `OR`
2191
+ # condition.
2192
+ # @return [Array<Types::AttributeAndCondition>]
2193
+ #
2194
+ # @!attribute [rw] and_condition
2195
+ # A list of conditions which would be applied together with an `AND`
2196
+ # condition.
2197
+ # @return [Types::AttributeAndCondition]
2198
+ #
2199
+ # @!attribute [rw] tag_condition
2200
+ # A leaf node condition which can be used to specify a tag condition,
2201
+ # for example, `HAVE BPO = 123`.
2202
+ # @return [Types::TagCondition]
2203
+ #
2204
+ # @!attribute [rw] hierarchy_group_condition
2205
+ # A leaf node condition which can be used to specify a hierarchy group
2206
+ # condition.
2207
+ # @return [Types::HierarchyGroupCondition]
2208
+ #
2209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ControlPlaneUserAttributeFilter AWS API Documentation
2210
+ #
2211
+ class ControlPlaneUserAttributeFilter < Struct.new(
2212
+ :or_conditions,
2213
+ :and_condition,
2214
+ :tag_condition,
2215
+ :hierarchy_group_condition)
2216
+ SENSITIVE = []
2217
+ include Aws::Structure
2218
+ end
2219
+
2151
2220
  # @!attribute [rw] instance_id
2152
2221
  # The identifier of the Amazon Connect instance. You can [find the
2153
2222
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -3256,6 +3325,17 @@ module Aws::Connect
3256
3325
  # give access to.
3257
3326
  # @return [Array<Types::Application>]
3258
3327
  #
3328
+ # @!attribute [rw] hierarchy_restricted_resources
3329
+ # The list of resources that a security profile applies hierarchy
3330
+ # restrictions to in Amazon Connect. Following are acceptable
3331
+ # ResourceNames: `User`.
3332
+ # @return [Array<String>]
3333
+ #
3334
+ # @!attribute [rw] allowed_access_control_hierarchy_group_id
3335
+ # The identifier of the hierarchy group that a security profile uses
3336
+ # to restrict access to resources in Amazon Connect.
3337
+ # @return [String]
3338
+ #
3259
3339
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateSecurityProfileRequest AWS API Documentation
3260
3340
  #
3261
3341
  class CreateSecurityProfileRequest < Struct.new(
@@ -3266,7 +3346,9 @@ module Aws::Connect
3266
3346
  :tags,
3267
3347
  :allowed_access_control_tags,
3268
3348
  :tag_restricted_resources,
3269
- :applications)
3349
+ :applications,
3350
+ :hierarchy_restricted_resources,
3351
+ :allowed_access_control_hierarchy_group_id)
3270
3352
  SENSITIVE = []
3271
3353
  include Aws::Structure
3272
3354
  end
@@ -16516,6 +16598,17 @@ module Aws::Connect
16516
16598
  # modified.
16517
16599
  # @return [String]
16518
16600
  #
16601
+ # @!attribute [rw] hierarchy_restricted_resources
16602
+ # The list of resources that a security profile applies hierarchy
16603
+ # restrictions to in Amazon Connect. Following are acceptable
16604
+ # ResourceNames: `User`.
16605
+ # @return [Array<String>]
16606
+ #
16607
+ # @!attribute [rw] allowed_access_control_hierarchy_group_id
16608
+ # The identifier of the hierarchy group that a security profile uses
16609
+ # to restrict access to resources in Amazon Connect.
16610
+ # @return [String]
16611
+ #
16519
16612
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SecurityProfile AWS API Documentation
16520
16613
  #
16521
16614
  class SecurityProfile < Struct.new(
@@ -16528,7 +16621,9 @@ module Aws::Connect
16528
16621
  :allowed_access_control_tags,
16529
16622
  :tag_restricted_resources,
16530
16623
  :last_modified_time,
16531
- :last_modified_region)
16624
+ :last_modified_region,
16625
+ :hierarchy_restricted_resources,
16626
+ :allowed_access_control_hierarchy_group_id)
16532
16627
  SENSITIVE = []
16533
16628
  include Aws::Structure
16534
16629
  end
@@ -19929,6 +20024,17 @@ module Aws::Connect
19929
20024
  # A list of the third-party application's metadata.
19930
20025
  # @return [Array<Types::Application>]
19931
20026
  #
20027
+ # @!attribute [rw] hierarchy_restricted_resources
20028
+ # The list of resources that a security profile applies hierarchy
20029
+ # restrictions to in Amazon Connect. Following are acceptable
20030
+ # ResourceNames: `User`.
20031
+ # @return [Array<String>]
20032
+ #
20033
+ # @!attribute [rw] allowed_access_control_hierarchy_group_id
20034
+ # The identifier of the hierarchy group that a security profile uses
20035
+ # to restrict access to resources in Amazon Connect.
20036
+ # @return [String]
20037
+ #
19932
20038
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfileRequest AWS API Documentation
19933
20039
  #
19934
20040
  class UpdateSecurityProfileRequest < Struct.new(
@@ -19938,7 +20044,9 @@ module Aws::Connect
19938
20044
  :instance_id,
19939
20045
  :allowed_access_control_tags,
19940
20046
  :tag_restricted_resources,
19941
- :applications)
20047
+ :applications,
20048
+ :hierarchy_restricted_resources,
20049
+ :allowed_access_control_hierarchy_group_id)
19942
20050
  SENSITIVE = []
19943
20051
  include Aws::Structure
19944
20052
  end
@@ -20890,10 +20998,32 @@ module Aws::Connect
20890
20998
  # operator.
20891
20999
  # @return [Types::ControlPlaneTagFilter]
20892
21000
  #
21001
+ # @!attribute [rw] user_attribute_filter
21002
+ # An object that can be used to specify Tag conditions or Hierarchy
21003
+ # Group conditions inside the SearchFilter.
21004
+ #
21005
+ # This accepts an `OR` of `AND` (List of List) input where:
21006
+ #
21007
+ # * The top level list specifies conditions that need to be applied
21008
+ # with `OR` operator.
21009
+ #
21010
+ # * The inner list specifies conditions that need to be applied with
21011
+ # `AND` operator.
21012
+ #
21013
+ # <note markdown="1"> Only one field can be populated. This object can’t be used along
21014
+ # with TagFilter. Request can either contain TagFilter or
21015
+ # UserAttributeFilter if SearchFilter is specified, combination of
21016
+ # both is not supported and such request will throw
21017
+ # AccessDeniedException.
21018
+ #
21019
+ # </note>
21020
+ # @return [Types::ControlPlaneUserAttributeFilter]
21021
+ #
20893
21022
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchFilter AWS API Documentation
20894
21023
  #
20895
21024
  class UserSearchFilter < Struct.new(
20896
- :tag_filter)
21025
+ :tag_filter,
21026
+ :user_attribute_filter)
20897
21027
  SENSITIVE = []
20898
21028
  include Aws::Structure
20899
21029
  end
@@ -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.151.0'
55
+ GEM_VERSION = '1.152.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -779,7 +779,9 @@ module Aws
779
779
  namespace: ::String?,
780
780
  application_permissions: Array[::String]?
781
781
  },
782
- ]
782
+ ],
783
+ ?hierarchy_restricted_resources: Array[::String],
784
+ ?allowed_access_control_hierarchy_group_id: ::String
783
785
  ) -> _CreateSecurityProfileResponseSuccess
784
786
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityProfileResponseSuccess
785
787
 
@@ -2935,6 +2937,42 @@ module Aws
2935
2937
  tag_key: ::String?,
2936
2938
  tag_value: ::String?
2937
2939
  }?
2940
+ }?,
2941
+ user_attribute_filter: {
2942
+ or_conditions: Array[
2943
+ {
2944
+ tag_conditions: Array[
2945
+ {
2946
+ tag_key: ::String?,
2947
+ tag_value: ::String?
2948
+ },
2949
+ ]?,
2950
+ hierarchy_group_condition: {
2951
+ value: ::String?,
2952
+ hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
2953
+ }?
2954
+ },
2955
+ ]?,
2956
+ and_condition: {
2957
+ tag_conditions: Array[
2958
+ {
2959
+ tag_key: ::String?,
2960
+ tag_value: ::String?
2961
+ },
2962
+ ]?,
2963
+ hierarchy_group_condition: {
2964
+ value: ::String?,
2965
+ hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
2966
+ }?
2967
+ }?,
2968
+ tag_condition: {
2969
+ tag_key: ::String?,
2970
+ tag_value: ::String?
2971
+ }?,
2972
+ hierarchy_group_condition: {
2973
+ value: ::String?,
2974
+ hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
2975
+ }?
2938
2976
  }?
2939
2977
  },
2940
2978
  ?search_criteria: {
@@ -3862,7 +3900,9 @@ module Aws
3862
3900
  namespace: ::String?,
3863
3901
  application_permissions: Array[::String]?
3864
3902
  },
3865
- ]
3903
+ ],
3904
+ ?hierarchy_restricted_resources: Array[::String],
3905
+ ?allowed_access_control_hierarchy_group_id: ::String
3866
3906
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3867
3907
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3868
3908
 
data/sig/types.rbs CHANGED
@@ -265,6 +265,12 @@ module Aws::Connect
265
265
  SENSITIVE: []
266
266
  end
267
267
 
268
+ class AttributeAndCondition
269
+ attr_accessor tag_conditions: ::Array[Types::TagCondition]
270
+ attr_accessor hierarchy_group_condition: Types::HierarchyGroupCondition
271
+ SENSITIVE: []
272
+ end
273
+
268
274
  class AudioFeatures
269
275
  attr_accessor echo_reduction: ("AVAILABLE" | "UNAVAILABLE")
270
276
  SENSITIVE: []
@@ -530,6 +536,14 @@ module Aws::Connect
530
536
  SENSITIVE: []
531
537
  end
532
538
 
539
+ class ControlPlaneUserAttributeFilter
540
+ attr_accessor or_conditions: ::Array[Types::AttributeAndCondition]
541
+ attr_accessor and_condition: Types::AttributeAndCondition
542
+ attr_accessor tag_condition: Types::TagCondition
543
+ attr_accessor hierarchy_group_condition: Types::HierarchyGroupCondition
544
+ SENSITIVE: []
545
+ end
546
+
533
547
  class CreateAgentStatusRequest
534
548
  attr_accessor instance_id: ::String
535
549
  attr_accessor name: ::String
@@ -777,6 +791,8 @@ module Aws::Connect
777
791
  attr_accessor allowed_access_control_tags: ::Hash[::String, ::String]
778
792
  attr_accessor tag_restricted_resources: ::Array[::String]
779
793
  attr_accessor applications: ::Array[Types::Application]
794
+ attr_accessor hierarchy_restricted_resources: ::Array[::String]
795
+ attr_accessor allowed_access_control_hierarchy_group_id: ::String
780
796
  SENSITIVE: []
781
797
  end
782
798
 
@@ -3932,6 +3948,8 @@ module Aws::Connect
3932
3948
  attr_accessor tag_restricted_resources: ::Array[::String]
3933
3949
  attr_accessor last_modified_time: ::Time
3934
3950
  attr_accessor last_modified_region: ::String
3951
+ attr_accessor hierarchy_restricted_resources: ::Array[::String]
3952
+ attr_accessor allowed_access_control_hierarchy_group_id: ::String
3935
3953
  SENSITIVE: []
3936
3954
  end
3937
3955
 
@@ -4750,6 +4768,8 @@ module Aws::Connect
4750
4768
  attr_accessor allowed_access_control_tags: ::Hash[::String, ::String]
4751
4769
  attr_accessor tag_restricted_resources: ::Array[::String]
4752
4770
  attr_accessor applications: ::Array[Types::Application]
4771
+ attr_accessor hierarchy_restricted_resources: ::Array[::String]
4772
+ attr_accessor allowed_access_control_hierarchy_group_id: ::String
4753
4773
  SENSITIVE: []
4754
4774
  end
4755
4775
 
@@ -4986,6 +5006,7 @@ module Aws::Connect
4986
5006
 
4987
5007
  class UserSearchFilter
4988
5008
  attr_accessor tag_filter: Types::ControlPlaneTagFilter
5009
+ attr_accessor user_attribute_filter: Types::ControlPlaneUserAttributeFilter
4989
5010
  SENSITIVE: []
4990
5011
  end
4991
5012
 
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.151.0
4
+ version: 1.152.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: 2024-03-12 00:00:00.000000000 Z
11
+ date: 2024-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core