@aws-sdk/client-connect 3.223.0 → 3.225.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.
Files changed (86) hide show
  1. package/dist-cjs/Connect.js +75 -0
  2. package/dist-cjs/commands/CreateRuleCommand.js +46 -0
  3. package/dist-cjs/commands/DeleteRuleCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeRuleCommand.js +46 -0
  5. package/dist-cjs/commands/ListContactReferencesCommand.js +2 -1
  6. package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +3 -3
  7. package/dist-cjs/commands/ListHoursOfOperationsCommand.js +3 -3
  8. package/dist-cjs/commands/ListInstanceAttributesCommand.js +3 -3
  9. package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +3 -3
  10. package/dist-cjs/commands/ListInstancesCommand.js +3 -3
  11. package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +3 -3
  12. package/dist-cjs/commands/ListRulesCommand.js +46 -0
  13. package/dist-cjs/commands/UpdateRuleCommand.js +46 -0
  14. package/dist-cjs/commands/index.js +5 -0
  15. package/dist-cjs/endpoint/ruleset.js +1 -10
  16. package/dist-cjs/models/models_0.js +104 -134
  17. package/dist-cjs/models/models_1.js +139 -8
  18. package/dist-cjs/pagination/ListRulesPaginator.js +36 -0
  19. package/dist-cjs/pagination/index.js +1 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +606 -7
  21. package/dist-es/Connect.js +75 -0
  22. package/dist-es/commands/CreateRuleCommand.js +42 -0
  23. package/dist-es/commands/DeleteRuleCommand.js +42 -0
  24. package/dist-es/commands/DescribeRuleCommand.js +42 -0
  25. package/dist-es/commands/ListContactReferencesCommand.js +2 -1
  26. package/dist-es/commands/ListDefaultVocabulariesCommand.js +1 -1
  27. package/dist-es/commands/ListHoursOfOperationsCommand.js +1 -1
  28. package/dist-es/commands/ListInstanceAttributesCommand.js +1 -1
  29. package/dist-es/commands/ListInstanceStorageConfigsCommand.js +1 -1
  30. package/dist-es/commands/ListInstancesCommand.js +1 -1
  31. package/dist-es/commands/ListIntegrationAssociationsCommand.js +1 -1
  32. package/dist-es/commands/ListRulesCommand.js +42 -0
  33. package/dist-es/commands/UpdateRuleCommand.js +42 -0
  34. package/dist-es/commands/index.js +5 -0
  35. package/dist-es/endpoint/ruleset.js +1 -10
  36. package/dist-es/models/models_0.js +83 -107
  37. package/dist-es/models/models_1.js +111 -3
  38. package/dist-es/pagination/ListRulesPaginator.js +32 -0
  39. package/dist-es/pagination/index.js +1 -0
  40. package/dist-es/protocols/Aws_restJson1.js +589 -0
  41. package/dist-types/Connect.d.ts +44 -4
  42. package/dist-types/ConnectClient.d.ts +7 -2
  43. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +5 -1
  44. package/dist-types/commands/CreateRuleCommand.d.ts +37 -0
  45. package/dist-types/commands/DeleteRuleCommand.d.ts +37 -0
  46. package/dist-types/commands/DescribeRuleCommand.d.ts +37 -0
  47. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  48. package/dist-types/commands/ListContactReferencesCommand.d.ts +2 -1
  49. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  50. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +1 -1
  51. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +1 -1
  52. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
  54. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListRulesCommand.d.ts +37 -0
  56. package/dist-types/commands/MonitorContactCommand.d.ts +3 -2
  57. package/dist-types/commands/UpdateRuleCommand.d.ts +37 -0
  58. package/dist-types/commands/index.d.ts +5 -0
  59. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  60. package/dist-types/models/models_0.d.ts +373 -516
  61. package/dist-types/models/models_1.d.ts +628 -29
  62. package/dist-types/pagination/ListRulesPaginator.d.ts +4 -0
  63. package/dist-types/pagination/index.d.ts +1 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  65. package/dist-types/ts3.4/Connect.d.ts +85 -0
  66. package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
  67. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +34 -0
  68. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +32 -0
  69. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +34 -0
  70. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +34 -0
  78. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +32 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  81. package/dist-types/ts3.4/models/models_0.d.ts +147 -249
  82. package/dist-types/ts3.4/models/models_1.d.ts +294 -6
  83. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  85. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  86. package/package.json +28 -28
