@aws-sdk/client-connect 3.150.0 → 3.154.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 (57) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/Connect.js +15 -0
  4. package/dist-cjs/commands/SearchSecurityProfilesCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_1.js +32 -12
  7. package/dist-cjs/pagination/SearchSecurityProfilesPaginator.js +36 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +134 -5
  10. package/dist-es/Connect.js +15 -0
  11. package/dist-es/commands/SearchSecurityProfilesCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/models/models_1.js +11 -6
  14. package/dist-es/pagination/SearchSecurityProfilesPaginator.js +75 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_restJson1.js +148 -0
  17. package/dist-types/Connect.d.ts +46 -46
  18. package/dist-types/ConnectClient.d.ts +4 -3
  19. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateContactFlowCommand.d.ts +2 -2
  21. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteContactFlowCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeContactFlowCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  26. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  27. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -2
  28. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListContactFlowsCommand.d.ts +3 -3
  30. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -1
  31. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +36 -0
  32. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  33. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -5
  34. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  35. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  36. package/dist-types/commands/TransferContactCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -9
  38. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +2 -2
  39. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +2 -2
  43. package/dist-types/commands/index.d.ts +1 -0
  44. package/dist-types/models/models_0.d.ts +91 -88
  45. package/dist-types/models/models_1.d.ts +185 -61
  46. package/dist-types/pagination/SearchSecurityProfilesPaginator.d.ts +4 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  49. package/dist-types/ts3.4/Connect.d.ts +5 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +3 -2
  51. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  53. package/dist-types/ts3.4/models/models_1.d.ts +72 -13
  54. package/dist-types/ts3.4/pagination/SearchSecurityProfilesPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  57. package/package.json +4 -4
@@ -325,17 +325,6 @@ export interface SearchAvailablePhoneNumbersResponse {
325
325
 
326
326
  AvailableNumbersList?: AvailableNumberSummary[];
327
327
  }
