@aws-sdk/client-connect 3.439.0 → 3.441.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 (72) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/BatchGetFlowAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/DescribeViewCommand.js +2 -2
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +6 -7
  7. package/dist-cjs/models/models_1.js +7 -14
  8. package/dist-cjs/models/models_2.js +14 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +464 -34
  10. package/dist-es/Connect.js +2 -0
  11. package/dist-es/commands/BatchGetFlowAssociationCommand.js +47 -0
  12. package/dist-es/commands/DescribeViewCommand.js +1 -1
  13. package/dist-es/commands/index.js +1 -0
  14. package/dist-es/models/models_0.js +4 -4
  15. package/dist-es/models/models_1.js +5 -13
  16. package/dist-es/models/models_2.js +13 -0
  17. package/dist-es/protocols/Aws_restJson1.js +453 -25
  18. package/dist-types/Connect.d.ts +7 -0
  19. package/dist-types/ConnectClient.d.ts +3 -2
  20. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +101 -0
  21. package/dist-types/commands/CreateViewCommand.d.ts +5 -7
  22. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteViewCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
  25. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribePromptCommand.d.ts +2 -0
  27. package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
  28. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
  29. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
  31. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  32. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +12 -0
  33. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +12 -1
  34. package/dist-types/commands/DescribeViewCommand.d.ts +5 -5
  35. package/dist-types/commands/GetPromptFileCommand.d.ts +2 -0
  36. package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
  37. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +2 -0
  38. package/dist-types/commands/ListPromptsCommand.d.ts +2 -0
  39. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +4 -0
  40. package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
  41. package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -0
  42. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
  43. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
  44. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +2 -0
  45. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
  46. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +2 -0
  47. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
  48. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  49. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -2
  50. package/dist-types/commands/ReplicateInstanceCommand.d.ts +3 -1
  51. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -0
  52. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -0
  53. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
  54. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -0
  55. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
  56. package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -6
  57. package/dist-types/commands/index.d.ts +1 -0
  58. package/dist-types/models/models_0.d.ts +212 -102
  59. package/dist-types/models/models_1.d.ts +201 -111
  60. package/dist-types/models/models_2.d.ts +106 -11
  61. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  62. package/dist-types/ts3.4/Connect.d.ts +17 -0
  63. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/BatchGetFlowAssociationCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +44 -20
  69. package/dist-types/ts3.4/models/models_1.d.ts +46 -40
  70. package/dist-types/ts3.4/models/models_2.d.ts +42 -1
  71. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  72. package/package.json +4 -4
@@ -1,6 +1,72 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Application, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, DirectoryType, Distribution, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MonitorCapability, PhoneNumberCountryCode, PhoneNumberType, Prompt, Queue, QueueReference, QuickConnect, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueReference, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, UseCaseType, UserPhoneConfig, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Application, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, DirectoryType, Distribution, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, HierarchyGroupSummary, HierarchyLevel, HoursOfOperation, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MonitorCapability, PhoneNumberCountryCode, PhoneNumberType, Prompt, Queue, QueueReference, QuickConnect, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueReference, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, UseCaseType, UserPhoneConfig, View, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ * <p>Contains information about a hierarchy structure.</p>
7
+ */
8
+ export interface HierarchyStructure {
9
+ /**
10
+ * @public
11
+ * <p>Information about level one.</p>
12
+ */
13
+ LevelOne?: HierarchyLevel;
14
+ /**
15
+ * @public
16
+ * <p>Information about level two.</p>
17
+ */
18
+ LevelTwo?: HierarchyLevel;
19
+ /**
20
+ * @public
21
+ * <p>Information about level three.</p>
22
+ */
23
+ LevelThree?: HierarchyLevel;
24
+ /**
25
+ * @public
26
+ * <p>Information about level four.</p>
27
+ */
28
+ LevelFour?: HierarchyLevel;
29
+ /**
30
+ * @public
31
+ * <p>Information about level five.</p>
32
+ */
33
+ LevelFive?: HierarchyLevel;
34
+ }
35
+ /**
36
+ * @public
37
+ */
38
+ export interface DescribeUserHierarchyStructureResponse {
39
+ /**
40
+ * @public
41
+ * <p>Information about the hierarchy structure.</p>
42
+ */
43
+ HierarchyStructure?: HierarchyStructure;
44
+ }
45
+ /**
46
+ * @public
47
+ */
48
+ export interface DescribeViewRequest {
49
+ /**
50
+ * @public
51
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
52
+ */
53
+ InstanceId: string | undefined;
54
+ /**
55
+ * @public
56
+ * <p>The ViewId of the view. This must be an ARN for Amazon Web Services managed views.</p>
57
+ */
58
+ ViewId: string | undefined;
59
+ }
60
+ /**
61
+ * @public
62
+ */
63
+ export interface DescribeViewResponse {
64
+ /**
65
+ * @public
66
+ * <p>All view data is contained within the View object.</p>
67
+ */
68
+ View?: View;
69
+ }
4
70
  /**
5
71
  * @public
6
72
  */
