@aws-sdk/client-connect 3.398.0 → 3.405.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 (144) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Connect.js +18 -0
  3. package/dist-cjs/commands/CreateViewCommand.js +47 -0
  4. package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteViewCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeViewCommand.js +47 -0
  8. package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
  9. package/dist-cjs/commands/ListViewsCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
  11. package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +66 -6
  14. package/dist-cjs/models/models_1.js +25 -1
  15. package/dist-cjs/models/models_2.js +18 -1
  16. package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +713 -20
  20. package/dist-es/Connect.js +18 -0
  21. package/dist-es/commands/CreateViewCommand.js +43 -0
  22. package/dist-es/commands/CreateViewVersionCommand.js +43 -0
  23. package/dist-es/commands/DeleteViewCommand.js +42 -0
  24. package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
  25. package/dist-es/commands/DescribeViewCommand.js +43 -0
  26. package/dist-es/commands/ListViewVersionsCommand.js +43 -0
  27. package/dist-es/commands/ListViewsCommand.js +43 -0
  28. package/dist-es/commands/UpdateViewContentCommand.js +43 -0
  29. package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/models/models_0.js +57 -5
  32. package/dist-es/models/models_1.js +20 -0
  33. package/dist-es/models/models_2.js +14 -0
  34. package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
  35. package/dist-es/pagination/ListViewsPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_restJson1.js +687 -13
  38. package/dist-types/Connect.d.ts +63 -0
  39. package/dist-types/ConnectClient.d.ts +11 -2
  40. package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
  41. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
  42. package/dist-types/commands/CreateViewCommand.d.ts +140 -0
  43. package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
  44. package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
  45. package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
  46. package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
  47. package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
  48. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  49. package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
  50. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  53. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  54. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  58. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  59. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
  60. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
  61. package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
  62. package/dist-types/commands/ListViewsCommand.d.ts +105 -0
  63. package/dist-types/commands/StopContactCommand.d.ts +5 -3
  64. package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
  65. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
  69. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
  81. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
  84. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
  85. package/dist-types/commands/index.d.ts +9 -0
  86. package/dist-types/models/models_0.d.ts +359 -317
  87. package/dist-types/models/models_1.d.ts +478 -553
  88. package/dist-types/models/models_2.d.ts +632 -2
  89. package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +2 -0
  92. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  93. package/dist-types/ts3.4/Connect.d.ts +153 -0
  94. package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
  95. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
  96. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
  98. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
  100. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
  101. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
  113. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
  136. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +117 -90
  138. package/dist-types/ts3.4/models/models_1.d.ts +121 -135
  139. package/dist-types/ts3.4/models/models_2.d.ts +171 -1
  140. package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  144. package/package.json +7 -7
@@ -1080,6 +1080,89 @@ export interface CreateUserHierarchyGroupResponse {
1080
1080
  HierarchyGroupId?: string;
1081
1081
  HierarchyGroupArn?: string;
1082
1082
  }
