Skip to content

Commit 1d5ac10

Browse files
Updating SearchUserHierarchyGroups API
1 parent 3f928cf commit 1d5ac10

File tree

7 files changed

+4
-64
lines changed

7 files changed

+4
-64
lines changed

generator/ServiceModels/connect/connect-2017-08-08.api.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5929,8 +5929,7 @@
59295929
"CommonAttributeAndCondition":{
59305930
"type":"structure",
59315931
"members":{
5932-
"TagConditions":{"shape":"TagAndConditionList"},
5933-
"HierarchyGroupCondition":{"shape":"HierarchyGroupCondition"}
5932+
"TagConditions":{"shape":"TagAndConditionList"}
59345933
}
59355934
},
59365935
"CommonAttributeOrConditionList":{
@@ -19082,8 +19081,7 @@
1908219081
"members":{
1908319082
"OrConditions":{"shape":"UserHierarchyGroupSearchConditionList"},
1908419083
"AndConditions":{"shape":"UserHierarchyGroupSearchConditionList"},
19085-
"StringCondition":{"shape":"StringCondition"},
19086-
"HierarchyGroupCondition":{"shape":"HierarchyGroupCondition"}
19084+
"StringCondition":{"shape":"StringCondition"}
1908719085
}
1908819086
},
1908919087
"UserHierarchyGroupSearchFilter":{

generator/ServiceModels/connect/connect-2017-08-08.docs.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4270,9 +4270,7 @@
42704270
"base": "<p>A leaf node condition which can be used to specify a hierarchy group condition.</p>",
42714271
"refs": {
42724272
"AttributeAndCondition$HierarchyGroupCondition": null,
4273-
"CommonAttributeAndCondition$HierarchyGroupCondition": null,
42744273
"ControlPlaneUserAttributeFilter$HierarchyGroupCondition": null,
4275-
"UserHierarchyGroupSearchCriteria$HierarchyGroupCondition": null,
42764274
"UserSearchCriteria$HierarchyGroupCondition": "<p>A leaf node condition which can be used to specify a hierarchy group condition.</p>"
42774275
}
42784276
},

generator/ServiceModels/connect/connect-2017-08-08.normal.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6939,8 +6939,7 @@
69396939
"TagConditions":{
69406940
"shape":"TagAndConditionList",
69416941
"documentation":"<p>A leaf node condition which can be used to specify a tag condition.</p>"
6942-
},
6943-
"HierarchyGroupCondition":{"shape":"HierarchyGroupCondition"}
6942+
}
69446943
},
69456944
"documentation":"<p>A list of conditions which would be applied together with an <code>AND</code> condition.</p>"
69466945
},
@@ -26670,8 +26669,7 @@
2667026669
"StringCondition":{
2667126670
"shape":"StringCondition",
2667226671
"documentation":"<p>A leaf node condition which can be used to specify a string condition.</p> <note> <p>The currently supported values for <code>FieldName</code> are <code>name</code>,&#x2028;&#x2028; <code>parentId</code>, <code>levelId</code>, and <code>resourceID</code>.</p> </note>"
26673-
},
26674-
"HierarchyGroupCondition":{"shape":"HierarchyGroupCondition"}
26672+
}
2667526673
},
2667626674
"documentation":"<p>The search criteria to be used to return userHierarchyGroup.</p>"
2667726675
},

