@aws-sdk/client-connect 3.299.0 → 3.301.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 (176) hide show
  1. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  2. package/dist-es/protocols/Aws_restJson1.js +1 -0
  3. package/dist-types/Connect.d.ts +2 -3
  4. package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +4 -0
  5. package/dist-types/commands/AssociateBotCommand.d.ts +10 -0
  6. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +5 -0
  7. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +30 -0
  8. package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +4 -0
  9. package/dist-types/commands/AssociateLexBotCommand.d.ts +7 -0
  10. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +5 -0
  11. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +7 -0
  12. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +14 -0
  13. package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +4 -0
  14. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +9 -0
  15. package/dist-types/commands/CreateAgentStatusCommand.d.ts +10 -0
  16. package/dist-types/commands/CreateContactFlowCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +10 -0
  18. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +22 -0
  19. package/dist-types/commands/CreateInstanceCommand.d.ts +8 -0
  20. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +11 -0
  21. package/dist-types/commands/CreateQueueCommand.d.ts +18 -0
  22. package/dist-types/commands/CreateQuickConnectCommand.d.ts +22 -0
  23. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +25 -0
  24. package/dist-types/commands/CreateRuleCommand.d.ts +45 -0
  25. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +17 -0
  26. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +53 -0
  27. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +9 -0
  28. package/dist-types/commands/CreateUseCaseCommand.d.ts +8 -0
  29. package/dist-types/commands/CreateUserCommand.d.ts +27 -0
  30. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +8 -0
  31. package/dist-types/commands/CreateVocabularyCommand.d.ts +10 -0
  32. package/dist-types/commands/DeleteContactFlowCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +4 -0
  37. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -0
  40. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +3 -0
  42. package/dist-types/commands/DeleteUseCaseCommand.d.ts +5 -0
  43. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVocabularyCommand.d.ts +4 -0
  46. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +4 -0
  47. package/dist-types/commands/DescribeContactCommand.d.ts +4 -0
  48. package/dist-types/commands/DescribeContactFlowCommand.d.ts +4 -0
  49. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +4 -0
  50. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +4 -0
  51. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeInstanceCommand.d.ts +3 -0
  53. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +3 -0
  55. package/dist-types/commands/DescribeQueueCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
  58. package/dist-types/commands/DescribeRuleCommand.d.ts +4 -0
  59. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -0
  60. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +3 -0
  61. package/dist-types/commands/DescribeUserCommand.d.ts +4 -0
  62. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -0
  63. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +3 -0
  64. package/dist-types/commands/DescribeVocabularyCommand.d.ts +4 -0
  65. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +4 -0
  66. package/dist-types/commands/DisassociateBotCommand.d.ts +10 -0
  67. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +5 -0
  68. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +4 -0
  69. package/dist-types/commands/DisassociateLexBotCommand.d.ts +5 -0
  70. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +4 -0
  71. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +7 -0
  72. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +10 -0
  73. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +4 -0
  74. package/dist-types/commands/DismissUserContactCommand.d.ts +5 -0
  75. package/dist-types/commands/GetContactAttributesCommand.d.ts +4 -0
  76. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +31 -0
  77. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +24 -0
  78. package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -0
  79. package/dist-types/commands/GetMetricDataCommand.d.ts +32 -0
  80. package/dist-types/commands/GetMetricDataV2Command.d.ts +39 -3
  81. package/dist-types/commands/GetTaskTemplateCommand.d.ts +5 -0
  82. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +3 -0
  83. package/dist-types/commands/ListAgentStatusesCommand.d.ts +8 -0
  84. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +5 -0
  85. package/dist-types/commands/ListBotsCommand.d.ts +6 -0
  86. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +6 -0
  87. package/dist-types/commands/ListContactFlowsCommand.d.ts +8 -0
  88. package/dist-types/commands/ListContactReferencesCommand.d.ts +8 -0
  89. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +6 -0
  90. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +5 -0
  91. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +5 -0
  92. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +6 -0
  93. package/dist-types/commands/ListInstancesCommand.d.ts +4 -0
  94. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +6 -0
  95. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +5 -0
  96. package/dist-types/commands/ListLexBotsCommand.d.ts +5 -0
  97. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +11 -0
  98. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
  99. package/dist-types/commands/ListPromptsCommand.d.ts +5 -0
  100. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +6 -0
  101. package/dist-types/commands/ListQueuesCommand.d.ts +8 -0
  102. package/dist-types/commands/ListQuickConnectsCommand.d.ts +8 -0
  103. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +6 -0
  104. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +5 -0
  105. package/dist-types/commands/ListRulesCommand.d.ts +7 -0
  106. package/dist-types/commands/ListSecurityKeysCommand.d.ts +5 -0
  107. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +6 -0
  108. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +5 -0
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  110. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +7 -0
  111. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +5 -0
  112. package/dist-types/commands/ListUseCasesCommand.d.ts +6 -0
  113. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +5 -0
  114. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  115. package/dist-types/commands/MonitorContactCommand.d.ts +9 -0
  116. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -0
  117. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +4 -0
  118. package/dist-types/commands/ReplicateInstanceCommand.d.ts +6 -0
  119. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +5 -0
  120. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +8 -0
  121. package/dist-types/commands/SearchQueuesCommand.d.ts +51 -0
  122. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +49 -0
  123. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +49 -0
  124. package/dist-types/commands/SearchUsersCommand.d.ts +57 -0
  125. package/dist-types/commands/SearchVocabulariesCommand.d.ts +8 -0
  126. package/dist-types/commands/StartChatContactCommand.d.ts +24 -0
  127. package/dist-types/commands/StartContactRecordingCommand.d.ts +8 -0
  128. package/dist-types/commands/StartContactStreamingCommand.d.ts +8 -0
  129. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +17 -0
  130. package/dist-types/commands/StartTaskContactCommand.d.ts +21 -0
  131. package/dist-types/commands/StopContactCommand.d.ts +4 -0
  132. package/dist-types/commands/StopContactRecordingCommand.d.ts +5 -0
  133. package/dist-types/commands/StopContactStreamingCommand.d.ts +5 -0
  134. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +5 -0
  135. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  136. package/dist-types/commands/TransferContactCommand.d.ts +8 -0
  137. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  138. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +9 -0
  139. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +7 -0
  140. package/dist-types/commands/UpdateContactCommand.d.ts +12 -0
  141. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +5 -0
  142. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +7 -0
  143. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +5 -0
  144. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +7 -0
  145. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +6 -0
  146. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +5 -0
  147. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +20 -0
  148. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +5 -0
  149. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +31 -0
  150. package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +18 -0
  151. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +5 -0
  152. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +5 -0
  153. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +5 -0
  154. package/dist-types/commands/UpdateQueueNameCommand.d.ts +6 -0
  155. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +9 -0
  156. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +5 -0
  157. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +18 -0
  158. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +6 -0
  159. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +10 -0
  160. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +5 -0
  161. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +6 -0
  162. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +14 -0
  163. package/dist-types/commands/UpdateRuleCommand.d.ts +41 -0
  164. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +14 -0
  165. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +53 -0
  166. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +11 -0
  167. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +5 -0
  168. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +5 -0
  169. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +20 -0
  170. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +11 -0
  171. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +10 -0
  172. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +5 -0
  173. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +7 -0
  174. package/dist-types/models/models_1.d.ts +22 -5
  175. package/dist-types/ts3.4/models/models_1.d.ts +1 -0
  176. package/package.json +8 -8