1083
+ export interface ViewInputContent {
1084
+ Template?: string;
1085
+ Actions?: string[];
1086
+ }
1087
+ export declare const ViewStatus: {
1088
+ readonly PUBLISHED: "PUBLISHED";
1089
+ readonly SAVED: "SAVED";
1090
+ };
1091
+ export type ViewStatus = (typeof ViewStatus)[keyof typeof ViewStatus];
1092
+ export interface CreateViewRequest {
1093
+ InstanceId: string | undefined;
1094
+ ClientToken?: string;
1095
+ Status: ViewStatus | string | undefined;
1096
+ Content: ViewInputContent | undefined;
1097
+ Description?: string;
1098
+ Name: string | undefined;
1099
+ Tags?: Record<string, string>;
1100
+ }
1101
+ export interface ViewContent {
1102
+ InputSchema?: string;
1103
+ Template?: string;
1104
+ Actions?: string[];
1105
+ }
1106
+ export declare const ViewType: {
1107
+ readonly AWS_MANAGED: "AWS_MANAGED";
1108
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
1109
+ };
1110
+ export type ViewType = (typeof ViewType)[keyof typeof ViewType];
1111
+ export interface View {
1112
+ Id?: string;
1113
+ Arn?: string;
1114
+ Name?: string;
1115
+ Status?: ViewStatus | string;
1116
+ Type?: ViewType | string;
1117
+ Description?: string;
1118
+ Version?: number;
1119
+ VersionDescription?: string;
1120
+ Content?: ViewContent;
1121
+ Tags?: Record<string, string>;
1122
+ CreatedTime?: Date;
1123
+ LastModifiedTime?: Date;
1124
+ ViewContentSha256?: string;
1125
+ }
1126
+ export interface CreateViewResponse {
1127
+ View?: View;
1128
+ }
1129
+ export declare const ResourceType: {
1130
+ readonly CONTACT: "CONTACT";
1131
+ readonly CONTACT_FLOW: "CONTACT_FLOW";
1132
+ readonly HIERARCHY_GROUP: "HIERARCHY_GROUP";
1133
+ readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
1134
+ readonly INSTANCE: "INSTANCE";
1135
+ readonly PARTICIPANT: "PARTICIPANT";
1136
+ readonly USER: "USER";
1137
+ };
1138
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
1139
+ export declare class ResourceInUseException extends __BaseException {
1140
+ readonly name: "ResourceInUseException";
1141
+ readonly $fault: "client";
1142
+ Message?: string;
1143
+ ResourceType?: ResourceType | string;
1144
+ ResourceId?: string;
1145
+ constructor(
1146
+ opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
1147
+ );
1148
+ }
1149
+ export declare class TooManyRequestsException extends __BaseException {
1150
+ readonly name: "TooManyRequestsException";
1151
+ readonly $fault: "client";
1152
+ Message?: string;
1153
+ constructor(
1154
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
1155
+ );
1156
+ }
1157
+ export interface CreateViewVersionRequest {
1158
+ InstanceId: string | undefined;
1159
+ ViewId: string | undefined;
1160
+ VersionDescription?: string;
1161
+ ViewContentSha256?: string;
1162
+ }
1163
+ export interface CreateViewVersionResponse {
1164
+ View?: View;
1165
+ }
1083
1166
  export interface CreateVocabularyRequest {
1084
1167
  ClientToken?: string;
1085
1168
  InstanceId: string | undefined;
@@ -1149,26 +1232,6 @@ export interface DeleteQueueRequest {
1149
1232
  InstanceId: string | undefined;
1150
1233
  QueueId: string | undefined;
1151
1234
  }
1152
- export declare const ResourceType: {
1153
- readonly CONTACT: "CONTACT";
1154
- readonly CONTACT_FLOW: "CONTACT_FLOW";
1155
- readonly HIERARCHY_GROUP: "HIERARCHY_GROUP";
1156
- readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
1157
- readonly INSTANCE: "INSTANCE";
1158
- readonly PARTICIPANT: "PARTICIPANT";
1159
- readonly USER: "USER";
1160
- };
1161
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
1162
- export declare class ResourceInUseException extends __BaseException {
1163
- readonly name: "ResourceInUseException";
1164
- readonly $fault: "client";
1165
- Message?: string;
1166
- ResourceType?: ResourceType | string;
1167
- ResourceId?: string;
1168
- constructor(
1169
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
1170
- );
1171
- }
1172
1235
  export interface DeleteQuickConnectRequest {
1173
1236
  InstanceId: string | undefined;
1174
1237
  QuickConnectId: string | undefined;
@@ -1207,6 +1270,17 @@ export interface DeleteUserHierarchyGroupRequest {
1207
1270
  HierarchyGroupId: string | undefined;
1208
1271
  InstanceId: string | undefined;
1209
1272
  }
1273
+ export interface DeleteViewRequest {
1274
+ InstanceId: string | undefined;
1275
+ ViewId: string | undefined;
1276
+ }
1277
+ export interface DeleteViewResponse {}
1278
+ export interface DeleteViewVersionRequest {
1279
+ InstanceId: string | undefined;
1280
+ ViewId: string | undefined;
1281
+ ViewVersion: number | undefined;
1282
+ }
1283
+ export interface DeleteViewVersionResponse {}
1210
1284
  export interface DeleteVocabularyRequest {
1211
1285
  InstanceId: string | undefined;
1212
1286
  VocabularyId: string | undefined;
@@ -1963,85 +2037,38 @@ export interface HierarchyStructure {
1963
2037
  export interface DescribeUserHierarchyStructureResponse {
1964
2038
  HierarchyStructure?: HierarchyStructure;
1965
2039
  }
1966
- export interface DescribeVocabularyRequest {
1967
- InstanceId: string | undefined;
1968
- VocabularyId: string | undefined;
1969
- }
1970
- export interface Vocabulary {
1971
- Name: string | undefined;
1972
- Id: string | undefined;
1973
- Arn: string | undefined;
1974
- LanguageCode: VocabularyLanguageCode | string | undefined;
1975
- State: VocabularyState | string | undefined;
1976
- LastModifiedTime: Date | undefined;
1977
- FailureReason?: string;
1978
- Content?: string;
1979
- Tags?: Record<string, string>;
1980
- }
1981
- export interface DescribeVocabularyResponse {
1982
- Vocabulary: Vocabulary | undefined;
1983
- }
1984
- export interface DisassociateApprovedOriginRequest {
1985
- InstanceId: string | undefined;
1986
- Origin: string | undefined;
1987
- }
1988
- export interface DisassociateBotRequest {
1989
- InstanceId: string | undefined;
1990
- LexBot?: LexBot;
1991
- LexV2Bot?: LexV2Bot;
1992
- }
1993
- export interface DisassociateInstanceStorageConfigRequest {
1994
- InstanceId: string | undefined;
1995
- AssociationId: string | undefined;
1996
- ResourceType: InstanceStorageResourceType | string | undefined;
1997
- }
1998
- export interface DisassociateLambdaFunctionRequest {
1999
- InstanceId: string | undefined;
2000
- FunctionArn: string | undefined;
2001
- }
2002
- export interface DisassociateLexBotRequest {
2003
- InstanceId: string | undefined;
2004
- BotName: string | undefined;
2005
- LexRegion: string | undefined;
2006
- }
2007
- export interface DisassociatePhoneNumberContactFlowRequest {
2008
- PhoneNumberId: string | undefined;
2009
- InstanceId: string | undefined;
2010
- }
2011
- export interface DisassociateQueueQuickConnectsRequest {
2012
- InstanceId: string | undefined;
2013
- QueueId: string | undefined;
2014
- QuickConnectIds: string[] | undefined;
2015
- }
2016
- export interface DisassociateRoutingProfileQueuesRequest {
2017
- InstanceId: string | undefined;
2018
- RoutingProfileId: string | undefined;
2019
- QueueReferences: RoutingProfileQueueReference[] | undefined;
2020
- }
2021
- export interface DisassociateSecurityKeyRequest {
2022
- InstanceId: string | undefined;
2023
- AssociationId: string | undefined;
2024
- }
2025
- export interface DisassociateTrafficDistributionGroupUserRequest {
2026
- TrafficDistributionGroupId: string | undefined;
2027
- UserId: string | undefined;
2040
+ export interface DescribeViewRequest {
2028
2041
  InstanceId: string | undefined;
2042
+ ViewId: string | undefined;
2029
2043
  }
2030
- export interface DisassociateTrafficDistributionGroupUserResponse {}
2031
- export interface DismissUserContactRequest {
2032
- UserId: string | undefined;
2033
- InstanceId: string | undefined;
2034
- ContactId: string | undefined;
2044
+ export interface DescribeViewResponse {
2045
+ View?: View;
2035
2046
  }
2036
- export interface DismissUserContactResponse {}
2037
- export interface GetContactAttributesRequest {
2047
+ export interface DescribeVocabularyRequest {
2038
2048
  InstanceId: string | undefined;
2039
- InitialContactId: string | undefined;
2049
+ VocabularyId: string | undefined;
2040
2050
  }
2041
2051
  export declare const CreateInstanceRequestFilterSensitiveLog: (
2042
2052
  obj: CreateInstanceRequest
2043
2053
  ) => any;
2054
+ export declare const ViewInputContentFilterSensitiveLog: (
2055
+ obj: ViewInputContent
2056
+ ) => any;
2057
+ export declare const CreateViewRequestFilterSensitiveLog: (
2058
+ obj: CreateViewRequest
2059
+ ) => any;
2060
+ export declare const ViewContentFilterSensitiveLog: (obj: ViewContent) => any;
2061
+ export declare const ViewFilterSensitiveLog: (obj: View) => any;
2062
+ export declare const CreateViewResponseFilterSensitiveLog: (
2063
+ obj: CreateViewResponse
2064
+ ) => any;
2065
+ export declare const CreateViewVersionResponseFilterSensitiveLog: (
2066
+ obj: CreateViewVersionResponse
2067
+ ) => any;
2044
2068
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
2045
2069
  export declare const DescribeInstanceResponseFilterSensitiveLog: (
2046
2070
  obj: DescribeInstanceResponse
2047
2071
  ) => any;
2072
+ export declare const DescribeViewResponseFilterSensitiveLog: (
2073
+ obj: DescribeViewResponse
2074
+ ) => any;
@@ -2,7 +2,6 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import {
4
4
  ActionSummary,
5
- AgentAvailabilityTimer,
6
5
  AgentConfig,
7
6
  AgentContactReference,
8
7
  AgentStatusReference,
@@ -33,23 +32,18 @@ import {
33
32
  IntegrationType,
34
33
  LexBot,
35
34
  LexV2Bot,
36
- MediaConcurrency,
37
35
  MonitorCapability,
38
- OutboundCallerConfig,
39
36
  PhoneNumberCountryCode,
40
37
  PhoneNumberType,
41
38
  Prompt,
42
39
  Queue,
43
40
  QueueReference,
44
- QueueStatus,
45
41
  QuickConnect,
46
- QuickConnectConfig,
47
42
  QuickConnectType,
48
43
  Reference,
49
44
  ReferenceType,
50
45
  RoutingProfile,
51
- RoutingProfileQueueConfig,
52
- RuleAction,
46
+ RoutingProfileQueueReference,
53
47
  RulePublishStatus,
54
48
  SourceType,
55
49
  TaskTemplateConstraints,
@@ -59,9 +53,82 @@ import {
59
53
  TrafficDistributionGroupStatus,
60
54
  UseCaseType,
61
55
  UserPhoneConfig,
56
+ ViewStatus,
57
+ ViewType,
62
58
  VocabularyLanguageCode,
63
59
  VocabularyState,
64
60
  } from "./models_0";
61
+ export interface Vocabulary {
62
+ Name: string | undefined;
63
+ Id: string | undefined;
64
+ Arn: string | undefined;
65
+ LanguageCode: VocabularyLanguageCode | string | undefined;
66
+ State: VocabularyState | string | undefined;
67
+ LastModifiedTime: Date | undefined;
68
+ FailureReason?: string;
69
+ Content?: string;
70
+ Tags?: Record<string, string>;
71
+ }
72
+ export interface DescribeVocabularyResponse {
73
+ Vocabulary: Vocabulary | undefined;
74
+ }
75
+ export interface DisassociateApprovedOriginRequest {
76
+ InstanceId: string | undefined;
77
+ Origin: string | undefined;
78
+ }
79
+ export interface DisassociateBotRequest {
80
+ InstanceId: string | undefined;
81
+ LexBot?: LexBot;
82
+ LexV2Bot?: LexV2Bot;
83
+ }
84
+ export interface DisassociateInstanceStorageConfigRequest {
85
+ InstanceId: string | undefined;
86
+ AssociationId: string | undefined;
87
+ ResourceType: InstanceStorageResourceType | string | undefined;
88
+ }
89
+ export interface DisassociateLambdaFunctionRequest {
90
+ InstanceId: string | undefined;
91
+ FunctionArn: string | undefined;
92
+ }
93
+ export interface DisassociateLexBotRequest {
94
+ InstanceId: string | undefined;
95
+ BotName: string | undefined;
96
+ LexRegion: string | undefined;
97
+ }
98
+ export interface DisassociatePhoneNumberContactFlowRequest {
99
+ PhoneNumberId: string | undefined;
100
+ InstanceId: string | undefined;
101
+ }
102
+ export interface DisassociateQueueQuickConnectsRequest {
103
+ InstanceId: string | undefined;
104
+ QueueId: string | undefined;
105
+ QuickConnectIds: string[] | undefined;
106
+ }
107
+ export interface DisassociateRoutingProfileQueuesRequest {
108
+ InstanceId: string | undefined;
109
+ RoutingProfileId: string | undefined;
110
+ QueueReferences: RoutingProfileQueueReference[] | undefined;
111
+ }
112
+ export interface DisassociateSecurityKeyRequest {
113
+ InstanceId: string | undefined;
114
+ AssociationId: string | undefined;
115
+ }
116
+ export interface DisassociateTrafficDistributionGroupUserRequest {
117
+ TrafficDistributionGroupId: string | undefined;
118
+ UserId: string | undefined;
119
+ InstanceId: string | undefined;
120
+ }
121
+ export interface DisassociateTrafficDistributionGroupUserResponse {}
122
+ export interface DismissUserContactRequest {
123
+ UserId: string | undefined;
124
+ InstanceId: string | undefined;
125
+ ContactId: string | undefined;
126
+ }
127
+ export interface DismissUserContactResponse {}
128
+ export interface GetContactAttributesRequest {
129
+ InstanceId: string | undefined;
130
+ InitialContactId: string | undefined;
131
+ }
65
132
  export interface GetContactAttributesResponse {
66
133
  Attributes?: Record<string, string>;
67
134
  }
@@ -1019,6 +1086,43 @@ export interface ListUsersResponse {
1019
1086
  UserSummaryList?: UserSummary[];
1020
1087
  NextToken?: string;
1021
1088
  }
1089
+ export interface ListViewsRequest {
1090
+ InstanceId: string | undefined;
1091
+ Type?: ViewType | string;
1092
+ NextToken?: string;
1093
+ MaxResults?: number;
1094
+ }
1095
+ export interface ViewSummary {
1096
+ Id?: string;
1097
+ Arn?: string;
1098
+ Name?: string;
1099
+ Type?: ViewType | string;
1100
+ Status?: ViewStatus | string;
1101
+ Description?: string;
1102
+ }
1103
+ export interface ListViewsResponse {
1104
+ ViewsSummaryList?: ViewSummary[];
1105
+ NextToken?: string;
1106
+ }
1107
+ export interface ListViewVersionsRequest {
1108
+ InstanceId: string | undefined;
1109
+ ViewId: string | undefined;
1110
+ NextToken?: string;
1111
+ MaxResults?: number;
1112
+ }
1113
+ export interface ViewVersionSummary {
1114
+ Id?: string;
1115
+ Arn?: string;
1116
+ Description?: string;
1117
+ Name?: string;
1118
+ Type?: ViewType | string;
1119
+ Version?: number;
1120
+ VersionDescription?: string;
1121
+ }
1122
+ export interface ListViewVersionsResponse {
1123
+ ViewVersionSummaryList?: ViewVersionSummary[];
1124
+ NextToken?: string;
1125
+ }
1022
1126
  export interface MonitorContactRequest {
1023
1127
  InstanceId: string | undefined;
1024
1128
  ContactId: string | undefined;
@@ -1633,134 +1737,6 @@ export interface UpdatePromptRequest {
1633
1737
  Description?: string;
1634
1738
  S3Uri?: string;
1635
1739
  }
1636
- export interface UpdatePromptResponse {
1637
- PromptARN?: string;
1638
- PromptId?: string;
1639
- }
1640
- export interface UpdateQueueHoursOfOperationRequest {
1641
- InstanceId: string | undefined;
1642
- QueueId: string | undefined;
1643
- HoursOfOperationId: string | undefined;
1644
- }
1645
- export interface UpdateQueueMaxContactsRequest {
1646
- InstanceId: string | undefined;
1647
- QueueId: string | undefined;
1648
- MaxContacts?: number;
1649
- }
1650
- export interface UpdateQueueNameRequest {
1651
- InstanceId: string | undefined;
1652
- QueueId: string | undefined;
1653
- Name?: string;
1654
- Description?: string;
1655
- }
1656
- export interface UpdateQueueOutboundCallerConfigRequest {
1657
- InstanceId: string | undefined;
1658
- QueueId: string | undefined;
1659
- OutboundCallerConfig: OutboundCallerConfig | undefined;
1660
- }
1661
- export interface UpdateQueueStatusRequest {
1662
- InstanceId: string | undefined;
1663
- QueueId: string | undefined;
1664
- Status: QueueStatus | string | undefined;
1665
- }
1666
- export interface UpdateQuickConnectConfigRequest {
1667
- InstanceId: string | undefined;
1668
- QuickConnectId: string | undefined;
1669
- QuickConnectConfig: QuickConnectConfig | undefined;
1670
- }
1671
- export interface UpdateQuickConnectNameRequest {
1672
- InstanceId: string | undefined;
1673
- QuickConnectId: string | undefined;
1674
- Name?: string;
1675
- Description?: string;
1676
- }
1677
- export interface UpdateRoutingProfileAgentAvailabilityTimerRequest {
1678
- InstanceId: string | undefined;
1679
- RoutingProfileId: string | undefined;
1680
- AgentAvailabilityTimer: AgentAvailabilityTimer | string | undefined;
1681
- }
1682
- export interface UpdateRoutingProfileConcurrencyRequest {
1683
- InstanceId: string | undefined;
1684
- RoutingProfileId: string | undefined;
1685
- MediaConcurrencies: MediaConcurrency[] | undefined;
1686
- }
1687
- export interface UpdateRoutingProfileDefaultOutboundQueueRequest {
1688
- InstanceId: string | undefined;
1689
- RoutingProfileId: string | undefined;
1690
- DefaultOutboundQueueId: string | undefined;
1691
- }
1692
- export interface UpdateRoutingProfileNameRequest {
1693
- InstanceId: string | undefined;
1694
- RoutingProfileId: string | undefined;
1695
- Name?: string;
1696
- Description?: string;
1697
- }
1698
- export interface UpdateRoutingProfileQueuesRequest {
1699
- InstanceId: string | undefined;
1700
- RoutingProfileId: string | undefined;
1701
- QueueConfigs: RoutingProfileQueueConfig[] | undefined;
1702
- }
1703
- export interface UpdateRuleRequest {
1704
- RuleId: string | undefined;
1705
- InstanceId: string | undefined;
1706
- Name: string | undefined;
1707
- Function: string | undefined;
1708
- Actions: RuleAction[] | undefined;
1709
- PublishStatus: RulePublishStatus | string | undefined;
1710
- }
1711
- export interface UpdateSecurityProfileRequest {
1712
- Description?: string;
1713
- Permissions?: string[];
1714
- SecurityProfileId: string | undefined;
1715
- InstanceId: string | undefined;
1716
- AllowedAccessControlTags?: Record<string, string>;
1717
- TagRestrictedResources?: string[];
1718
- }
1719
- export interface UpdateTaskTemplateRequest {
1720
- TaskTemplateId: string | undefined;
1721
- InstanceId: string | undefined;
1722
- Name?: string;
1723
- Description?: string;
1724
- ContactFlowId?: string;
1725
- Constraints?: TaskTemplateConstraints;
1726
- Defaults?: TaskTemplateDefaults;
1727
- Status?: TaskTemplateStatus | string;
1728
- Fields?: TaskTemplateField[];
1729
- }
1730
- export interface UpdateTaskTemplateResponse {
1731
- InstanceId?: string;
1732
- Id?: string;
1733
- Arn?: string;
1734
- Name?: string;
1735
- Description?: string;
1736
- ContactFlowId?: string;
1737
- Constraints?: TaskTemplateConstraints;
1738
- Defaults?: TaskTemplateDefaults;
1739
- Fields?: TaskTemplateField[];
1740
- Status?: TaskTemplateStatus | string;
1741
- LastModifiedTime?: Date;
1742
- CreatedTime?: Date;
1743
- }
1744
- export interface UpdateTrafficDistributionRequest {
1745
- Id: string | undefined;
1746
- TelephonyConfig?: TelephonyConfig;
1747
- SignInConfig?: SignInConfig;
1748
- AgentConfig?: AgentConfig;
1749
- }
1750
- export interface UpdateTrafficDistributionResponse {}
1751
- export interface UpdateUserHierarchyRequest {
1752
- HierarchyGroupId?: string;
1753
- UserId: string | undefined;
1754
- InstanceId: string | undefined;
1755
- }
1756
- export interface UpdateUserHierarchyGroupNameRequest {
1757
- Name: string | undefined;
1758
- HierarchyGroupId: string | undefined;
1759
- InstanceId: string | undefined;
1760
- }
1761
- export interface HierarchyLevelUpdate {
1762
- Name: string | undefined;
1763
- }
1764
1740
  export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1765
1741
  export declare const GetFederationTokenResponseFilterSensitiveLog: (
1766
1742
  obj: GetFederationTokenResponse
@@ -1771,6 +1747,16 @@ export declare const InstanceSummaryFilterSensitiveLog: (
1771
1747
  export declare const ListInstancesResponseFilterSensitiveLog: (
1772
1748
  obj: ListInstancesResponse
1773
1749
  ) => any;
1750
+ export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
1751
+ export declare const ListViewsResponseFilterSensitiveLog: (
1752
+ obj: ListViewsResponse
1753
+ ) => any;
1754
+ export declare const ViewVersionSummaryFilterSensitiveLog: (
1755
+ obj: ViewVersionSummary
1756
+ ) => any;
1757
+ export declare const ListViewVersionsResponseFilterSensitiveLog: (
1758
+ obj: ListViewVersionsResponse
1759
+ ) => any;
1774
1760
  export declare const ReplicateInstanceRequestFilterSensitiveLog: (
1775
1761
  obj: ReplicateInstanceRequest
1776
1762
  ) => any;