@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
@@ -0,0 +1,93 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { DeleteViewRequest, DeleteViewResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteViewCommand}.
14
+ */
15
+ export interface DeleteViewCommandInput extends DeleteViewRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteViewCommand}.
21
+ */
22
+ export interface DeleteViewCommandOutput extends DeleteViewResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, DeleteViewCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, DeleteViewCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // DeleteViewRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * ViewId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteViewCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteViewCommandInput - {@link DeleteViewCommandInput}
44
+ * @returns {@link DeleteViewCommandOutput}
45
+ * @see {@link DeleteViewCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteViewCommandOutput} for command's `response` shape.
47
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You do not have sufficient permissions to perform this action.</p>
51
+ *
52
+ * @throws {@link InternalServiceException} (server fault)
53
+ * <p>Request processing failed because of an error or failure with the service.</p>
54
+ *
55
+ * @throws {@link InvalidParameterException} (client fault)
56
+ * <p>One or more of the specified parameters are not valid.</p>
57
+ *
58
+ * @throws {@link InvalidRequestException} (client fault)
59
+ * <p>The request is not valid.</p>
60
+ *
61
+ * @throws {@link ResourceInUseException} (client fault)
62
+ * <p>That resource is already in use. Please try another.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The specified resource was not found.</p>
66
+ *
67
+ * @throws {@link TooManyRequestsException} (client fault)
68
+ * <p>Displayed when rate-related API limits are exceeded.</p>
69
+ *
70
+ * @throws {@link ConnectServiceException}
71
+ * <p>Base exception class for all service exceptions from Connect service.</p>
72
+ *
73
+ */
74
+ export declare class DeleteViewCommand extends $Command<DeleteViewCommandInput, DeleteViewCommandOutput, ConnectClientResolvedConfig> {
75
+ readonly input: DeleteViewCommandInput;
76
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
80
+ constructor(input: DeleteViewCommandInput);
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteViewCommandInput, DeleteViewCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
88
+ private serialize;
89
+ /**
90
+ * @internal
91
+ */
92
+ private deserialize;
93
+ }
@@ -0,0 +1,94 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { DeleteViewVersionRequest, DeleteViewVersionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteViewVersionCommand}.
14
+ */
15
+ export interface DeleteViewVersionCommandInput extends DeleteViewVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteViewVersionCommand}.
21
+ */
22
+ export interface DeleteViewVersionCommandOutput extends DeleteViewVersionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the particular version specified in <code>ViewVersion</code> identifier.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, DeleteViewVersionCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, DeleteViewVersionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // DeleteViewVersionRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * ViewId: "STRING_VALUE", // required
36
+ * ViewVersion: Number("int"), // required
37
+ * };
38
+ * const command = new DeleteViewVersionCommand(input);
39
+ * const response = await client.send(command);
40
+ * // {};
41
+ *
42
+ * ```
43
+ *
44
+ * @param DeleteViewVersionCommandInput - {@link DeleteViewVersionCommandInput}
45
+ * @returns {@link DeleteViewVersionCommandOutput}
46
+ * @see {@link DeleteViewVersionCommandInput} for command's `input` shape.
47
+ * @see {@link DeleteViewVersionCommandOutput} for command's `response` shape.
48
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
49
+ *
50
+ * @throws {@link AccessDeniedException} (client fault)
51
+ * <p>You do not have sufficient permissions to perform this action.</p>
52
+ *
53
+ * @throws {@link InternalServiceException} (server fault)
54
+ * <p>Request processing failed because of an error or failure with the service.</p>
55
+ *
56
+ * @throws {@link InvalidParameterException} (client fault)
57
+ * <p>One or more of the specified parameters are not valid.</p>
58
+ *
59
+ * @throws {@link InvalidRequestException} (client fault)
60
+ * <p>The request is not valid.</p>
61
+ *
62
+ * @throws {@link ResourceInUseException} (client fault)
63
+ * <p>That resource is already in use. Please try another.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource was not found.</p>
67
+ *
68
+ * @throws {@link TooManyRequestsException} (client fault)
69
+ * <p>Displayed when rate-related API limits are exceeded.</p>
70
+ *
71
+ * @throws {@link ConnectServiceException}
72
+ * <p>Base exception class for all service exceptions from Connect service.</p>
73
+ *
74
+ */
75
+ export declare class DeleteViewVersionCommand extends $Command<DeleteViewVersionCommandInput, DeleteViewVersionCommandOutput, ConnectClientResolvedConfig> {
76
+ readonly input: DeleteViewVersionCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: DeleteViewVersionCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteViewVersionCommandInput, DeleteViewVersionCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }
@@ -0,0 +1,121 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { DescribeViewRequest, DescribeViewResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeViewCommand}.
14
+ */
15
+ export interface DescribeViewCommandInput extends DescribeViewRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeViewCommand}.
21
+ */
22
+ export interface DescribeViewCommandOutput extends DescribeViewResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the view for the specified Amazon Connect instance and view identifier.</p>
27
+ * <p>The view identifier can be supplied as a ViewId or ARN.</p>
28
+ * <p>
29
+ * <code>$SAVED</code> needs to be supplied if a view is unpublished.</p>
30
+ * <p>The view identifier can contain an optional qualifier, for example, <code><view-id>:$SAVED</code>, which
31
+ * is either an actual version number or an Amazon Connect managed qualifier <code>$SAVED | $LATEST</code>.
32
+ * If it is not supplied, then <code>$LATEST</code> is assumed for customer managed views and an error is
33
+ * returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { ConnectClient, DescribeViewCommand } from "@aws-sdk/client-connect"; // ES Modules import
38
+ * // const { ConnectClient, DescribeViewCommand } = require("@aws-sdk/client-connect"); // CommonJS import
39
+ * const client = new ConnectClient(config);
40
+ * const input = { // DescribeViewRequest
41
+ * InstanceId: "STRING_VALUE", // required
42
+ * ViewId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new DescribeViewCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // DescribeViewResponse
47
+ * // View: { // View
48
+ * // Id: "STRING_VALUE",
49
+ * // Arn: "STRING_VALUE",
50
+ * // Name: "STRING_VALUE",
51
+ * // Status: "PUBLISHED" || "SAVED",
52
+ * // Type: "CUSTOMER_MANAGED" || "AWS_MANAGED",
53
+ * // Description: "STRING_VALUE",
54
+ * // Version: Number("int"),
55
+ * // VersionDescription: "STRING_VALUE",
56
+ * // Content: { // ViewContent
57
+ * // InputSchema: "STRING_VALUE",
58
+ * // Template: "STRING_VALUE",
59
+ * // Actions: [ // ViewActions
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // },
63
+ * // Tags: { // TagMap
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // CreatedTime: new Date("TIMESTAMP"),
67
+ * // LastModifiedTime: new Date("TIMESTAMP"),
68
+ * // ViewContentSha256: "STRING_VALUE",
69
+ * // },
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param DescribeViewCommandInput - {@link DescribeViewCommandInput}
75
+ * @returns {@link DescribeViewCommandOutput}
76
+ * @see {@link DescribeViewCommandInput} for command's `input` shape.
77
+ * @see {@link DescribeViewCommandOutput} for command's `response` shape.
78
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You do not have sufficient permissions to perform this action.</p>
82
+ *
83
+ * @throws {@link InternalServiceException} (server fault)
84
+ * <p>Request processing failed because of an error or failure with the service.</p>
85
+ *
86
+ * @throws {@link InvalidParameterException} (client fault)
87
+ * <p>One or more of the specified parameters are not valid.</p>
88
+ *
89
+ * @throws {@link InvalidRequestException} (client fault)
90
+ * <p>The request is not valid.</p>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p>The specified resource was not found.</p>
94
+ *
95
+ * @throws {@link TooManyRequestsException} (client fault)
96
+ * <p>Displayed when rate-related API limits are exceeded.</p>
97
+ *
98
+ * @throws {@link ConnectServiceException}
99
+ * <p>Base exception class for all service exceptions from Connect service.</p>
100
+ *
101
+ */
102
+ export declare class DescribeViewCommand extends $Command<DescribeViewCommandInput, DescribeViewCommandOutput, ConnectClientResolvedConfig> {
103
+ readonly input: DescribeViewCommandInput;
104
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
105
+ /**
106
+ * @public
107
+ */
108
+ constructor(input: DescribeViewCommandInput);
109
+ /**
110
+ * @internal
111
+ */
112
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeViewCommandInput, DescribeViewCommandOutput>;
113
+ /**
114
+ * @internal
115
+ */
116
+ private serialize;
117
+ /**
118
+ * @internal
119
+ */
120
+ private deserialize;
121
+ }
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DescribeVocabularyRequest, DescribeVocabularyResponse } from "../models/models_0";
5
+ import { DescribeVocabularyRequest } from "../models/models_0";
6
+ import { DescribeVocabularyResponse } from "../models/models_1";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateApprovedOriginRequest } from "../models/models_0";
5
+ import { DisassociateApprovedOriginRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateBotRequest } from "../models/models_0";
5
+ import { DisassociateBotRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateInstanceStorageConfigRequest } from "../models/models_0";
5
+ import { DisassociateInstanceStorageConfigRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateLambdaFunctionRequest } from "../models/models_0";
5
+ import { DisassociateLambdaFunctionRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateLexBotRequest } from "../models/models_0";
5
+ import { DisassociateLexBotRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociatePhoneNumberContactFlowRequest } from "../models/models_0";
5
+ import { DisassociatePhoneNumberContactFlowRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateQueueQuickConnectsRequest } from "../models/models_0";
5
+ import { DisassociateQueueQuickConnectsRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateRoutingProfileQueuesRequest } from "../models/models_0";
5
+ import { DisassociateRoutingProfileQueuesRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateSecurityKeyRequest } from "../models/models_0";
5
+ import { DisassociateSecurityKeyRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DisassociateTrafficDistributionGroupUserRequest, DisassociateTrafficDistributionGroupUserResponse } from "../models/models_0";
5
+ import { DisassociateTrafficDistributionGroupUserRequest, DisassociateTrafficDistributionGroupUserResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { DismissUserContactRequest, DismissUserContactResponse } from "../models/models_0";
5
+ import { DismissUserContactRequest, DismissUserContactResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { GetContactAttributesRequest } from "../models/models_0";
6
- import { GetContactAttributesResponse } from "../models/models_1";
5
+ import { GetContactAttributesRequest, GetContactAttributesResponse } from "../models/models_1";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -28,10 +28,20 @@ export interface ListPhoneNumbersCommandOutput extends ListPhoneNumbersResponse,
28
28
  * Contact Center</a> in the <i>Amazon Connect Administrator
29
29
  * Guide</i>.</p>
30
30
  * <important>
31
- * <p>The phone number <code>Arn</code> value that is returned from each of the items in the
32
- * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbers.html#connect-ListPhoneNumbers-response-PhoneNumberSummaryList">PhoneNumberSummaryList</a> cannot be used to tag phone number resources. It will fail with
33
- * a <code>ResourceNotFoundException</code>. Instead, use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html">ListPhoneNumbersV2</a> API.
34
- * It returns the new phone number ARN that can be used to tag phone number resources.</p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>We recommend using <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html">ListPhoneNumbersV2</a> to
34
+ * return phone number types. ListPhoneNumbers doesn't support number types <code>UIFN</code>,
35
+ * <code>SHARED</code>, <code>THIRD_PARTY_TF</code>, and <code>THIRD_PARTY_DID</code>. While it returns
36
+ * numbers of those types, it incorrectly lists them as <code>TOLL_FREE</code> or <code>DID</code>. </p>
37
+ * </li>
38
+ * <li>
39
+ * <p>The phone number <code>Arn</code> value that is returned from each of the items in the
40
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbers.html#connect-ListPhoneNumbers-response-PhoneNumberSummaryList">PhoneNumberSummaryList</a> cannot be used to tag phone number resources. It will fail
41
+ * with a <code>ResourceNotFoundException</code>. Instead, use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html">ListPhoneNumbersV2</a> API.
42
+ * It returns the new phone number ARN that can be used to tag phone number resources.</p>
43
+ * </li>
44
+ * </ul>
35
45
  * </important>
36
46
  * @example
37
47
  * Use a bare-bones client and the command you need to make an API call.
@@ -0,0 +1,106 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { ListViewVersionsRequest, ListViewVersionsResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListViewVersionsCommand}.
14
+ */
15
+ export interface ListViewVersionsCommandInput extends ListViewVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListViewVersionsCommand}.
21
+ */
22
+ export interface ListViewVersionsCommandOutput extends ListViewVersionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns all the available versions for the specified Amazon Connect instance and view identifier.</p>
27
+ * <p>Results will be sorted from highest to lowest.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ConnectClient, ListViewVersionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
32
+ * // const { ConnectClient, ListViewVersionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
33
+ * const client = new ConnectClient(config);
34
+ * const input = { // ListViewVersionsRequest
35
+ * InstanceId: "STRING_VALUE", // required
36
+ * ViewId: "STRING_VALUE", // required
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * };
40
+ * const command = new ListViewVersionsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListViewVersionsResponse
43
+ * // ViewVersionSummaryList: [ // ViewVersionSummaryList
44
+ * // { // ViewVersionSummary
45
+ * // Id: "STRING_VALUE",
46
+ * // Arn: "STRING_VALUE",
47
+ * // Description: "STRING_VALUE",
48
+ * // Name: "STRING_VALUE",
49
+ * // Type: "CUSTOMER_MANAGED" || "AWS_MANAGED",
50
+ * // Version: Number("int"),
51
+ * // VersionDescription: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListViewVersionsCommandInput - {@link ListViewVersionsCommandInput}
60
+ * @returns {@link ListViewVersionsCommandOutput}
61
+ * @see {@link ListViewVersionsCommandInput} for command's `input` shape.
62
+ * @see {@link ListViewVersionsCommandOutput} for command's `response` shape.
63
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient permissions to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServiceException} (server fault)
69
+ * <p>Request processing failed because of an error or failure with the service.</p>
70
+ *
71
+ * @throws {@link InvalidParameterException} (client fault)
72
+ * <p>One or more of the specified parameters are not valid.</p>
73
+ *
74
+ * @throws {@link InvalidRequestException} (client fault)
75
+ * <p>The request is not valid.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource was not found.</p>
79
+ *
80
+ * @throws {@link TooManyRequestsException} (client fault)
81
+ * <p>Displayed when rate-related API limits are exceeded.</p>
82
+ *
83
+ * @throws {@link ConnectServiceException}
84
+ * <p>Base exception class for all service exceptions from Connect service.</p>
85
+ *
86
+ */
87
+ export declare class ListViewVersionsCommand extends $Command<ListViewVersionsCommandInput, ListViewVersionsCommandOutput, ConnectClientResolvedConfig> {
88
+ readonly input: ListViewVersionsCommandInput;
89
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
+ /**
91
+ * @public
92
+ */
93
+ constructor(input: ListViewVersionsCommandInput);
94
+ /**
95
+ * @internal
96
+ */
97
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListViewVersionsCommandInput, ListViewVersionsCommandOutput>;
98
+ /**
99
+ * @internal
100
+ */
101
+ private serialize;
102
+ /**
103
+ * @internal
104
+ */
105
+ private deserialize;
106
+ }