@@ -39,6 +39,13 @@ export interface UpdateContactAttributesCommandOutput extends UpdateContactAttri
39
39
  * import { ConnectClient, UpdateContactAttributesCommand } from "@aws-sdk/client-connect"; // ES Modules import
40
40
  * // const { ConnectClient, UpdateContactAttributesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
41
41
  * const client = new ConnectClient(config);
42
+ * const input = { // UpdateContactAttributesRequest
43
+ * InitialContactId: "STRING_VALUE", // required
44
+ * InstanceId: "STRING_VALUE", // required
45
+ * Attributes: { // Attributes // required
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * };
42
49
  * const command = new UpdateContactAttributesCommand(input);
43
50
  * const response = await client.send(command);
44
51
  * ```
@@ -32,6 +32,18 @@ export interface UpdateContactCommandOutput extends UpdateContactResponse, __Met
32
32
  * import { ConnectClient, UpdateContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
33
  * // const { ConnectClient, UpdateContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
34
  * const client = new ConnectClient(config);
35
+ * const input = { // UpdateContactRequest
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * ContactId: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE",
39
+ * Description: "STRING_VALUE",
40
+ * References: { // ContactReferences
41
+ * "<keys>": { // Reference
42
+ * Value: "STRING_VALUE", // required
43
+ * Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
44
+ * },
45
+ * },
46
+ * };
35
47
  * const command = new UpdateContactCommand(input);
36
48
  * const response = await client.send(command);
37
49
  * ```
@@ -28,6 +28,11 @@ export interface UpdateContactFlowContentCommandOutput extends UpdateContactFlow
28
28
  * import { ConnectClient, UpdateContactFlowContentCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, UpdateContactFlowContentCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // UpdateContactFlowContentRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * ContactFlowId: "STRING_VALUE", // required
34
+ * Content: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new UpdateContactFlowContentCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,13 @@ export interface UpdateContactFlowMetadataCommandOutput extends UpdateContactFlo
26
26
  * import { ConnectClient, UpdateContactFlowMetadataCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateContactFlowMetadataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateContactFlowMetadataRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * ContactFlowId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE",
33
+ * Description: "STRING_VALUE",
34
+ * ContactFlowState: "ACTIVE" || "ARCHIVED",
35
+ * };
29
36
  * const command = new UpdateContactFlowMetadataCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,11 @@ export interface UpdateContactFlowModuleContentCommandOutput extends UpdateConta
26
26
  * import { ConnectClient, UpdateContactFlowModuleContentCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateContactFlowModuleContentCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateContactFlowModuleContentRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * ContactFlowModuleId: "STRING_VALUE", // required
32
+ * Content: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new UpdateContactFlowModuleContentCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,13 @@ export interface UpdateContactFlowModuleMetadataCommandOutput extends UpdateCont
26
26
  * import { ConnectClient, UpdateContactFlowModuleMetadataCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateContactFlowModuleMetadataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateContactFlowModuleMetadataRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * ContactFlowModuleId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE",
33
+ * Description: "STRING_VALUE",
34
+ * State: "ACTIVE" || "ARCHIVED",
35
+ * };
29
36
  * const command = new UpdateContactFlowModuleMetadataCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -28,6 +28,12 @@ export interface UpdateContactFlowNameCommandOutput extends UpdateContactFlowNam
28
28
  * import { ConnectClient, UpdateContactFlowNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, UpdateContactFlowNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // UpdateContactFlowNameRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * ContactFlowId: "STRING_VALUE", // required
34
+ * Name: "STRING_VALUE",
35
+ * Description: "STRING_VALUE",
36
+ * };
31
37
  * const command = new UpdateContactFlowNameCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -26,6 +26,11 @@ export interface UpdateContactScheduleCommandOutput extends UpdateContactSchedul
26
26
  * import { ConnectClient, UpdateContactScheduleCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateContactScheduleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateContactScheduleRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * ContactId: "STRING_VALUE", // required
32
+ * ScheduledTime: new Date("TIMESTAMP"), // required
33
+ * };
29
34
  * const command = new UpdateContactScheduleCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,26 @@ export interface UpdateHoursOfOperationCommandOutput extends __MetadataBearer {
27
27
  * import { ConnectClient, UpdateHoursOfOperationCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateHoursOfOperationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateHoursOfOperationRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * HoursOfOperationId: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE",
34
+ * Description: "STRING_VALUE",
35
+ * TimeZone: "STRING_VALUE",
36
+ * Config: [ // HoursOfOperationConfigList
37
+ * { // HoursOfOperationConfig
38
+ * Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY", // required
39
+ * StartTime: { // HoursOfOperationTimeSlice
40
+ * Hours: Number("int"), // required
41
+ * Minutes: Number("int"), // required
42
+ * },
43
+ * EndTime: {
44
+ * Hours: Number("int"), // required
45
+ * Minutes: Number("int"), // required
46
+ * },
47
+ * },
48
+ * ],
49
+ * };
30
50
  * const command = new UpdateHoursOfOperationCommand(input);
31
51
  * const response = await client.send(command);
32
52
  * ```
@@ -27,6 +27,11 @@ export interface UpdateInstanceAttributeCommandOutput extends __MetadataBearer {
27
27
  * import { ConnectClient, UpdateInstanceAttributeCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateInstanceAttributeCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateInstanceAttributeRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING", // required
33
+ * Value: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new UpdateInstanceAttributeCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,37 @@ export interface UpdateInstanceStorageConfigCommandOutput extends __MetadataBear
27
27
  * import { ConnectClient, UpdateInstanceStorageConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateInstanceStorageConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateInstanceStorageConfigRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * AssociationId: "STRING_VALUE", // required
33
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
34
+ * StorageConfig: { // InstanceStorageConfig
35
+ * AssociationId: "STRING_VALUE",
36
+ * StorageType: "S3" || "KINESIS_VIDEO_STREAM" || "KINESIS_STREAM" || "KINESIS_FIREHOSE", // required
37
+ * S3Config: { // S3Config
38
+ * BucketName: "STRING_VALUE", // required
39
+ * BucketPrefix: "STRING_VALUE", // required
40
+ * EncryptionConfig: { // EncryptionConfig
41
+ * EncryptionType: "KMS", // required
42
+ * KeyId: "STRING_VALUE", // required
43
+ * },
44
+ * },
45
+ * KinesisVideoStreamConfig: { // KinesisVideoStreamConfig
46
+ * Prefix: "STRING_VALUE", // required
47
+ * RetentionPeriodHours: Number("int"), // required
48
+ * EncryptionConfig: {
49
+ * EncryptionType: "KMS", // required
50
+ * KeyId: "STRING_VALUE", // required
51
+ * },
52
+ * },
53
+ * KinesisStreamConfig: { // KinesisStreamConfig
54
+ * StreamArn: "STRING_VALUE", // required
55
+ * },
56
+ * KinesisFirehoseConfig: { // KinesisFirehoseConfig
57
+ * FirehoseArn: "STRING_VALUE", // required
58
+ * },
59
+ * },
60
+ * };
30
61
  * const command = new UpdateInstanceStorageConfigCommand(input);
31
62
  * const response = await client.send(command);
32
63
  * ```
@@ -43,6 +43,24 @@ export interface UpdateParticipantRoleConfigCommandOutput extends UpdateParticip
43
43
  * import { ConnectClient, UpdateParticipantRoleConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
44
44
  * // const { ConnectClient, UpdateParticipantRoleConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
45
45
  * const client = new ConnectClient(config);
46
+ * const input = { // UpdateParticipantRoleConfigRequest
47
+ * InstanceId: "STRING_VALUE", // required
48
+ * ContactId: "STRING_VALUE", // required
49
+ * ChannelConfiguration: { // UpdateParticipantRoleConfigChannelInfo Union: only one key present
50
+ * Chat: { // ChatParticipantRoleConfig
51
+ * ParticipantTimerConfigList: [ // ParticipantTimerConfigList // required
52
+ * { // ParticipantTimerConfiguration
53
+ * ParticipantRole: "CUSTOMER" || "AGENT", // required
54
+ * TimerType: "IDLE" || "DISCONNECT_NONCUSTOMER", // required
55
+ * TimerValue: { // ParticipantTimerValue Union: only one key present
56
+ * ParticipantTimerAction: "Unset",
57
+ * ParticipantTimerDurationInMinutes: Number("int"),
58
+ * },
59
+ * },
60
+ * ],
61
+ * },
62
+ * },
63
+ * };
46
64
  * const command = new UpdateParticipantRoleConfigCommand(input);
47
65
  * const response = await client.send(command);
48
66
  * ```
@@ -32,6 +32,11 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
32
32
  * import { ConnectClient, UpdatePhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
33
  * // const { ConnectClient, UpdatePhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
34
  * const client = new ConnectClient(config);
35
+ * const input = { // UpdatePhoneNumberRequest
36
+ * PhoneNumberId: "STRING_VALUE", // required
37
+ * TargetArn: "STRING_VALUE", // required
38
+ * ClientToken: "STRING_VALUE",
39
+ * };
35
40
  * const command = new UpdatePhoneNumberCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -27,6 +27,11 @@ export interface UpdateQueueHoursOfOperationCommandOutput extends __MetadataBear
27
27
  * import { ConnectClient, UpdateQueueHoursOfOperationCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateQueueHoursOfOperationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateQueueHoursOfOperationRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * QueueId: "STRING_VALUE", // required
33
+ * HoursOfOperationId: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new UpdateQueueHoursOfOperationCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,11 @@ export interface UpdateQueueMaxContactsCommandOutput extends __MetadataBearer {
28
28
  * import { ConnectClient, UpdateQueueMaxContactsCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, UpdateQueueMaxContactsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // UpdateQueueMaxContactsRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * QueueId: "STRING_VALUE", // required
34
+ * MaxContacts: Number("int"),
35
+ * };
31
36
  * const command = new UpdateQueueMaxContactsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -27,6 +27,12 @@ export interface UpdateQueueNameCommandOutput extends __MetadataBearer {
27
27
  * import { ConnectClient, UpdateQueueNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateQueueNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateQueueNameRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * QueueId: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE",
34
+ * Description: "STRING_VALUE",
35
+ * };
30
36
  * const command = new UpdateQueueNameCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -39,6 +39,15 @@ export interface UpdateQueueOutboundCallerConfigCommandOutput extends __Metadata
39
39
  * import { ConnectClient, UpdateQueueOutboundCallerConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
40
40
  * // const { ConnectClient, UpdateQueueOutboundCallerConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
41
41
  * const client = new ConnectClient(config);
42
+ * const input = { // UpdateQueueOutboundCallerConfigRequest
43
+ * InstanceId: "STRING_VALUE", // required
44
+ * QueueId: "STRING_VALUE", // required
45
+ * OutboundCallerConfig: { // OutboundCallerConfig
46
+ * OutboundCallerIdName: "STRING_VALUE",
47
+ * OutboundCallerIdNumberId: "STRING_VALUE",
48
+ * OutboundFlowId: "STRING_VALUE",
49
+ * },
50
+ * };
42
51
  * const command = new UpdateQueueOutboundCallerConfigCommand(input);
43
52
  * const response = await client.send(command);
44
53
  * ```
@@ -27,6 +27,11 @@ export interface UpdateQueueStatusCommandOutput extends __MetadataBearer {
27
27
  * import { ConnectClient, UpdateQueueStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateQueueStatusCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateQueueStatusRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * QueueId: "STRING_VALUE", // required
33
+ * Status: "ENABLED" || "DISABLED", // required
34
+ * };
30
35
  * const command = new UpdateQueueStatusCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,24 @@ export interface UpdateQuickConnectConfigCommandOutput extends __MetadataBearer
26
26
  * import { ConnectClient, UpdateQuickConnectConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateQuickConnectConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateQuickConnectConfigRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * QuickConnectId: "STRING_VALUE", // required
32
+ * QuickConnectConfig: { // QuickConnectConfig
33
+ * QuickConnectType: "USER" || "QUEUE" || "PHONE_NUMBER", // required
34
+ * UserConfig: { // UserQuickConnectConfig
35
+ * UserId: "STRING_VALUE", // required
36
+ * ContactFlowId: "STRING_VALUE", // required
37
+ * },
38
+ * QueueConfig: { // QueueQuickConnectConfig
39
+ * QueueId: "STRING_VALUE", // required
40
+ * ContactFlowId: "STRING_VALUE", // required
41
+ * },
42
+ * PhoneConfig: { // PhoneNumberQuickConnectConfig
43
+ * PhoneNumber: "STRING_VALUE", // required
44
+ * },
45
+ * },
46
+ * };
29
47
  * const command = new UpdateQuickConnectConfigCommand(input);
30
48
  * const response = await client.send(command);
31
49
  * ```
@@ -26,6 +26,12 @@ export interface UpdateQuickConnectNameCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectClient, UpdateQuickConnectNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateQuickConnectNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateQuickConnectNameRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * QuickConnectId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE",
33
+ * Description: "STRING_VALUE",
34
+ * };
29
35
  * const command = new UpdateQuickConnectNameCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,16 @@ export interface UpdateRoutingProfileConcurrencyCommandOutput extends __Metadata
27
27
  * import { ConnectClient, UpdateRoutingProfileConcurrencyCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateRoutingProfileConcurrencyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateRoutingProfileConcurrencyRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * RoutingProfileId: "STRING_VALUE", // required
33
+ * MediaConcurrencies: [ // MediaConcurrencies // required
34
+ * { // MediaConcurrency
35
+ * Channel: "VOICE" || "CHAT" || "TASK", // required
36
+ * Concurrency: Number("int"), // required
37
+ * },
38
+ * ],
39
+ * };
30
40
  * const command = new UpdateRoutingProfileConcurrencyCommand(input);
31
41
  * const response = await client.send(command);
32
42
  * ```
@@ -26,6 +26,11 @@ export interface UpdateRoutingProfileDefaultOutboundQueueCommandOutput extends _
26
26
  * import { ConnectClient, UpdateRoutingProfileDefaultOutboundQueueCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateRoutingProfileDefaultOutboundQueueCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateRoutingProfileDefaultOutboundQueueRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * RoutingProfileId: "STRING_VALUE", // required
32
+ * DefaultOutboundQueueId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new UpdateRoutingProfileDefaultOutboundQueueCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface UpdateRoutingProfileNameCommandOutput extends __MetadataBearer
27
27
  * import { ConnectClient, UpdateRoutingProfileNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateRoutingProfileNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateRoutingProfileNameRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * RoutingProfileId: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE",
34
+ * Description: "STRING_VALUE",
35
+ * };
30
36
  * const command = new UpdateRoutingProfileNameCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,20 @@ export interface UpdateRoutingProfileQueuesCommandOutput extends __MetadataBeare
26
26
  * import { ConnectClient, UpdateRoutingProfileQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateRoutingProfileQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateRoutingProfileQueuesRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * RoutingProfileId: "STRING_VALUE", // required
32
+ * QueueConfigs: [ // RoutingProfileQueueConfigList // required
33
+ * { // RoutingProfileQueueConfig
34
+ * QueueReference: { // RoutingProfileQueueReference
35
+ * QueueId: "STRING_VALUE", // required
36
+ * Channel: "VOICE" || "CHAT" || "TASK", // required
37
+ * },
38
+ * Priority: Number("int"), // required
39
+ * Delay: Number("int"), // required
40
+ * },
41
+ * ],
42
+ * };
29
43
  * const command = new UpdateRoutingProfileQueuesCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -28,6 +28,47 @@ export interface UpdateRuleCommandOutput extends __MetadataBearer {
28
28
  * import { ConnectClient, UpdateRuleCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, UpdateRuleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // UpdateRuleRequest
32
+ * RuleId: "STRING_VALUE", // required
33
+ * InstanceId: "STRING_VALUE", // required
34
+ * Name: "STRING_VALUE", // required
35
+ * Function: "STRING_VALUE", // required
36
+ * Actions: [ // RuleActions // required
37
+ * { // RuleAction
38
+ * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
39
+ * TaskAction: { // TaskActionDefinition
40
+ * Name: "STRING_VALUE", // required
41
+ * Description: "STRING_VALUE",
42
+ * ContactFlowId: "STRING_VALUE", // required
43
+ * References: { // ContactReferences
44
+ * "<keys>": { // Reference
45
+ * Value: "STRING_VALUE", // required
46
+ * Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
47
+ * },
48
+ * },
49
+ * },
50
+ * EventBridgeAction: { // EventBridgeActionDefinition
51
+ * Name: "STRING_VALUE", // required
52
+ * },
53
+ * AssignContactCategoryAction: {},
54
+ * SendNotificationAction: { // SendNotificationActionDefinition
55
+ * DeliveryMethod: "EMAIL", // required
56
+ * Subject: "STRING_VALUE",
57
+ * Content: "STRING_VALUE", // required
58
+ * ContentType: "PLAIN_TEXT", // required
59
+ * Recipient: { // NotificationRecipientType
60
+ * UserTags: { // UserTagMap
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * UserIds: [ // UserIdList
64
+ * "STRING_VALUE",
65
+ * ],
66
+ * },
67
+ * },
68
+ * },
69
+ * ],
70
+ * PublishStatus: "DRAFT" || "PUBLISHED", // required
71
+ * };
31
72
  * const command = new UpdateRuleCommand(input);
32
73
  * const response = await client.send(command);
33
74
  * ```
@@ -27,6 +27,20 @@ export interface UpdateSecurityProfileCommandOutput extends __MetadataBearer {
27
27
  * import { ConnectClient, UpdateSecurityProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, UpdateSecurityProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // UpdateSecurityProfileRequest
31
+ * Description: "STRING_VALUE",
32
+ * Permissions: [ // PermissionsList
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * SecurityProfileId: "STRING_VALUE", // required
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * AllowedAccessControlTags: { // AllowedAccessControlTags
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * TagRestrictedResources: [ // TagRestrictedResourceList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * };
30
44
  * const command = new UpdateSecurityProfileCommand(input);
31
45
  * const response = await client.send(command);
32
46
  * ```
@@ -28,6 +28,59 @@ export interface UpdateTaskTemplateCommandOutput extends UpdateTaskTemplateRespo
28
28
  * import { ConnectClient, UpdateTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, UpdateTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // UpdateTaskTemplateRequest
32
+ * TaskTemplateId: "STRING_VALUE", // required
33
+ * InstanceId: "STRING_VALUE", // required
34
+ * Name: "STRING_VALUE",
35
+ * Description: "STRING_VALUE",
36
+ * ContactFlowId: "STRING_VALUE",
37
+ * Constraints: { // TaskTemplateConstraints
38
+ * RequiredFields: [ // RequiredTaskTemplateFields
39
+ * { // RequiredFieldInfo
40
+ * Id: { // TaskTemplateFieldIdentifier
41
+ * Name: "STRING_VALUE",
42
+ * },
43
+ * },
44
+ * ],
45
+ * ReadOnlyFields: [ // ReadOnlyTaskTemplateFields
46
+ * { // ReadOnlyFieldInfo
47
+ * Id: {
48
+ * Name: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * ],
52
+ * InvisibleFields: [ // InvisibleTaskTemplateFields
53
+ * { // InvisibleFieldInfo
54
+ * Id: {
55
+ * Name: "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * ],
59
+ * },
60
+ * Defaults: { // TaskTemplateDefaults
61
+ * DefaultFieldValues: [ // TaskTemplateDefaultFieldValueList
62
+ * { // TaskTemplateDefaultFieldValue
63
+ * Id: {
64
+ * Name: "STRING_VALUE",
65
+ * },
66
+ * DefaultValue: "STRING_VALUE",
67
+ * },
68
+ * ],
69
+ * },
70
+ * Status: "ACTIVE" || "INACTIVE",
71
+ * Fields: [ // TaskTemplateFields
72
+ * { // TaskTemplateField
73
+ * Id: {
74
+ * Name: "STRING_VALUE",
75
+ * },
76
+ * Description: "STRING_VALUE",
77
+ * Type: "NAME" || "DESCRIPTION" || "SCHEDULED_TIME" || "QUICK_CONNECT" || "URL" || "NUMBER" || "TEXT" || "TEXT_AREA" || "DATE_TIME" || "BOOLEAN" || "SINGLE_SELECT" || "EMAIL",
78
+ * SingleSelectOptions: [ // SingleSelectOptions
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * },
82
+ * ],
83
+ * };
31
84
  * const command = new UpdateTaskTemplateCommand(input);
32
85
  * const response = await client.send(command);
33
86
  * ```
@@ -29,6 +29,17 @@ export interface UpdateTrafficDistributionCommandOutput extends UpdateTrafficDis
29
29
  * import { ConnectClient, UpdateTrafficDistributionCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, UpdateTrafficDistributionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // UpdateTrafficDistributionRequest
33
+ * Id: "STRING_VALUE", // required
34
+ * TelephonyConfig: { // TelephonyConfig
35
+ * Distributions: [ // DistributionList // required
36
+ * { // Distribution
37
+ * Region: "STRING_VALUE", // required
38
+ * Percentage: Number("int"), // required
39
+ * },
40
+ * ],
41
+ * },
42
+ * };
32
43
  * const command = new UpdateTrafficDistributionCommand(input);
33
44
  * const response = await client.send(command);
34
45
  * ```
@@ -26,6 +26,11 @@ export interface UpdateUserHierarchyCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectClient, UpdateUserHierarchyCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateUserHierarchyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateUserHierarchyRequest
30
+ * HierarchyGroupId: "STRING_VALUE",
31
+ * UserId: "STRING_VALUE", // required
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new UpdateUserHierarchyCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface UpdateUserHierarchyGroupNameCommandOutput extends __MetadataBea
26
26
  * import { ConnectClient, UpdateUserHierarchyGroupNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateUserHierarchyGroupNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateUserHierarchyGroupNameRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * HierarchyGroupId: "STRING_VALUE", // required
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new UpdateUserHierarchyGroupNameCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,26 @@ export interface UpdateUserHierarchyStructureCommandOutput extends __MetadataBea
26
26
  * import { ConnectClient, UpdateUserHierarchyStructureCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, UpdateUserHierarchyStructureCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // UpdateUserHierarchyStructureRequest
30
+ * HierarchyStructure: { // HierarchyStructureUpdate
31
+ * LevelOne: { // HierarchyLevelUpdate
32
+ * Name: "STRING_VALUE", // required
33
+ * },
34
+ * LevelTwo: {
35
+ * Name: "STRING_VALUE", // required
36
+ * },
37
+ * LevelThree: {
38
+ * Name: "STRING_VALUE", // required
39
+ * },
40
+ * LevelFour: {
41
+ * Name: "STRING_VALUE", // required
42
+ * },
43
+ * LevelFive: {
44
+ * Name: "STRING_VALUE", // required
45
+ * },
46
+ * },
47
+ * InstanceId: "STRING_VALUE", // required
48
+ * };
29
49
  * const command = new UpdateUserHierarchyStructureCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```