@@ -1,18 +1,28 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import {
4
+ ActionSummary,
4
5
  AgentStatusState,
6
+ AttachmentReference,
7
+ Attribute,
5
8
  Channel,
6
9
  ContactFlowModuleState,
7
10
  ContactFlowState,
11
+ DateReference,
12
+ DirectoryType,
13
+ EmailReference,
14
+ EventSourceName,
8
15
  HierarchyGroupSummary,
9
16
  HoursOfOperationConfig,
10
17
  InstanceAttributeType,
18
+ InstanceStatus,
11
19
  InstanceStorageConfig,
12
20
  InstanceStorageResourceType,
21
+ IntegrationType,
13
22
  LexBot,
14
23
  MediaConcurrency,
15
24
  MonitorCapability,
25
+ NumberReference,
16
26
  OutboundCallerConfig,
17
27
  PhoneNumberCountryCode,
18
28
  PhoneNumberType,
@@ -20,9 +30,12 @@ import {
20
30
  QueueStatus,
21
31
  QuickConnectConfig,
22
32
  QuickConnectType,
23
- ReferenceType,
33
+ Reference,
24
34
  RoutingProfile,
25
35
  RoutingProfileQueueConfig,
36
+ RuleAction,
37
+ RulePublishStatus,
38
+ SourceType,
26
39
  TaskTemplateConstraints,
27
40
  TaskTemplateDefaults,
28
41
  TaskTemplateField,
@@ -35,6 +48,189 @@ import {
35
48
  VocabularyLanguageCode,
36
49
  VocabularyState,
37
50
  } from "./models_0";
51
+ export interface StringReference {
52
+ Name?: string;
53
+ Value?: string;
54
+ }
55
+ export interface UrlReference {
56
+ Name?: string;
57
+ Value?: string;
58
+ }
59
+ export declare type ReferenceSummary =
60
+ | ReferenceSummary.AttachmentMember
61
+ | ReferenceSummary.DateMember
62
+ | ReferenceSummary.EmailMember
63
+ | ReferenceSummary.NumberMember
64
+ | ReferenceSummary.StringMember
65
+ | ReferenceSummary.UrlMember
66
+ | ReferenceSummary.$UnknownMember;
67
+ export declare namespace ReferenceSummary {
68
+ interface UrlMember {
69
+ Url: UrlReference;
70
+ Attachment?: never;
71
+ String?: never;
72
+ Number?: never;
73
+ Date?: never;
74
+ Email?: never;
75
+ $unknown?: never;
76
+ }
77
+ interface AttachmentMember {
78
+ Url?: never;
79
+ Attachment: AttachmentReference;
80
+ String?: never;
81
+ Number?: never;
82
+ Date?: never;
83
+ Email?: never;
84
+ $unknown?: never;
85
+ }
86
+ interface StringMember {
87
+ Url?: never;
88
+ Attachment?: never;
89
+ String: StringReference;
90
+ Number?: never;
91
+ Date?: never;
92
+ Email?: never;
93
+ $unknown?: never;
94
+ }
95
+ interface NumberMember {
96
+ Url?: never;
97
+ Attachment?: never;
98
+ String?: never;
99
+ Number: NumberReference;
100
+ Date?: never;
101
+ Email?: never;
102
+ $unknown?: never;
103
+ }
104
+ interface DateMember {
105
+ Url?: never;
106
+ Attachment?: never;
107
+ String?: never;
108
+ Number?: never;
109
+ Date: DateReference;
110
+ Email?: never;
111
+ $unknown?: never;
112
+ }
113
+ interface EmailMember {
114
+ Url?: never;
115
+ Attachment?: never;
116
+ String?: never;
117
+ Number?: never;
118
+ Date?: never;
119
+ Email: EmailReference;
120
+ $unknown?: never;
121
+ }
122
+ interface $UnknownMember {
123
+ Url?: never;
124
+ Attachment?: never;
125
+ String?: never;
126
+ Number?: never;
127
+ Date?: never;
128
+ Email?: never;
129
+ $unknown: [string, any];
130
+ }
131
+ interface Visitor<T> {
132
+ Url: (value: UrlReference) => T;
133
+ Attachment: (value: AttachmentReference) => T;
134
+ String: (value: StringReference) => T;
135
+ Number: (value: NumberReference) => T;
136
+ Date: (value: DateReference) => T;
137
+ Email: (value: EmailReference) => T;
138
+ _: (name: string, value: any) => T;
139
+ }
140
+ const visit: <T>(value: ReferenceSummary, visitor: Visitor<T>) => T;
141
+ }
142
+ export interface ListContactReferencesResponse {
143
+ ReferenceSummaryList?: ReferenceSummary[];
144
+ NextToken?: string;
145
+ }
146
+ export interface ListDefaultVocabulariesRequest {
147
+ InstanceId: string | undefined;
148
+ LanguageCode?: VocabularyLanguageCode | string;
149
+ MaxResults?: number;
150
+ NextToken?: string;
151
+ }
152
+ export interface DefaultVocabulary {
153
+ InstanceId: string | undefined;
154
+ LanguageCode: VocabularyLanguageCode | string | undefined;
155
+ VocabularyId: string | undefined;
156
+ VocabularyName: string | undefined;
157
+ }
158
+ export interface ListDefaultVocabulariesResponse {
159
+ DefaultVocabularyList: DefaultVocabulary[] | undefined;
160
+ NextToken?: string;
161
+ }
162
+ export interface ListHoursOfOperationsRequest {
163
+ InstanceId: string | undefined;
164
+ NextToken?: string;
165
+ MaxResults?: number;
166
+ }
167
+ export interface HoursOfOperationSummary {
168
+ Id?: string;
169
+ Arn?: string;
170
+ Name?: string;
171
+ }
172
+ export interface ListHoursOfOperationsResponse {
173
+ HoursOfOperationSummaryList?: HoursOfOperationSummary[];
174
+ NextToken?: string;
175
+ }
176
+ export interface ListInstanceAttributesRequest {
177
+ InstanceId: string | undefined;
178
+ NextToken?: string;
179
+ MaxResults?: number;
180
+ }
181
+ export interface ListInstanceAttributesResponse {
182
+ Attributes?: Attribute[];
183
+ NextToken?: string;
184
+ }
185
+ export interface ListInstancesRequest {
186
+ NextToken?: string;
187
+ MaxResults?: number;
188
+ }
189
+ export interface InstanceSummary {
190
+ Id?: string;
191
+ Arn?: string;
192
+ IdentityManagementType?: DirectoryType | string;
193
+ InstanceAlias?: string;
194
+ CreatedTime?: Date;
195
+ ServiceRole?: string;
196
+ InstanceStatus?: InstanceStatus | string;
197
+ InboundCallsEnabled?: boolean;
198
+ OutboundCallsEnabled?: boolean;
199
+ }
200
+ export interface ListInstancesResponse {
201
+ InstanceSummaryList?: InstanceSummary[];
202
+ NextToken?: string;
203
+ }
204
+ export interface ListInstanceStorageConfigsRequest {
205
+ InstanceId: string | undefined;
206
+ ResourceType: InstanceStorageResourceType | string | undefined;
207
+ NextToken?: string;
208
+ MaxResults?: number;
209
+ }
210
+ export interface ListInstanceStorageConfigsResponse {
211
+ StorageConfigs?: InstanceStorageConfig[];
212
+ NextToken?: string;
213
+ }
214
+ export interface ListIntegrationAssociationsRequest {
215
+ InstanceId: string | undefined;
216
+ IntegrationType?: IntegrationType | string;
217
+ NextToken?: string;
218
+ MaxResults?: number;
219
+ }
220
+ export interface IntegrationAssociationSummary {
221
+ IntegrationAssociationId?: string;
222
+ IntegrationAssociationArn?: string;
223
+ InstanceId?: string;
224
+ IntegrationType?: IntegrationType | string;
225
+ IntegrationArn?: string;
226
+ SourceApplicationUrl?: string;
227
+ SourceApplicationName?: string;
228
+ SourceType?: SourceType | string;
229
+ }
230
+ export interface ListIntegrationAssociationsResponse {
231
+ IntegrationAssociationSummaryList?: IntegrationAssociationSummary[];
232
+ NextToken?: string;
233
+ }
38
234
  export interface ListLambdaFunctionsRequest {
39
235
  InstanceId: string | undefined;
40
236
  NextToken?: string;
@@ -183,6 +379,27 @@ export interface ListRoutingProfilesResponse {
183
379
  RoutingProfileSummaryList?: RoutingProfileSummary[];
184
380
  NextToken?: string;
185
381
  }
382
+ export interface ListRulesRequest {
383
+ InstanceId: string | undefined;
384
+ PublishStatus?: RulePublishStatus | string;
385
+ EventSourceName?: EventSourceName | string;
386
+ MaxResults?: number;
387
+ NextToken?: string;
388
+ }
389
+ export interface RuleSummary {
390
+ Name: string | undefined;
391
+ RuleId: string | undefined;
392
+ RuleArn: string | undefined;
393
+ EventSourceName: EventSourceName | string | undefined;
394
+ PublishStatus: RulePublishStatus | string | undefined;
395
+ ActionSummaries: ActionSummary[] | undefined;
396
+ CreatedTime: Date | undefined;
397
+ LastUpdatedTime: Date | undefined;
398
+ }
399
+ export interface ListRulesResponse {
400
+ RuleSummaryList: RuleSummary[] | undefined;
401
+ NextToken?: string;
402
+ }
186
403
  export interface ListSecurityKeysRequest {
187
404
  InstanceId: string | undefined;
188
405
  NextToken?: string;
@@ -553,10 +770,6 @@ export interface StartOutboundVoiceContactRequest {
553
770
  export interface StartOutboundVoiceContactResponse {
554
771
  ContactId?: string;
555
772
  }
556
- export interface Reference {
557
- Value: string | undefined;
558
- Type: ReferenceType | string | undefined;
559
- }
560
773
  export interface StartTaskContactRequest {
561
774
  InstanceId: string | undefined;
562
775
  PreviousContactId?: string;
@@ -771,6 +984,14 @@ export interface UpdateRoutingProfileQueuesRequest {
771
984
  RoutingProfileId: string | undefined;
772
985
  QueueConfigs: RoutingProfileQueueConfig[] | undefined;
773
986
  }
987
+ export interface UpdateRuleRequest {
988
+ RuleId: string | undefined;
989
+ InstanceId: string | undefined;
990
+ Name: string | undefined;
991
+ Function: string | undefined;
992
+ Actions: RuleAction[] | undefined;
993
+ PublishStatus: RulePublishStatus | string | undefined;
994
+ }
774
995
  export interface UpdateSecurityProfileRequest {
775
996
  Description?: string;
776
997
  Permissions?: string[];
@@ -903,6 +1124,64 @@ export interface SearchUsersRequest {
903
1124
  SearchFilter?: UserSearchFilter;
904
1125
  SearchCriteria?: UserSearchCriteria;
905
1126
  }
1127
+ export declare const StringReferenceFilterSensitiveLog: (
1128
+ obj: StringReference
1129
+ ) => any;
1130
+ export declare const UrlReferenceFilterSensitiveLog: (obj: UrlReference) => any;
1131
+ export declare const ReferenceSummaryFilterSensitiveLog: (
1132
+ obj: ReferenceSummary
1133
+ ) => any;
1134
+ export declare const ListContactReferencesResponseFilterSensitiveLog: (
1135
+ obj: ListContactReferencesResponse
1136
+ ) => any;
1137
+ export declare const ListDefaultVocabulariesRequestFilterSensitiveLog: (
1138
+ obj: ListDefaultVocabulariesRequest
1139
+ ) => any;
1140
+ export declare const DefaultVocabularyFilterSensitiveLog: (
1141
+ obj: DefaultVocabulary
1142
+ ) => any;
1143
+ export declare const ListDefaultVocabulariesResponseFilterSensitiveLog: (
1144
+ obj: ListDefaultVocabulariesResponse
1145
+ ) => any;
1146
+ export declare const ListHoursOfOperationsRequestFilterSensitiveLog: (
1147
+ obj: ListHoursOfOperationsRequest
1148
+ ) => any;
1149
+ export declare const HoursOfOperationSummaryFilterSensitiveLog: (
1150
+ obj: HoursOfOperationSummary
1151
+ ) => any;
1152
+ export declare const ListHoursOfOperationsResponseFilterSensitiveLog: (
1153
+ obj: ListHoursOfOperationsResponse
1154
+ ) => any;
1155
+ export declare const ListInstanceAttributesRequestFilterSensitiveLog: (
1156
+ obj: ListInstanceAttributesRequest
1157
+ ) => any;
1158
+ export declare const ListInstanceAttributesResponseFilterSensitiveLog: (
1159
+ obj: ListInstanceAttributesResponse
1160
+ ) => any;
1161
+ export declare const ListInstancesRequestFilterSensitiveLog: (
1162
+ obj: ListInstancesRequest
1163
+ ) => any;
1164
+ export declare const InstanceSummaryFilterSensitiveLog: (
1165
+ obj: InstanceSummary
1166
+ ) => any;
1167
+ export declare const ListInstancesResponseFilterSensitiveLog: (
1168
+ obj: ListInstancesResponse
1169
+ ) => any;
1170
+ export declare const ListInstanceStorageConfigsRequestFilterSensitiveLog: (
1171
+ obj: ListInstanceStorageConfigsRequest
1172
+ ) => any;
1173
+ export declare const ListInstanceStorageConfigsResponseFilterSensitiveLog: (
1174
+ obj: ListInstanceStorageConfigsResponse
1175
+ ) => any;
1176
+ export declare const ListIntegrationAssociationsRequestFilterSensitiveLog: (
1177
+ obj: ListIntegrationAssociationsRequest
1178
+ ) => any;
1179
+ export declare const IntegrationAssociationSummaryFilterSensitiveLog: (
1180
+ obj: IntegrationAssociationSummary
1181
+ ) => any;
1182
+ export declare const ListIntegrationAssociationsResponseFilterSensitiveLog: (
1183
+ obj: ListIntegrationAssociationsResponse
1184
+ ) => any;
906
1185
  export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (
907
1186
  obj: ListLambdaFunctionsRequest
908
1187
  ) => any;
@@ -982,6 +1261,13 @@ export declare const RoutingProfileSummaryFilterSensitiveLog: (
982
1261
  export declare const ListRoutingProfilesResponseFilterSensitiveLog: (
983
1262
  obj: ListRoutingProfilesResponse
984
1263
  ) => any;
1264
+ export declare const ListRulesRequestFilterSensitiveLog: (
1265
+ obj: ListRulesRequest
1266
+ ) => any;
1267
+ export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
1268
+ export declare const ListRulesResponseFilterSensitiveLog: (
1269
+ obj: ListRulesResponse
1270
+ ) => any;
985
1271
  export declare const ListSecurityKeysRequestFilterSensitiveLog: (
986
1272
  obj: ListSecurityKeysRequest
987
1273
  ) => any;
@@ -1173,7 +1459,6 @@ export declare const StartOutboundVoiceContactRequestFilterSensitiveLog: (
1173
1459
  export declare const StartOutboundVoiceContactResponseFilterSensitiveLog: (
1174
1460
  obj: StartOutboundVoiceContactResponse
1175
1461
  ) => any;
1176
- export declare const ReferenceFilterSensitiveLog: (obj: Reference) => any;
1177
1462
  export declare const StartTaskContactRequestFilterSensitiveLog: (
1178
1463
  obj: StartTaskContactRequest
1179
1464
  ) => any;
@@ -1306,6 +1591,9 @@ export declare const UpdateRoutingProfileNameRequestFilterSensitiveLog: (
1306
1591
  export declare const UpdateRoutingProfileQueuesRequestFilterSensitiveLog: (
1307
1592
  obj: UpdateRoutingProfileQueuesRequest
1308
1593
  ) => any;
1594
+ export declare const UpdateRuleRequestFilterSensitiveLog: (
1595
+ obj: UpdateRuleRequest
1596
+ ) => any;
1309
1597
  export declare const UpdateSecurityProfileRequestFilterSensitiveLog: (
1310
1598
  obj: UpdateSecurityProfileRequest
1311
1599
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListRulesCommandInput,
4
+ ListRulesCommandOutput,
5
+ } from "../commands/ListRulesCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListRules(
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListRulesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListRulesCommandOutput>;
@@ -24,6 +24,7 @@ export * from "./ListQueuesPaginator";
24
24
  export * from "./ListQuickConnectsPaginator";
25
25
  export * from "./ListRoutingProfileQueuesPaginator";
26
26
  export * from "./ListRoutingProfilesPaginator";
27
+ export * from "./ListRulesPaginator";
27
28
  export * from "./ListSecurityKeysPaginator";
28
29
  export * from "./ListSecurityProfilePermissionsPaginator";
29
30
  export * from "./ListSecurityProfilesPaginator";
@@ -83,6 +83,10 @@ import {
83
83
  CreateRoutingProfileCommandInput,
84
84
  CreateRoutingProfileCommandOutput,
85
85
  } from "../commands/CreateRoutingProfileCommand";
86
+ import {
87
+ CreateRuleCommandInput,
88
+ CreateRuleCommandOutput,
89
+ } from "../commands/CreateRuleCommand";
86
90
  import {
87
91
  CreateSecurityProfileCommandInput,
88
92
  CreateSecurityProfileCommandOutput,
@@ -135,6 +139,10 @@ import {
135
139
  DeleteQuickConnectCommandInput,
136
140
  DeleteQuickConnectCommandOutput,
137
141
  } from "../commands/DeleteQuickConnectCommand";
142
+ import {
143
+ DeleteRuleCommandInput,
144
+ DeleteRuleCommandOutput,
145
+ } from "../commands/DeleteRuleCommand";
138
146
  import {
139
147
  DeleteSecurityProfileCommandInput,
140
148
  DeleteSecurityProfileCommandOutput,
@@ -211,6 +219,10 @@ import {
211
219
  DescribeRoutingProfileCommandInput,
212
220
  DescribeRoutingProfileCommandOutput,
213
221
  } from "../commands/DescribeRoutingProfileCommand";
222
+ import {
223
+ DescribeRuleCommandInput,
224
+ DescribeRuleCommandOutput,
225
+ } from "../commands/DescribeRuleCommand";
214
226
  import {
215
227
  DescribeSecurityProfileCommandInput,
216
228
  DescribeSecurityProfileCommandOutput,
@@ -391,6 +403,10 @@ import {
391
403
  ListRoutingProfilesCommandInput,
392
404
  ListRoutingProfilesCommandOutput,
393
405
  } from "../commands/ListRoutingProfilesCommand";
406
+ import {
407
+ ListRulesCommandInput,
408
+ ListRulesCommandOutput,
409
+ } from "../commands/ListRulesCommand";
394
410
  import {
395
411
  ListSecurityKeysCommandInput,
396
412
  ListSecurityKeysCommandOutput,
@@ -615,6 +631,10 @@ import {
615
631
  UpdateRoutingProfileQueuesCommandInput,
616
632
  UpdateRoutingProfileQueuesCommandOutput,
617
633
  } from "../commands/UpdateRoutingProfileQueuesCommand";
634
+ import {
635
+ UpdateRuleCommandInput,
636
+ UpdateRuleCommandOutput,
637
+ } from "../commands/UpdateRuleCommand";
618
638
  import {
619
639
  UpdateSecurityProfileCommandInput,
620
640
  UpdateSecurityProfileCommandOutput,
@@ -735,6 +755,10 @@ export declare const serializeAws_restJson1CreateRoutingProfileCommand: (
735
755
  input: CreateRoutingProfileCommandInput,
736
756
  context: __SerdeContext
737
757
  ) => Promise<__HttpRequest>;
758
+ export declare const serializeAws_restJson1CreateRuleCommand: (
759
+ input: CreateRuleCommandInput,
760
+ context: __SerdeContext
761
+ ) => Promise<__HttpRequest>;
738
762
  export declare const serializeAws_restJson1CreateSecurityProfileCommand: (
739
763
  input: CreateSecurityProfileCommandInput,
740
764
  context: __SerdeContext
@@ -787,6 +811,10 @@ export declare const serializeAws_restJson1DeleteQuickConnectCommand: (
787
811
  input: DeleteQuickConnectCommandInput,
788
812
  context: __SerdeContext
789
813
  ) => Promise<__HttpRequest>;
814
+ export declare const serializeAws_restJson1DeleteRuleCommand: (
815
+ input: DeleteRuleCommandInput,
816
+ context: __SerdeContext
817
+ ) => Promise<__HttpRequest>;
790
818
  export declare const serializeAws_restJson1DeleteSecurityProfileCommand: (
791
819
  input: DeleteSecurityProfileCommandInput,
792
820
  context: __SerdeContext
@@ -863,6 +891,10 @@ export declare const serializeAws_restJson1DescribeRoutingProfileCommand: (
863
891
  input: DescribeRoutingProfileCommandInput,
864
892
  context: __SerdeContext
865
893
  ) => Promise<__HttpRequest>;
894
+ export declare const serializeAws_restJson1DescribeRuleCommand: (
895
+ input: DescribeRuleCommandInput,
896
+ context: __SerdeContext
897
+ ) => Promise<__HttpRequest>;
866
898
  export declare const serializeAws_restJson1DescribeSecurityProfileCommand: (
867
899
  input: DescribeSecurityProfileCommandInput,
868
900
  context: __SerdeContext
@@ -1043,6 +1075,10 @@ export declare const serializeAws_restJson1ListRoutingProfilesCommand: (
1043
1075
  input: ListRoutingProfilesCommandInput,
1044
1076
  context: __SerdeContext
1045
1077
  ) => Promise<__HttpRequest>;
1078
+ export declare const serializeAws_restJson1ListRulesCommand: (
1079
+ input: ListRulesCommandInput,
1080
+ context: __SerdeContext
1081
+ ) => Promise<__HttpRequest>;
1046
1082
  export declare const serializeAws_restJson1ListSecurityKeysCommand: (
1047
1083
  input: ListSecurityKeysCommandInput,
1048
1084
  context: __SerdeContext
@@ -1267,6 +1303,10 @@ export declare const serializeAws_restJson1UpdateRoutingProfileQueuesCommand: (
1267
1303
  input: UpdateRoutingProfileQueuesCommandInput,
1268
1304
  context: __SerdeContext
1269
1305
  ) => Promise<__HttpRequest>;
1306
+ export declare const serializeAws_restJson1UpdateRuleCommand: (
1307
+ input: UpdateRuleCommandInput,
1308
+ context: __SerdeContext
1309
+ ) => Promise<__HttpRequest>;
1270
1310
  export declare const serializeAws_restJson1UpdateSecurityProfileCommand: (
1271
1311
  input: UpdateSecurityProfileCommandInput,
1272
1312
  context: __SerdeContext
@@ -1387,6 +1427,10 @@ export declare const deserializeAws_restJson1CreateRoutingProfileCommand: (
1387
1427
  output: __HttpResponse,
1388
1428
  context: __SerdeContext
1389
1429
  ) => Promise<CreateRoutingProfileCommandOutput>;
1430
+ export declare const deserializeAws_restJson1CreateRuleCommand: (
1431
+ output: __HttpResponse,
1432
+ context: __SerdeContext
1433
+ ) => Promise<CreateRuleCommandOutput>;
1390
1434
  export declare const deserializeAws_restJson1CreateSecurityProfileCommand: (
1391
1435
  output: __HttpResponse,
1392
1436
  context: __SerdeContext
@@ -1439,6 +1483,10 @@ export declare const deserializeAws_restJson1DeleteQuickConnectCommand: (
1439
1483
  output: __HttpResponse,
1440
1484
  context: __SerdeContext
1441
1485
  ) => Promise<DeleteQuickConnectCommandOutput>;
1486
+ export declare const deserializeAws_restJson1DeleteRuleCommand: (
1487
+ output: __HttpResponse,
1488
+ context: __SerdeContext
1489
+ ) => Promise<DeleteRuleCommandOutput>;
1442
1490
  export declare const deserializeAws_restJson1DeleteSecurityProfileCommand: (
1443
1491
  output: __HttpResponse,
1444
1492
  context: __SerdeContext
@@ -1515,6 +1563,10 @@ export declare const deserializeAws_restJson1DescribeRoutingProfileCommand: (
1515
1563
  output: __HttpResponse,
1516
1564
  context: __SerdeContext
1517
1565
  ) => Promise<DescribeRoutingProfileCommandOutput>;
1566
+ export declare const deserializeAws_restJson1DescribeRuleCommand: (
1567
+ output: __HttpResponse,
1568
+ context: __SerdeContext
1569
+ ) => Promise<DescribeRuleCommandOutput>;
1518
1570
  export declare const deserializeAws_restJson1DescribeSecurityProfileCommand: (
1519
1571
  output: __HttpResponse,
1520
1572
  context: __SerdeContext
@@ -1695,6 +1747,10 @@ export declare const deserializeAws_restJson1ListRoutingProfilesCommand: (
1695
1747
  output: __HttpResponse,
1696
1748
  context: __SerdeContext
1697
1749
  ) => Promise<ListRoutingProfilesCommandOutput>;
1750
+ export declare const deserializeAws_restJson1ListRulesCommand: (
1751
+ output: __HttpResponse,
1752
+ context: __SerdeContext
1753
+ ) => Promise<ListRulesCommandOutput>;
1698
1754
  export declare const deserializeAws_restJson1ListSecurityKeysCommand: (
1699
1755
  output: __HttpResponse,
1700
1756
  context: __SerdeContext
@@ -1919,6 +1975,10 @@ export declare const deserializeAws_restJson1UpdateRoutingProfileQueuesCommand:
1919
1975
  output: __HttpResponse,
1920
1976
  context: __SerdeContext
1921
1977
  ) => Promise<UpdateRoutingProfileQueuesCommandOutput>;
1978
+ export declare const deserializeAws_restJson1UpdateRuleCommand: (
1979
+ output: __HttpResponse,
1980
+ context: __SerdeContext
1981
+ ) => Promise<UpdateRuleCommandOutput>;
1922
1982
  export declare const deserializeAws_restJson1UpdateSecurityProfileCommand: (
1923
1983
  output: __HttpResponse,
1924
1984
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.223.0",
4
+ "version": "3.225.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,36 +19,36 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.223.0",
23
- "@aws-sdk/config-resolver": "3.222.0",
24
- "@aws-sdk/credential-provider-node": "3.223.0",
25
- "@aws-sdk/fetch-http-handler": "3.222.0",
26
- "@aws-sdk/hash-node": "3.222.0",
27
- "@aws-sdk/invalid-dependency": "3.222.0",
28
- "@aws-sdk/middleware-content-length": "3.222.0",
29
- "@aws-sdk/middleware-endpoint": "3.222.0",
30
- "@aws-sdk/middleware-host-header": "3.222.0",
31
- "@aws-sdk/middleware-logger": "3.222.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.222.0",
33
- "@aws-sdk/middleware-retry": "3.222.0",
34
- "@aws-sdk/middleware-serde": "3.222.0",
35
- "@aws-sdk/middleware-signing": "3.222.0",
36
- "@aws-sdk/middleware-stack": "3.222.0",
37
- "@aws-sdk/middleware-user-agent": "3.222.0",
38
- "@aws-sdk/node-config-provider": "3.222.0",
39
- "@aws-sdk/node-http-handler": "3.222.0",
40
- "@aws-sdk/protocol-http": "3.222.0",
41
- "@aws-sdk/smithy-client": "3.222.0",
42
- "@aws-sdk/types": "3.222.0",
43
- "@aws-sdk/url-parser": "3.222.0",
22
+ "@aws-sdk/client-sts": "3.224.0",
23
+ "@aws-sdk/config-resolver": "3.224.0",
24
+ "@aws-sdk/credential-provider-node": "3.224.0",
25
+ "@aws-sdk/fetch-http-handler": "3.224.0",
26
+ "@aws-sdk/hash-node": "3.224.0",
27
+ "@aws-sdk/invalid-dependency": "3.224.0",
28
+ "@aws-sdk/middleware-content-length": "3.224.0",
29
+ "@aws-sdk/middleware-endpoint": "3.224.0",
30
+ "@aws-sdk/middleware-host-header": "3.224.0",
31
+ "@aws-sdk/middleware-logger": "3.224.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.224.0",
33
+ "@aws-sdk/middleware-retry": "3.224.0",
34
+ "@aws-sdk/middleware-serde": "3.224.0",
35
+ "@aws-sdk/middleware-signing": "3.224.0",
36
+ "@aws-sdk/middleware-stack": "3.224.0",
37
+ "@aws-sdk/middleware-user-agent": "3.224.0",
38
+ "@aws-sdk/node-config-provider": "3.224.0",
39
+ "@aws-sdk/node-http-handler": "3.224.0",
40
+ "@aws-sdk/protocol-http": "3.224.0",
41
+ "@aws-sdk/smithy-client": "3.224.0",
42
+ "@aws-sdk/types": "3.224.0",
43
+ "@aws-sdk/url-parser": "3.224.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.222.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.222.0",
49
- "@aws-sdk/util-endpoints": "3.222.0",
50
- "@aws-sdk/util-user-agent-browser": "3.222.0",
51
- "@aws-sdk/util-user-agent-node": "3.222.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.224.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.224.0",
49
+ "@aws-sdk/util-endpoints": "3.224.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.224.0",
51
+ "@aws-sdk/util-user-agent-node": "3.224.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1",