328
- export declare enum HierarchyGroupMatchType {
329
- EXACT = "EXACT",
330
- WITH_CHILD_GROUPS = "WITH_CHILD_GROUPS"
331
- }
332
-
333
- export interface HierarchyGroupCondition {
334
-
335
- Value?: string;
336
-
337
- HierarchyGroupMatchType?: HierarchyGroupMatchType | string;
338
- }
339
328
  export declare enum StringComparisonType {
340
329
  CONTAINS = "CONTAINS",
341
330
  EXACT = "EXACT",
@@ -367,6 +356,45 @@ export interface ControlPlaneTagFilter {
367
356
  TagCondition?: TagCondition;
368
357
  }
369
358
 
359
+ export interface SecurityProfilesSearchFilter {
360
+
361
+ TagFilter?: ControlPlaneTagFilter;
362
+ }
363
+
364
+ export interface SecurityProfileSearchSummary {
365
+
366
+ Id?: string;
367
+
368
+ OrganizationResourceId?: string;
369
+
370
+ Arn?: string;
371
+
372
+ SecurityProfileName?: string;
373
+
374
+ Description?: string;
375
+
376
+ Tags?: Record<string, string>;
377
+ }
378
+ export interface SearchSecurityProfilesResponse {
379
+
380
+ SecurityProfiles?: SecurityProfileSearchSummary[];
381
+
382
+ NextToken?: string;
383
+
384
+ ApproximateTotalCount?: number;
385
+ }
386
+ export declare enum HierarchyGroupMatchType {
387
+ EXACT = "EXACT",
388
+ WITH_CHILD_GROUPS = "WITH_CHILD_GROUPS"
389
+ }
390
+
391
+ export interface HierarchyGroupCondition {
392
+
393
+ Value?: string;
394
+
395
+ HierarchyGroupMatchType?: HierarchyGroupMatchType | string;
396
+ }
397
+
370
398
  export interface UserSearchFilter {
371
399
 
372
400
  TagFilter?: ControlPlaneTagFilter;
@@ -1067,6 +1095,15 @@ export interface UpdateUserSecurityProfilesRequest {
1067
1095
  InstanceId: string | undefined;
1068
1096
  }
1069
1097
 
1098
+ export interface SecurityProfileSearchCriteria {
1099
+
1100
+ OrConditions?: SecurityProfileSearchCriteria[];
1101
+
1102
+ AndConditions?: SecurityProfileSearchCriteria[];
1103
+
1104
+ StringCondition?: StringCondition;
1105
+ }
1106
+
1070
1107
  export interface UserSearchCriteria {
1071
1108
 
1072
1109
  OrConditions?: UserSearchCriteria[];
@@ -1077,6 +1114,18 @@ export interface UserSearchCriteria {
1077
1114
 
1078
1115
  HierarchyGroupCondition?: HierarchyGroupCondition;
1079
1116
  }
1117
+ export interface SearchSecurityProfilesRequest {
1118
+
1119
+ InstanceId: string | undefined;
1120
+
1121
+ NextToken?: string;
1122
+
1123
+ MaxResults?: number;
1124
+
1125
+ SearchCriteria?: SecurityProfileSearchCriteria;
1126
+
1127
+ SearchFilter?: SecurityProfilesSearchFilter;
1128
+ }
1080
1129
  export interface SearchUsersRequest {
1081
1130
 
1082
1131
  InstanceId?: string;
@@ -1170,14 +1219,20 @@ export declare const AvailableNumberSummaryFilterSensitiveLog: (obj: AvailableNu
1170
1219
 
1171
1220
  export declare const SearchAvailablePhoneNumbersResponseFilterSensitiveLog: (obj: SearchAvailablePhoneNumbersResponse) => any;
1172
1221
 
1173
- export declare const HierarchyGroupConditionFilterSensitiveLog: (obj: HierarchyGroupCondition) => any;
1174
-
1175
1222
  export declare const StringConditionFilterSensitiveLog: (obj: StringCondition) => any;
1176
1223
 
1177
1224
  export declare const TagConditionFilterSensitiveLog: (obj: TagCondition) => any;
1178
1225
 
1179
1226
  export declare const ControlPlaneTagFilterFilterSensitiveLog: (obj: ControlPlaneTagFilter) => any;
1180
1227
 
1228
+ export declare const SecurityProfilesSearchFilterFilterSensitiveLog: (obj: SecurityProfilesSearchFilter) => any;
1229
+
1230
+ export declare const SecurityProfileSearchSummaryFilterSensitiveLog: (obj: SecurityProfileSearchSummary) => any;
1231
+
1232
+ export declare const SearchSecurityProfilesResponseFilterSensitiveLog: (obj: SearchSecurityProfilesResponse) => any;
1233
+
1234
+ export declare const HierarchyGroupConditionFilterSensitiveLog: (obj: HierarchyGroupCondition) => any;
1235
+
1181
1236
  export declare const UserSearchFilterFilterSensitiveLog: (obj: UserSearchFilter) => any;
1182
1237
 
1183
1238
  export declare const UserIdentityInfoLiteFilterSensitiveLog: (obj: UserIdentityInfoLite) => any;
@@ -1332,6 +1387,10 @@ export declare const UpdateUserRoutingProfileRequestFilterSensitiveLog: (obj: Up
1332
1387
 
1333
1388
  export declare const UpdateUserSecurityProfilesRequestFilterSensitiveLog: (obj: UpdateUserSecurityProfilesRequest) => any;
1334
1389
 
1390
+ export declare const SecurityProfileSearchCriteriaFilterSensitiveLog: (obj: SecurityProfileSearchCriteria) => any;
1391
+
1335
1392
  export declare const UserSearchCriteriaFilterSensitiveLog: (obj: UserSearchCriteria) => any;
1336
1393
 
1394
+ export declare const SearchSecurityProfilesRequestFilterSensitiveLog: (obj: SearchSecurityProfilesRequest) => any;
1395
+
1337
1396
  export declare const SearchUsersRequestFilterSensitiveLog: (obj: SearchUsersRequest) => any;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "../commands/SearchSecurityProfilesCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchSecurityProfiles(config: ConnectPaginationConfiguration, input: SearchSecurityProfilesCommandInput, ...additionalArguments: any): Paginator<SearchSecurityProfilesCommandOutput>;
@@ -32,5 +32,6 @@ export * from "./ListUseCasesPaginator";
32
32
  export * from "./ListUserHierarchyGroupsPaginator";
33
33
  export * from "./ListUsersPaginator";
34
34
  export * from "./SearchAvailablePhoneNumbersPaginator";
35
+ export * from "./SearchSecurityProfilesPaginator";
35
36
  export * from "./SearchUsersPaginator";
36
37
  export * from "./SearchVocabulariesPaginator";
@@ -104,6 +104,7 @@ import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "../comman
104
104
  import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
105
105
  import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
106
106
  import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
107
+ import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "../commands/SearchSecurityProfilesCommand";
107
108
  import { SearchUsersCommandInput, SearchUsersCommandOutput } from "../commands/SearchUsersCommand";
108
109
  import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "../commands/SearchVocabulariesCommand";
109
110
  import { StartChatContactCommandInput, StartChatContactCommandOutput } from "../commands/StartChatContactCommand";
@@ -255,6 +256,7 @@ export declare const serializeAws_restJson1PutUserStatusCommand: (input: PutUser
255
256
  export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
256
257
  export declare const serializeAws_restJson1ResumeContactRecordingCommand: (input: ResumeContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
257
258
  export declare const serializeAws_restJson1SearchAvailablePhoneNumbersCommand: (input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
259
+ export declare const serializeAws_restJson1SearchSecurityProfilesCommand: (input: SearchSecurityProfilesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
258
260
  export declare const serializeAws_restJson1SearchUsersCommand: (input: SearchUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
259
261
  export declare const serializeAws_restJson1SearchVocabulariesCommand: (input: SearchVocabulariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
260
262
  export declare const serializeAws_restJson1StartChatContactCommand: (input: StartChatContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -406,6 +408,7 @@ export declare const deserializeAws_restJson1PutUserStatusCommand: (output: __Ht
406
408
  export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
407
409
  export declare const deserializeAws_restJson1ResumeContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactRecordingCommandOutput>;
408
410
  export declare const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
411
+ export declare const deserializeAws_restJson1SearchSecurityProfilesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchSecurityProfilesCommandOutput>;
409
412
  export declare const deserializeAws_restJson1SearchUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchUsersCommandOutput>;
410
413
  export declare const deserializeAws_restJson1SearchVocabulariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchVocabulariesCommandOutput>;
411
414
  export declare const deserializeAws_restJson1StartChatContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartChatContactCommandOutput>;
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.150.0",
4
+ "version": "3.154.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.150.0",
21
+ "@aws-sdk/client-sts": "3.154.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.150.0",
23
+ "@aws-sdk/credential-provider-node": "3.154.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -41,7 +41,7 @@
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
- "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.142.0",