sdk/src/Services/Connect/Generated/Model/CommonAttributeAndCondition.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,8 @@ namespace Amazon.Connect.Model
3434
/// </summary>
3535
public partial class CommonAttributeAndCondition
3636
{
37-
private HierarchyGroupCondition _hierarchyGroupCondition;
3837
private List<TagCondition> _tagConditions = AWSConfigs.InitializeCollections ? new List<TagCondition>() : null;
3938

40-
/// <summary>
41-
/// Gets and sets the property HierarchyGroupCondition.
42-
/// </summary>
43-
public HierarchyGroupCondition HierarchyGroupCondition
44-
{
45-
get { return this._hierarchyGroupCondition; }
46-
set { this._hierarchyGroupCondition = value; }
47-
}
48-
49-
// Check to see if HierarchyGroupCondition property is set
50-
internal bool IsSetHierarchyGroupCondition()
51-
{
52-
return this._hierarchyGroupCondition != null;
53-
}
54-
5539
/// <summary>
5640
/// Gets and sets the property TagConditions.
5741
/// <para>

sdk/src/Services/Connect/Generated/Model/Internal/MarshallTransformations/CommonAttributeAndConditionMarshaller.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,6 @@ public void Marshall(CommonAttributeAndCondition requestObject, JsonMarshallerCo
4646
{
4747
if(requestObject == null)
4848
return;
49-
if(requestObject.IsSetHierarchyGroupCondition())
50-
{
51-
context.Writer.WritePropertyName("HierarchyGroupCondition");
52-
context.Writer.WriteStartObject();
53-
54-
var marshaller = HierarchyGroupConditionMarshaller.Instance;
55-
marshaller.Marshall(requestObject.HierarchyGroupCondition, context);
56-
57-
context.Writer.WriteEndObject();
58-
}
59-
6049
if(requestObject.IsSetTagConditions())
6150
{
6251
context.Writer.WritePropertyName("TagConditions");

sdk/src/Services/Connect/Generated/Model/Internal/MarshallTransformations/UserHierarchyGroupSearchCriteriaMarshaller.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,6 @@ public void Marshall(UserHierarchyGroupSearchCriteria requestObject, JsonMarshal
6262
context.Writer.WriteEndArray();
6363
}
6464

65-
if(requestObject.IsSetHierarchyGroupCondition())
66-
{
67-
context.Writer.WritePropertyName("HierarchyGroupCondition");
68-
context.Writer.WriteStartObject();
69-
70-
var marshaller = HierarchyGroupConditionMarshaller.Instance;
71-
marshaller.Marshall(requestObject.HierarchyGroupCondition, context);
72-
73-
context.Writer.WriteEndObject();
74-
}
75-
7665
if(requestObject.IsSetOrConditions())
7766
{
7867
context.Writer.WritePropertyName("OrConditions");

sdk/src/Services/Connect/Generated/Model/UserHierarchyGroupSearchCriteria.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ namespace Amazon.Connect.Model
3535
public partial class UserHierarchyGroupSearchCriteria
3636
{
3737
private List<UserHierarchyGroupSearchCriteria> _andConditions = AWSConfigs.InitializeCollections ? new List<UserHierarchyGroupSearchCriteria>() : null;
38-
private HierarchyGroupCondition _hierarchyGroupCondition;
3938
private List<UserHierarchyGroupSearchCriteria> _orConditions = AWSConfigs.InitializeCollections ? new List<UserHierarchyGroupSearchCriteria>() : null;
4039
private StringCondition _stringCondition;
4140

@@ -62,21 +61,6 @@ internal bool IsSetAndConditions()
6261
return this._andConditions != null && (this._andConditions.Count > 0 || !AWSConfigs.InitializeCollections);
6362
}
6463

65-
/// <summary>
66-
/// Gets and sets the property HierarchyGroupCondition.
67-
/// </summary>
68-
public HierarchyGroupCondition HierarchyGroupCondition
69-
{
70-
get { return this._hierarchyGroupCondition; }
71-
set { this._hierarchyGroupCondition = value; }
72-
}
73-
74-
// Check to see if HierarchyGroupCondition property is set
75-
internal bool IsSetHierarchyGroupCondition()
76-
{
77-
return this._hierarchyGroupCondition != null;
78-
}
79-
8064
/// <summary>
8165
/// Gets and sets the property OrConditions.
8266
/// <para>

0 commit comments

Comments
 (0)