Skip to content

Commit 9fda95f

Browse files
author
awstools
committed
feat(client-connect): Updating SearchUserHierarchyGroups API
1 parent 2759ed3 commit 9fda95f

File tree

11 files changed

+166
-205
lines changed

11 files changed

+166
-205
lines changed

clients/client-connect/src/commands/DeleteIntegrationAssociationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteIntegrationAssociationRequest } from "../models/models_1";
9+
import { DeleteIntegrationAssociationRequest } from "../models/models_0";
1010
import {
1111
de_DeleteIntegrationAssociationCommand,
1212
se_DeleteIntegrationAssociationCommand,

clients/client-connect/src/commands/DeletePredefinedAttributeCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeletePredefinedAttributeRequest } from "../models/models_1";
9+
import { DeletePredefinedAttributeRequest } from "../models/models_0";
1010
import { de_DeletePredefinedAttributeCommand, se_DeletePredefinedAttributeCommand } from "../protocols/Aws_restJson1";
1111

1212
/**

clients/client-connect/src/commands/ListIntegrationAssociationsCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { ListIntegrationAssociationsRequest, ListIntegrationAssociationsResponse } from "../models/models_2";
9+
import { ListIntegrationAssociationsRequest } from "../models/models_1";
10+
import { ListIntegrationAssociationsResponse } from "../models/models_2";
1011
import {
1112
de_ListIntegrationAssociationsCommand,
1213
se_ListIntegrationAssociationsCommand,

clients/client-connect/src/commands/SearchAgentStatusesCommand.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ export interface SearchAgentStatusesCommandOutput extends SearchAgentStatusesRes
5050
* TagValue: "STRING_VALUE",
5151
* },
5252
* ],
53-
* HierarchyGroupCondition: { // HierarchyGroupCondition
54-
* Value: "STRING_VALUE",
55-
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
56-
* },
5753
* },
5854
* ],
5955
* AndCondition: {
@@ -63,10 +59,6 @@ export interface SearchAgentStatusesCommandOutput extends SearchAgentStatusesRes
6359
* TagValue: "STRING_VALUE",
6460
* },
6561
* ],
66-
* HierarchyGroupCondition: {
67-
* Value: "STRING_VALUE",
68-
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
69-
* },
7062
* },
7163
* TagCondition: "<TagCondition>",
7264
* },

clients/client-connect/src/commands/SearchUserHierarchyGroupsCommand.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ export interface SearchUserHierarchyGroupsCommandOutput extends SearchUserHierar
5555
* TagValue: "STRING_VALUE",
5656
* },
5757
* ],
58-
* HierarchyGroupCondition: { // HierarchyGroupCondition
59-
* Value: "STRING_VALUE",
60-
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
61-
* },
6258
* },
6359
* ],
6460
* AndCondition: {
@@ -68,10 +64,6 @@ export interface SearchUserHierarchyGroupsCommandOutput extends SearchUserHierar
6864
* TagValue: "STRING_VALUE",
6965
* },
7066
* ],
71-
* HierarchyGroupCondition: {
72-
* Value: "STRING_VALUE",
73-
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
74-
* },
7567
* },
7668
* TagCondition: "<TagCondition>",
7769
* },
@@ -90,10 +82,6 @@ export interface SearchUserHierarchyGroupsCommandOutput extends SearchUserHierar
9082
* Value: "STRING_VALUE",
9183
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
9284
* },
93-
* HierarchyGroupCondition: {
94-
* Value: "STRING_VALUE",
95-
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
96-
* },
9785
* },
9886
* ],
9987
* AndConditions: [
@@ -104,7 +92,6 @@ export interface SearchUserHierarchyGroupsCommandOutput extends SearchUserHierar
10492
* Value: "STRING_VALUE",
10593
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
10694
* },
107-
* HierarchyGroupCondition: "<HierarchyGroupCondition>",
10895
* },
10996
* };
11097
* const command = new SearchUserHierarchyGroupsCommand(input);

clients/client-connect/src/models/models_0.ts

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -925,38 +925,6 @@ export interface StringCondition {
925925
ComparisonType?: StringComparisonType | undefined;
926926
}
927927

928-
/**
929-
* @public
930-
* @enum
931-
*/
932-
export const HierarchyGroupMatchType = {
933-
EXACT: "EXACT",
934-
WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
935-
} as const;
936-
937-
/**
938-
* @public
939-
*/
940-
export type HierarchyGroupMatchType = (typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
941-
942-
/**
943-
* <p>A leaf node condition which can be used to specify a hierarchy group condition.</p>
944-
* @public
945-
*/
946-
export interface HierarchyGroupCondition {
947-
/**
948-
* <p>The value in the hierarchy group condition.</p>
949-
* @public
950-
*/
951-
Value?: string | undefined;
952-
953-
/**
954-
* <p>The type of hierarchy group match.</p>
955-
* @public
956-
*/
957-
HierarchyGroupMatchType?: HierarchyGroupMatchType | undefined;
958-
}
959-
960928
/**
961929
* <p>A leaf node condition which can be used to specify a tag condition, for example, <code>HAVE
962930
* BPO = 123</code>. </p>
@@ -987,12 +955,6 @@ export interface CommonAttributeAndCondition {
987955
* @public
988956
*/
989957
TagConditions?: TagCondition[] | undefined;
990-
991-
/**
992-
* <p>A leaf node condition which can be used to specify a hierarchy group condition.</p>
993-
* @public
994-
*/
995-
HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
996958
}
997959