@@ -2104,6 +2170,16 @@ export interface GetPromptFileResponse {
2104
2170
  * the prompt in S3.</p>
2105
2171
  */
2106
2172
  PromptPresignedUrl?: string;
2173
+ /**
2174
+ * @public
2175
+ * <p>The timestamp when this resource was last modified.</p>
2176
+ */
2177
+ LastModifiedTime?: Date;
2178
+ /**
2179
+ * @public
2180
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
2181
+ */
2182
+ LastModifiedRegion?: string;
2107
2183
  }
2108
2184
  /**
2109
2185
  * @public
@@ -3246,6 +3322,16 @@ export interface HoursOfOperationSummary {
3246
3322
  * <p>The name of the hours of operation.</p>
3247
3323
  */
3248
3324
  Name?: string;
3325
+ /**
3326
+ * @public
3327
+ * <p>The timestamp when this resource was last modified.</p>
3328
+ */
3329
+ LastModifiedTime?: Date;
3330
+ /**
3331
+ * @public
3332
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
3333
+ */
3334
+ LastModifiedRegion?: string;
3249
3335
  }
3250
3336
  /**
3251
3337
  * @public
@@ -3818,6 +3904,16 @@ export interface PromptSummary {
3818
3904
  * <p>The name of the prompt.</p>
3819
3905
  */
3820
3906
  Name?: string;
3907
+ /**
3908
+ * @public
3909
+ * <p>The timestamp when this resource was last modified.</p>
3910
+ */
3911
+ LastModifiedTime?: Date;
3912
+ /**
3913
+ * @public
3914
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
3915
+ */
3916
+ LastModifiedRegion?: string;
3821
3917
  }
3822
3918
  /**
3823
3919
  * @public
@@ -3886,6 +3982,16 @@ export interface QuickConnectSummary {
3886
3982
  * prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).</p>
3887
3983
  */
3888
3984
  QuickConnectType?: QuickConnectType;
3985
+ /**
3986
+ * @public
3987
+ * <p>The timestamp when this resource was last modified.</p>
3988
+ */
3989
+ LastModifiedTime?: Date;
3990
+ /**
3991
+ * @public
3992
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
3993
+ */
3994
+ LastModifiedRegion?: string;
3889
3995
  }
3890
3996
  /**
3891
3997
  * @public
@@ -3901,6 +4007,16 @@ export interface ListQueueQuickConnectsResponse {
3901
4007
  * <p>Information about the quick connects.</p>
3902
4008
  */
3903
4009
  QuickConnectSummaryList?: QuickConnectSummary[];
4010
+ /**
4011
+ * @public
4012
+ * <p>The timestamp when this resource was last modified.</p>
4013
+ */
4014
+ LastModifiedTime?: Date;
4015
+ /**
4016
+ * @public
4017
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4018
+ */
4019
+ LastModifiedRegion?: string;
3904
4020
  }
3905
4021
  /**
3906
4022
  * @public
@@ -3965,6 +4081,16 @@ export interface QueueSummary {
3965
4081
  * <p>The type of queue.</p>
3966
4082
  */
3967
4083
  QueueType?: QueueType;
4084
+ /**
4085
+ * @public
4086
+ * <p>The timestamp when this resource was last modified.</p>
4087
+ */
4088
+ LastModifiedTime?: Date;
4089
+ /**
4090
+ * @public
4091
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4092
+ */
4093
+ LastModifiedRegion?: string;
3968
4094
  }
3969
4095
  /**
3970
4096
  * @public
@@ -4103,6 +4229,16 @@ export interface ListRoutingProfileQueuesResponse {
4103
4229
  * <p>Information about the routing profiles.</p>
4104
4230
  */
4105
4231
  RoutingProfileQueueConfigSummaryList?: RoutingProfileQueueConfigSummary[];
4232
+ /**
4233
+ * @public
4234
+ * <p>The timestamp when this resource was last modified.</p>
4235
+ */
4236
+ LastModifiedTime?: Date;
4237
+ /**
4238
+ * @public
4239
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4240
+ */
4241
+ LastModifiedRegion?: string;
4106
4242
  }
4107
4243
  /**
4108
4244
  * @public
@@ -4145,6 +4281,16 @@ export interface RoutingProfileSummary {
4145
4281
  * <p>The name of the routing profile.</p>
4146
4282
  */
4147
4283
  Name?: string;
4284
+ /**
4285
+ * @public
4286
+ * <p>The timestamp when this resource was last modified.</p>
4287
+ */
4288
+ LastModifiedTime?: Date;
4289
+ /**
4290
+ * @public
4291
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4292
+ */
4293
+ LastModifiedRegion?: string;
4148
4294
  }
4149
4295
  /**
4150
4296
  * @public
@@ -4351,6 +4497,16 @@ export interface ListSecurityProfileApplicationsResponse {
4351
4497
  * <p>If there are additional results, this is the token for the next set of results.</p>
4352
4498
  */
4353
4499
  NextToken?: string;
4500
+ /**
4501
+ * @public
4502
+ * <p>The timestamp when this resource was last modified.</p>
4503
+ */
4504
+ LastModifiedTime?: Date;
4505
+ /**
4506
+ * @public
4507
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4508
+ */
4509
+ LastModifiedRegion?: string;
4354
4510
  }
4355
4511
  /**
4356
4512
  * @public
@@ -4394,6 +4550,16 @@ export interface ListSecurityProfilePermissionsResponse {
4394
4550
  * <p>If there are additional results, this is the token for the next set of results.</p>
4395
4551
  */
4396
4552
  NextToken?: string;
4553
+ /**
4554
+ * @public
4555
+ * <p>The timestamp when this resource was last modified.</p>
4556
+ */
4557
+ LastModifiedTime?: Date;
4558
+ /**
4559
+ * @public
4560
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4561
+ */
4562
+ LastModifiedRegion?: string;
4397
4563
  }
4398
4564
  /**
4399
4565
  * @public
@@ -4436,6 +4602,16 @@ export interface SecurityProfileSummary {
4436
4602
  * <p>The name of the security profile.</p>
4437
4603
  */
4438
4604
  Name?: string;
4605
+ /**
4606
+ * @public
4607
+ * <p>The timestamp when this resource was last modified.</p>
4608
+ */
4609
+ LastModifiedTime?: Date;
4610
+ /**
4611
+ * @public
4612
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
4613
+ */
4614
+ LastModifiedRegion?: string;
4439
4615
  }
4440
4616
  /**
4441
4617
  * @public
@@ -4873,6 +5049,16 @@ export interface UserSummary {
4873
5049
  * <p>The Amazon Connect user name of the user account.</p>
4874
5050
  */
4875
5051
  Username?: string;
5052
+ /**
5053
+ * @public
5054
+ * <p>The timestamp when this resource was last modified.</p>
5055
+ */
5056
+ LastModifiedTime?: Date;
5057
+ /**
5058
+ * @public
5059
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
5060
+ */
5061
+ LastModifiedRegion?: string;
4876
5062
  }
4877
5063
  /**
4878
5064
  * @public
@@ -4895,8 +5081,7 @@ export interface ListUsersResponse {
4895
5081
  export interface ListViewsRequest {
4896
5082
  /**
4897
5083
  * @public
4898
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
4899
- * the instance.</p>
5084
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
4900
5085
  */
4901
5086
  InstanceId: string | undefined;
4902
5087
  /**
@@ -4906,8 +5091,8 @@ export interface ListViewsRequest {
4906
5091
  Type?: ViewType;
4907
5092
  /**
4908
5093
  * @public
4909
- * <p>The token for the next set of results. Use the value returned in the previous response in
4910
- * the next request to retrieve the next set of results.</p>
5094
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5095
+ * retrieve the next set of results.</p>
4911
5096
  */