998960
/**
@@ -7432,6 +7394,41 @@ export interface DeleteInstanceRequest {
74327394
ClientToken?: string | undefined;
74337395
}
74347396

7397+
/**
7398+
* @public
7399+
*/
7400+
export interface DeleteIntegrationAssociationRequest {
7401+
/**
7402+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7403+
* @public
7404+
*/
7405+
InstanceId: string | undefined;
7406+
7407+
/**
7408+
* <p>The identifier for the integration association.</p>
7409+
* @public
7410+
*/
7411+
IntegrationAssociationId: string | undefined;
7412+
}
7413+
7414+
/**
7415+
* @public
7416+
*/
7417+
export interface DeletePredefinedAttributeRequest {
7418+
/**
7419+
* <p> The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
7420+
* Name (ARN) of the instance.</p>
7421+
* @public
7422+
*/
7423+
InstanceId: string | undefined;
7424+
7425+
/**
7426+
* <p> The name of the predefined attribute.</p>
7427+
* @public
7428+
*/
7429+
Name: string | undefined;
7430+
}
7431+
74357432
/**
74367433
* @internal
74377434
*/

clients/client-connect/src/models/models_1.ts

Lines changed: 92 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import {
3333
HoursOfOperationOverrideConfig,
3434
InstanceStorageConfig,
3535
InstanceStorageResourceType,
36+
IntegrationType,
3637
LexBot,
3738
LexV2Bot,
3839
ListFlowAssociationResourceType,
@@ -50,6 +51,7 @@ import {
5051
RuleAction,
5152
RulePublishStatus,
5253
RuleTriggerEventSource,
54+
SourceType,
5355
StorageType,
5456
TaskTemplateConstraints,
5557
TaskTemplateDefaults,
@@ -64,41 +66,6 @@ import {
6466
VocabularyState,
6567
} from "./models_0";
6668

67-
/**
68-
* @public
69-
*/
70-
export interface DeleteIntegrationAssociationRequest {
71-
/**
72-
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
73-
* @public
74-
*/
75-
InstanceId: string | undefined;
76-
77-
/**
78-
* <p>The identifier for the integration association.</p>
79-
* @public
80-
*/
81-
IntegrationAssociationId: string | undefined;
82-
}
83-
84-
/**
85-
* @public
86-
*/
87-
export interface DeletePredefinedAttributeRequest {
88-
/**
89-
* <p> The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
90-
* Name (ARN) of the instance.</p>
91-
* @public
92-
*/
93-
InstanceId: string | undefined;
94-
95-
/**
96-
* <p> The name of the predefined attribute.</p>
97-
* @public
98-
*/
99-
Name: string | undefined;
100-
}
101-
10269
/**
10370
* @public
10471
*/
@@ -10317,6 +10284,96 @@ export interface ListInstanceStorageConfigsResponse {
1031710284
NextToken?: string | undefined;
1031810285
}
1031910286

10287+
/**
10288+
* @public
10289+
*/
10290+
export interface ListIntegrationAssociationsRequest {
10291+
/**
10292+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
10293+
* @public
10294+
*/
10295+
InstanceId: string | undefined;
10296+
10297+
/**
10298+
* <p>The integration type.</p>
10299+
* @public
10300+
*/
10301+
IntegrationType?: IntegrationType | undefined;
10302+
10303+
/**
10304+
* <p>The token for the next set of results. Use the value returned in the previous
10305+
* response in the next request to retrieve the next set of results.</p>
10306+
* @public
10307+
*/
10308+
NextToken?: string | undefined;
10309+
10310+
/**
10311+
* <p>The maximum number of results to return per page.</p>
10312+
* @public
10313+
*/
10314+
MaxResults?: number | undefined;
10315+
10316+
/**
10317+
* <p>The Amazon Resource Name (ARN) of the integration.</p>
10318+
* @public
10319+
*/
10320+
IntegrationArn?: string | undefined;
10321+
}
10322+
10323+
/**
10324+
* <p>Contains summary information about the associated AppIntegrations.</p>
10325+
* @public
10326+
*/
10327+
export interface IntegrationAssociationSummary {
10328+
/**
10329+
* <p>The identifier for the AppIntegration association.</p>
10330+
* @public
10331+
*/
10332+
IntegrationAssociationId?: string | undefined;
10333+
10334+
/**
10335+
* <p>The Amazon Resource Name (ARN) for the AppIntegration association.</p>
10336+
* @public
10337+
*/
10338+
IntegrationAssociationArn?: string | undefined;
10339+
10340+
/**
10341+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
10342+
* @public
10343+
*/
10344+
InstanceId?: string | undefined;
10345+
10346+
/**
10347+
* <p>The integration type.</p>
10348+
* @public
10349+
*/
10350+
IntegrationType?: IntegrationType | undefined;
10351+
10352+
/**
10353+
* <p>The Amazon Resource Name (ARN) for the AppIntegration.</p>
10354+
* @public
10355+
*/
10356+
IntegrationArn?: string | undefined;
10357+
10358+
/**
10359+
* <p>The URL for the external application.</p>
10360+
* @public
10361+
*/
10362+
SourceApplicationUrl?: string | undefined;
10363+
10364+
/**
10365+
* <p>The user-provided, friendly name for the external application.</p>
10366+
* @public
10367+
*/
10368+
SourceApplicationName?: string | undefined;
10369+
10370+
/**
10371+
* <p>The name of the source.</p>
10372+
* @public
10373+
*/
10374+
SourceType?: SourceType | undefined;
10375+
}
10376+
1032010377
/**
1032110378
* @internal
1032210379
*/

0 commit comments

Comments
 (0)