4912
5097
  NextToken?: string;
4913
5098
  /**
@@ -4944,7 +5129,7 @@ export interface ViewSummary {
4944
5129
  /**
4945
5130
  * @public
4946
5131
  * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
4947
- * <code>PUBLISHED</code> status will initiate validation on the content.</p>
5132
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
4948
5133
  */
4949
5134
  Status?: ViewStatus;
4950
5135
  /**
@@ -4964,8 +5149,8 @@ export interface ListViewsResponse {
4964
5149
  ViewsSummaryList?: ViewSummary[];
4965
5150
  /**
4966
5151
  * @public
4967
- * <p>The token for the next set of results. Use the value returned in the previous response in
4968
- * the next request to retrieve the next set of results.</p>
5152
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5153
+ * retrieve the next set of results.</p>
4969
5154
  */
4970
5155
  NextToken?: string;
4971
5156
  }
@@ -4975,20 +5160,18 @@ export interface ListViewsResponse {
4975
5160
  export interface ListViewVersionsRequest {
4976
5161
  /**
4977
5162
  * @public
4978
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
4979
- * the instance.</p>
5163
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
4980
5164
  */
4981
5165
  InstanceId: string | undefined;
4982
5166
  /**
4983
5167
  * @public
4984
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
4985
- * used.</p>
5168
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
4986
5169
  */
4987
5170
  ViewId: string | undefined;
4988
5171
  /**
4989
5172
  * @public
4990
- * <p>The token for the next set of results. Use the value returned in the previous response in
4991
- * the next request to retrieve the next set of results.</p>
5173
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5174
+ * retrieve the next set of results.</p>
4992
5175
  */
4993
5176
  NextToken?: string;
4994
5177
  /**
@@ -5049,8 +5232,8 @@ export interface ListViewVersionsResponse {
5049
5232
  ViewVersionSummaryList?: ViewVersionSummary[];
5050
5233
  /**
5051
5234
  * @public
5052
- * <p>The token for the next set of results. Use the value returned in the previous response in
5053
- * the next request to retrieve the next set of results.</p>
5235
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5236
+ * retrieve the next set of results.</p>
5054
5237
  */
5055
5238
  NextToken?: string;
5056
5239
  }
@@ -7341,102 +7524,9 @@ export declare const ParticipantTimerType: {
7341
7524
  */
7342
7525
  export type ParticipantTimerType = (typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
7343
7526
  /**
7344
- * @public
7345
- * @enum
7346
- */
7347
- export declare const ParticipantTimerAction: {
7348
- readonly Unset: "Unset";
7349
- };
7350
- /**
7351
- * @public
7352
- */
7353
- export type ParticipantTimerAction = (typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
7354
- /**
7355
- * @public
7356
- * <p>The value of the timer. Either the timer action (<code>Unset</code> to delete the timer), or
7357
- * the duration of the timer in minutes. Only one value can be set.</p>
7358
- * <p>For more information about how chat timeouts work, see
7359
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
7360
- */
7361
- export type ParticipantTimerValue = ParticipantTimerValue.ParticipantTimerActionMember | ParticipantTimerValue.ParticipantTimerDurationInMinutesMember | ParticipantTimerValue.$UnknownMember;
7362
- /**
7363
- * @public
7364
- */
7365
- export declare namespace ParticipantTimerValue {
7366
- /**
7367
- * @public
7368
- * <p>The timer action. Currently only one value is allowed: <code>Unset</code>. It deletes a
7369
- * timer.</p>
7370
- */
7371
- interface ParticipantTimerActionMember {
7372
- ParticipantTimerAction: ParticipantTimerAction;
7373
- ParticipantTimerDurationInMinutes?: never;
7374
- $unknown?: never;
7375
- }
7376
- /**
7377
- * @public
7378
- * <p>The duration of a timer, in minutes. </p>
7379
- */
7380
- interface ParticipantTimerDurationInMinutesMember {
7381
- ParticipantTimerAction?: never;
7382
- ParticipantTimerDurationInMinutes: number;
7383
- $unknown?: never;
7384
- }
7385
- /**
7386
- * @public
7387
- */
7388
- interface $UnknownMember {
7389
- ParticipantTimerAction?: never;
7390
- ParticipantTimerDurationInMinutes?: never;
7391
- $unknown: [string, any];
7392
- }
7393
- interface Visitor<T> {
7394
- ParticipantTimerAction: (value: ParticipantTimerAction) => T;
7395
- ParticipantTimerDurationInMinutes: (value: number) => T;
7396
- _: (name: string, value: any) => T;
7397
- }
7398
- const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
7399
- }
7400
- /**
7401
- * @public
7402
- * <p>Configuration information for the timer. After the timer configuration is set, it persists
7403
- * for the duration of the chat. It persists across new contacts in the chain, for example, transfer
7404
- * contacts.</p>
7405
- * <p>For more information about how chat timeouts work, see
7406
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
7407
- */
7408
- export interface ParticipantTimerConfiguration {
7409
- /**
7410
- * @public
7411
- * <p>The role of the participant in the chat conversation.</p>
7412
- */
7413
- ParticipantRole: TimerEligibleParticipantRoles | undefined;
7414
- /**
7415
- * @public
7416
- * <p>The type of timer. <code>IDLE</code> indicates the timer applies for considering a human
7417
- * chat participant as idle. <code>DISCONNECT_NONCUSTOMER</code> indicates the timer applies to
7418
- * automatically disconnecting a chat participant due to idleness.</p>
7419
- */
7420
- TimerType: ParticipantTimerType | undefined;
7421
- /**
7422
- * @public
7423
- * <p>The value of the timer. Either the timer action (Unset to delete the timer), or the duration
7424
- * of the timer in minutes. Only one value can be set.</p>
7425
- */
7426
- TimerValue: ParticipantTimerValue | undefined;
7427
- }
7428
- /**
7429
- * @public
7430
- * <p>Configuration information for the chat participant role.</p>
7527
+ * @internal
7431
7528
  */
7432
- export interface ChatParticipantRoleConfig {
7433
- /**
7434
- * @public
7435
- * <p>A list of participant timers. You can specify any unique combination of role and timer type.
7436
- * Duplicate entries error out the request with a 400.</p>
7437
- */
7438
- ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
7439
- }
7529
+ export declare const DescribeViewResponseFilterSensitiveLog: (obj: DescribeViewResponse) => any;
7440
7530
  /**
7441
7531
  * @internal
7442
7532
  */
@@ -1,5 +1,102 @@
1
1
  import { AgentAvailabilityTimer, AgentConfig, Application, Evaluation, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, ViewStatus } from "./models_0";
2
- import { ChatParticipantRoleConfig, HierarchyGroupCondition, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig, UserSearchFilter } from "./models_1";
2
+ import { HierarchyGroupCondition, HoursOfOperationSearchFilter, ParticipantTimerType, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig, TimerEligibleParticipantRoles, UserSearchFilter } from "./models_1";
3
+ /**
4
+ * @public
5
+ * @enum
6
+ */
7
+ export declare const ParticipantTimerAction: {
8
+ readonly Unset: "Unset";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type ParticipantTimerAction = (typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
14
+ /**
15
+ * @public
16
+ * <p>The value of the timer. Either the timer action (<code>Unset</code> to delete the timer), or
17
+ * the duration of the timer in minutes. Only one value can be set.</p>
18
+ * <p>For more information about how chat timeouts work, see
19
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
20
+ */
21
+ export type ParticipantTimerValue = ParticipantTimerValue.ParticipantTimerActionMember | ParticipantTimerValue.ParticipantTimerDurationInMinutesMember | ParticipantTimerValue.$UnknownMember;
22
+ /**
23
+ * @public
24
+ */
25
+ export declare namespace ParticipantTimerValue {
26
+ /**
27
+ * @public
28
+ * <p>The timer action. Currently only one value is allowed: <code>Unset</code>. It deletes a
29
+ * timer.</p>
30
+ */
31
+ interface ParticipantTimerActionMember {
32
+ ParticipantTimerAction: ParticipantTimerAction;
33
+ ParticipantTimerDurationInMinutes?: never;
34
+ $unknown?: never;
35
+ }
36
+ /**
37
+ * @public
38
+ * <p>The duration of a timer, in minutes. </p>
39
+ */
40
+ interface ParticipantTimerDurationInMinutesMember {
41
+ ParticipantTimerAction?: never;
42
+ ParticipantTimerDurationInMinutes: number;
43
+ $unknown?: never;
44
+ }
45
+ /**
46
+ * @public
47
+ */
48
+ interface $UnknownMember {
49
+ ParticipantTimerAction?: never;
50
+ ParticipantTimerDurationInMinutes?: never;
51
+ $unknown: [string, any];
52
+ }
53
+ interface Visitor<T> {
54
+ ParticipantTimerAction: (value: ParticipantTimerAction) => T;
55
+ ParticipantTimerDurationInMinutes: (value: number) => T;
56
+ _: (name: string, value: any) => T;
57
+ }
58
+ const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
59
+ }
60
+ /**
61
+ * @public
62
+ * <p>Configuration information for the timer. After the timer configuration is set, it persists
63
+ * for the duration of the chat. It persists across new contacts in the chain, for example, transfer
64
+ * contacts.</p>
65
+ * <p>For more information about how chat timeouts work, see
66
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
67
+ */
68
+ export interface ParticipantTimerConfiguration {
69
+ /**
70
+ * @public
71
+ * <p>The role of the participant in the chat conversation.</p>
72
+ */
73
+ ParticipantRole: TimerEligibleParticipantRoles | undefined;
74
+ /**
75
+ * @public
76
+ * <p>The type of timer. <code>IDLE</code> indicates the timer applies for considering a human
77
+ * chat participant as idle. <code>DISCONNECT_NONCUSTOMER</code> indicates the timer applies to
78
+ * automatically disconnecting a chat participant due to idleness.</p>
79
+ */
80
+ TimerType: ParticipantTimerType | undefined;
81
+ /**
82
+ * @public
83
+ * <p>The value of the timer. Either the timer action (Unset to delete the timer), or the duration
84
+ * of the timer in minutes. Only one value can be set.</p>
85
+ */
86
+ TimerValue: ParticipantTimerValue | undefined;
87
+ }
88
+ /**
89
+ * @public
90
+ * <p>Configuration information for the chat participant role.</p>
91
+ */
92
+ export interface ChatParticipantRoleConfig {
93
+ /**
94
+ * @public
95
+ * <p>A list of participant timers. You can specify any unique combination of role and timer type.
96
+ * Duplicate entries error out the request with a 400.</p>
97
+ */
98
+ ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
99
+ }
3
100
  /**
4
101
  * @public
5
102
  * <p>Configuration information for the chat participant role.</p>
@@ -149,7 +246,9 @@ export interface UpdatePromptRequest {
149
246
  Description?: string;
150
247
  /**
151
248
  * @public
152
- * <p>The URI for the S3 bucket where the prompt is stored.</p>
249
+ * <p>The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the
250
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetPromptFile.html">GetPromptFile</a>
251
+ * API instead of providing S3 URIs.</p>
153
252
  */
154
253
  S3Uri?: string;
155
254
  }
@@ -844,20 +943,18 @@ export interface UpdateUserSecurityProfilesRequest {
844
943
  export interface UpdateViewContentRequest {
845
944
  /**
846
945
  * @public
847
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
848
- * the instance.</p>
946
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
849
947
  */
850
948
  InstanceId: string | undefined;
851
949
  /**
852
950
  * @public
853
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
854
- * used.</p>
951
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
855
952
  */
856
953
  ViewId: string | undefined;
857
954
  /**
858
955
  * @public
859
956
  * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
860
- * <code>PUBLISHED</code> status will initiate validation on the content.</p>
957
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
861
958
  */
862
959
  Status: ViewStatus | undefined;
863
960
  /**
@@ -884,14 +981,12 @@ export interface UpdateViewContentResponse {
884
981
  export interface UpdateViewMetadataRequest {
885
982
  /**
886
983
  * @public
887
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
888
- * the instance.</p>
984
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
889
985
  */
890
986
  InstanceId: string | undefined;
891
987
  /**
892
988
  * @public
893
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
894
- * used.</p>
989
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
895
990
  */
896
991
  ViewId: string | undefined;
897
992
  /**
@@ -12,6 +12,7 @@ import { AssociateQueueQuickConnectsCommandInput, AssociateQueueQuickConnectsCom
12
12
  import { AssociateRoutingProfileQueuesCommandInput, AssociateRoutingProfileQueuesCommandOutput } from "../commands/AssociateRoutingProfileQueuesCommand";
13
13
  import { AssociateSecurityKeyCommandInput, AssociateSecurityKeyCommandOutput } from "../commands/AssociateSecurityKeyCommand";
14
14
  import { AssociateTrafficDistributionGroupUserCommandInput, AssociateTrafficDistributionGroupUserCommandOutput } from "../commands/AssociateTrafficDistributionGroupUserCommand";
15
+ import { BatchGetFlowAssociationCommandInput, BatchGetFlowAssociationCommandOutput } from "../commands/BatchGetFlowAssociationCommand";
15
16
  import { ClaimPhoneNumberCommandInput, ClaimPhoneNumberCommandOutput } from "../commands/ClaimPhoneNumberCommand";
16
17
  import { CreateAgentStatusCommandInput, CreateAgentStatusCommandOutput } from "../commands/CreateAgentStatusCommand";
17
18
  import { CreateContactFlowCommandInput, CreateContactFlowCommandOutput } from "../commands/CreateContactFlowCommand";
@@ -259,6 +260,10 @@ export declare const se_AssociateSecurityKeyCommand: (input: AssociateSecurityKe
259
260
  * serializeAws_restJson1AssociateTrafficDistributionGroupUserCommand
260
261
  */
261
262
  export declare const se_AssociateTrafficDistributionGroupUserCommand: (input: AssociateTrafficDistributionGroupUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
263
+ /**
264
+ * serializeAws_restJson1BatchGetFlowAssociationCommand
265
+ */
266
+ export declare const se_BatchGetFlowAssociationCommand: (input: BatchGetFlowAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
262
267
  /**
263
268
  * serializeAws_restJson1ClaimPhoneNumberCommand
264
269
  */
@@ -1103,6 +1108,10 @@ export declare const de_AssociateSecurityKeyCommand: (output: __HttpResponse, co
1103
1108
  * deserializeAws_restJson1AssociateTrafficDistributionGroupUserCommand
1104
1109
  */
1105
1110
  export declare const de_AssociateTrafficDistributionGroupUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateTrafficDistributionGroupUserCommandOutput>;
1111
+ /**
1112
+ * deserializeAws_restJson1BatchGetFlowAssociationCommand
1113
+ */
1114
+ export declare const de_BatchGetFlowAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetFlowAssociationCommandOutput>;
1106
1115
  /**
1107
1116
  * deserializeAws_restJson1ClaimPhoneNumberCommand
1108
1117
  */
@@ -47,6 +47,10 @@ import {
47
47
  AssociateTrafficDistributionGroupUserCommandInput,
48
48
  AssociateTrafficDistributionGroupUserCommandOutput,
49
49
  } from "./commands/AssociateTrafficDistributionGroupUserCommand";
50
+ import {
51
+ BatchGetFlowAssociationCommandInput,
52
+ BatchGetFlowAssociationCommandOutput,
53
+ } from "./commands/BatchGetFlowAssociationCommand";
50
54
  import {
51
55
  ClaimPhoneNumberCommandInput,
52
56
  ClaimPhoneNumberCommandOutput,
@@ -1007,6 +1011,19 @@ export interface Connect {
1007
1011
  data?: AssociateTrafficDistributionGroupUserCommandOutput
1008
1012
  ) => void
1009
1013
  ): void;
1014
+ batchGetFlowAssociation(
1015
+ args: BatchGetFlowAssociationCommandInput,
1016
+ options?: __HttpHandlerOptions
1017
+ ): Promise<BatchGetFlowAssociationCommandOutput>;
1018
+ batchGetFlowAssociation(
1019
+ args: BatchGetFlowAssociationCommandInput,
1020
+ cb: (err: any, data?: BatchGetFlowAssociationCommandOutput) => void
1021
+ ): void;
1022
+ batchGetFlowAssociation(
1023
+ args: BatchGetFlowAssociationCommandInput,
1024
+ options: __HttpHandlerOptions,
1025
+ cb: (err: any, data?: BatchGetFlowAssociationCommandOutput) => void
1026
+ ): void;
1010
1027
  claimPhoneNumber(
1011
1028
  args: ClaimPhoneNumberCommandInput,
1012
1029
  options?: __HttpHandlerOptions