@aws-sdk/client-connect 3.709.0 → 3.712.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 (96) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +471 -95
  3. package/dist-es/Connect.js +14 -0
  4. package/dist-es/commands/CreateHoursOfOperationOverrideCommand.js +22 -0
  5. package/dist-es/commands/DeleteHoursOfOperationOverrideCommand.js +22 -0
  6. package/dist-es/commands/DescribeHoursOfOperationOverrideCommand.js +22 -0
  7. package/dist-es/commands/GetEffectiveHoursOfOperationsCommand.js +22 -0
  8. package/dist-es/commands/ListHoursOfOperationOverridesCommand.js +22 -0
  9. package/dist-es/commands/SearchHoursOfOperationOverridesCommand.js +22 -0
  10. package/dist-es/commands/UpdateHoursOfOperationOverrideCommand.js +22 -0
  11. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +1 -1
  12. package/dist-es/commands/UpdateViewContentCommand.js +1 -1
  13. package/dist-es/commands/UpdateViewMetadataCommand.js +1 -1
  14. package/dist-es/commands/index.js +7 -0
  15. package/dist-es/models/models_0.js +9 -0
  16. package/dist-es/models/models_1.js +0 -17
  17. package/dist-es/models/models_2.js +37 -40
  18. package/dist-es/models/models_3.js +27 -0
  19. package/dist-es/pagination/ListHoursOfOperationOverridesPaginator.js +4 -0
  20. package/dist-es/pagination/SearchHoursOfOperationOverridesPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +2 -0
  22. package/dist-es/protocols/Aws_restJson1.js +225 -1
  23. package/dist-types/Connect.d.ts +49 -0
  24. package/dist-types/ConnectClient.d.ts +9 -2
  25. package/dist-types/commands/CreateHoursOfOperationOverrideCommand.d.ts +111 -0
  26. package/dist-types/commands/CreateQueueCommand.d.ts +1 -2
  27. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +87 -0
  28. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteUseCaseCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeHoursOfOperationOverrideCommand.d.ts +109 -0
  33. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +106 -0
  34. package/dist-types/commands/ListHoursOfOperationOverridesCommand.d.ts +115 -0
  35. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -2
  36. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +4 -0
  37. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +168 -0
  38. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.d.ts +109 -0
  39. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateViewContentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +1 -1
  52. package/dist-types/commands/index.d.ts +7 -0
  53. package/dist-types/models/models_0.d.ts +134 -73
  54. package/dist-types/models/models_1.d.ts +274 -314
  55. package/dist-types/models/models_2.d.ts +443 -486
  56. package/dist-types/models/models_3.d.ts +532 -3
  57. package/dist-types/pagination/ListHoursOfOperationOverridesPaginator.d.ts +7 -0
  58. package/dist-types/pagination/SearchHoursOfOperationOverridesPaginator.d.ts +7 -0
  59. package/dist-types/pagination/index.d.ts +2 -0
  60. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  61. package/dist-types/ts3.4/Connect.d.ts +119 -0
  62. package/dist-types/ts3.4/ConnectClient.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/CreateHoursOfOperationOverrideCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/DeleteHoursOfOperationOverrideCommand.d.ts +47 -0
  65. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DeleteTrafficDistributionGroupCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeHoursOfOperationOverrideCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/ListHoursOfOperationOverridesCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +49 -0
  74. package/dist-types/ts3.4/commands/UpdateHoursOfOperationOverrideCommand.d.ts +47 -0
  75. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +36 -18
  89. package/dist-types/ts3.4/models/models_1.d.ts +68 -99
  90. package/dist-types/ts3.4/models/models_2.d.ts +142 -157
  91. package/dist-types/ts3.4/models/models_3.d.ts +163 -2
  92. package/dist-types/ts3.4/pagination/ListHoursOfOperationOverridesPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/SearchHoursOfOperationOverridesPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  96. package/package.json +5 -5
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { ListHoursOfOperationOverridesRequest, ListHoursOfOperationOverridesResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListHoursOfOperationOverridesCommand}.
14
+ */
15
+ export interface ListHoursOfOperationOverridesCommandInput extends ListHoursOfOperationOverridesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListHoursOfOperationOverridesCommand}.
21
+ */
22
+ export interface ListHoursOfOperationOverridesCommandOutput extends ListHoursOfOperationOverridesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListHoursOfOperationOverridesCommand_base: {
25
+ new (input: ListHoursOfOperationOverridesCommandInput): import("@smithy/smithy-client").CommandImpl<ListHoursOfOperationOverridesCommandInput, ListHoursOfOperationOverridesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListHoursOfOperationOverridesCommandInput): import("@smithy/smithy-client").CommandImpl<ListHoursOfOperationOverridesCommandInput, ListHoursOfOperationOverridesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List the hours of operation overrides.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, ListHoursOfOperationOverridesCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, ListHoursOfOperationOverridesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * const client = new ConnectClient(config);
37
+ * const input = { // ListHoursOfOperationOverridesRequest
38
+ * InstanceId: "STRING_VALUE", // required
39
+ * HoursOfOperationId: "STRING_VALUE", // required
40
+ * NextToken: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * };
43
+ * const command = new ListHoursOfOperationOverridesCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListHoursOfOperationOverridesResponse
46
+ * // NextToken: "STRING_VALUE",
47
+ * // HoursOfOperationOverrideList: [ // HoursOfOperationOverrideList
48
+ * // { // HoursOfOperationOverride
49
+ * // HoursOfOperationOverrideId: "STRING_VALUE",
50
+ * // HoursOfOperationId: "STRING_VALUE",
51
+ * // HoursOfOperationArn: "STRING_VALUE",
52
+ * // Name: "STRING_VALUE",
53
+ * // Description: "STRING_VALUE",
54
+ * // Config: [ // HoursOfOperationOverrideConfigList
55
+ * // { // HoursOfOperationOverrideConfig
56
+ * // Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
57
+ * // StartTime: { // OverrideTimeSlice
58
+ * // Hours: Number("int"), // required
59
+ * // Minutes: Number("int"), // required
60
+ * // },
61
+ * // EndTime: {
62
+ * // Hours: Number("int"), // required
63
+ * // Minutes: Number("int"), // required
64
+ * // },
65
+ * // },
66
+ * // ],
67
+ * // EffectiveFrom: "STRING_VALUE",
68
+ * // EffectiveTill: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // LastModifiedRegion: "STRING_VALUE",
72
+ * // LastModifiedTime: new Date("TIMESTAMP"),
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param ListHoursOfOperationOverridesCommandInput - {@link ListHoursOfOperationOverridesCommandInput}
78
+ * @returns {@link ListHoursOfOperationOverridesCommandOutput}
79
+ * @see {@link ListHoursOfOperationOverridesCommandInput} for command's `input` shape.
80
+ * @see {@link ListHoursOfOperationOverridesCommandOutput} for command's `response` shape.
81
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
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 ThrottlingException} (client fault)
96
+ * <p>The throttling limit has been exceeded.</p>
97
+ *
98
+ * @throws {@link ConnectServiceException}
99
+ * <p>Base exception class for all service exceptions from Connect service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class ListHoursOfOperationOverridesCommand extends ListHoursOfOperationOverridesCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: ListHoursOfOperationOverridesRequest;
108
+ output: ListHoursOfOperationOverridesResponse;
109
+ };
110
+ sdk: {
111
+ input: ListHoursOfOperationOverridesCommandInput;
112
+ output: ListHoursOfOperationOverridesCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListRealtimeContactAnalysisSegmentsV2Request } from "../models/models_1";
5
- import { ListRealtimeContactAnalysisSegmentsV2Response } from "../models/models_2";
4
+ import { ListRealtimeContactAnalysisSegmentsV2Request, ListRealtimeContactAnalysisSegmentsV2Response } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -72,6 +72,8 @@ declare const SearchContactFlowModulesCommand_base: {
72
72
  * Value: "STRING_VALUE",
73
73
  * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
74
74
  * },
75
+ * StateCondition: "ACTIVE" || "ARCHIVED",
76
+ * StatusCondition: "PUBLISHED" || "SAVED",
75
77
  * },
76
78
  * ],
77
79
  * AndConditions: [
@@ -82,6 +84,8 @@ declare const SearchContactFlowModulesCommand_base: {
82
84
  * Value: "STRING_VALUE",
83
85
  * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
84
86
  * },
87
+ * StateCondition: "ACTIVE" || "ARCHIVED",
88
+ * StatusCondition: "PUBLISHED" || "SAVED",
85
89
  * },
86
90
  * };
87
91
  * const command = new SearchContactFlowModulesCommand(input);
@@ -0,0 +1,168 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { SearchHoursOfOperationOverridesResponse } from "../models/models_2";
5
+ import { SearchHoursOfOperationOverridesRequest } from "../models/models_3";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link SearchHoursOfOperationOverridesCommand}.
15
+ */
16
+ export interface SearchHoursOfOperationOverridesCommandInput extends SearchHoursOfOperationOverridesRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link SearchHoursOfOperationOverridesCommand}.
22
+ */
23
+ export interface SearchHoursOfOperationOverridesCommandOutput extends SearchHoursOfOperationOverridesResponse, __MetadataBearer {
24
+ }
25
+ declare const SearchHoursOfOperationOverridesCommand_base: {
26
+ new (input: SearchHoursOfOperationOverridesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchHoursOfOperationOverridesCommandInput, SearchHoursOfOperationOverridesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (__0_0: SearchHoursOfOperationOverridesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchHoursOfOperationOverridesCommandInput, SearchHoursOfOperationOverridesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Searches the hours of operation overrides.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ConnectClient, SearchHoursOfOperationOverridesCommand } from "@aws-sdk/client-connect"; // ES Modules import
36
+ * // const { ConnectClient, SearchHoursOfOperationOverridesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
37
+ * const client = new ConnectClient(config);
38
+ * const input = { // SearchHoursOfOperationOverridesRequest
39
+ * InstanceId: "STRING_VALUE", // required
40
+ * NextToken: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * SearchFilter: { // HoursOfOperationSearchFilter
43
+ * TagFilter: { // ControlPlaneTagFilter
44
+ * OrConditions: [ // TagOrConditionList
45
+ * [ // TagAndConditionList
46
+ * { // TagCondition
47
+ * TagKey: "STRING_VALUE",
48
+ * TagValue: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * ],
52
+ * AndConditions: [
53
+ * {
54
+ * TagKey: "STRING_VALUE",
55
+ * TagValue: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * TagCondition: "<TagCondition>",
59
+ * },
60
+ * },
61
+ * SearchCriteria: { // HoursOfOperationOverrideSearchCriteria
62
+ * OrConditions: [ // HoursOfOperationOverrideSearchConditionList
63
+ * {
64
+ * OrConditions: [
65
+ * "<HoursOfOperationOverrideSearchCriteria>",
66
+ * ],
67
+ * AndConditions: [
68
+ * "<HoursOfOperationOverrideSearchCriteria>",
69
+ * ],
70
+ * StringCondition: { // StringCondition
71
+ * FieldName: "STRING_VALUE",
72
+ * Value: "STRING_VALUE",
73
+ * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
74
+ * },
75
+ * DateCondition: { // DateCondition
76
+ * FieldName: "STRING_VALUE",
77
+ * Value: "STRING_VALUE",
78
+ * ComparisonType: "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL_TO" || "LESS_THAN_OR_EQUAL_TO" || "EQUAL_TO",
79
+ * },
80
+ * },
81
+ * ],
82
+ * AndConditions: [
83
+ * "<HoursOfOperationOverrideSearchCriteria>",
84
+ * ],
85
+ * StringCondition: {
86
+ * FieldName: "STRING_VALUE",
87
+ * Value: "STRING_VALUE",
88
+ * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
89
+ * },
90
+ * DateCondition: {
91
+ * FieldName: "STRING_VALUE",
92
+ * Value: "STRING_VALUE",
93
+ * ComparisonType: "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL_TO" || "LESS_THAN_OR_EQUAL_TO" || "EQUAL_TO",
94
+ * },
95
+ * },
96
+ * };
97
+ * const command = new SearchHoursOfOperationOverridesCommand(input);
98
+ * const response = await client.send(command);
99
+ * // { // SearchHoursOfOperationOverridesResponse
100
+ * // HoursOfOperationOverrides: [ // HoursOfOperationOverrideList
101
+ * // { // HoursOfOperationOverride
102
+ * // HoursOfOperationOverrideId: "STRING_VALUE",
103
+ * // HoursOfOperationId: "STRING_VALUE",
104
+ * // HoursOfOperationArn: "STRING_VALUE",
105
+ * // Name: "STRING_VALUE",
106
+ * // Description: "STRING_VALUE",
107
+ * // Config: [ // HoursOfOperationOverrideConfigList
108
+ * // { // HoursOfOperationOverrideConfig
109
+ * // Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
110
+ * // StartTime: { // OverrideTimeSlice
111
+ * // Hours: Number("int"), // required
112
+ * // Minutes: Number("int"), // required
113
+ * // },
114
+ * // EndTime: {
115
+ * // Hours: Number("int"), // required
116
+ * // Minutes: Number("int"), // required
117
+ * // },
118
+ * // },
119
+ * // ],
120
+ * // EffectiveFrom: "STRING_VALUE",
121
+ * // EffectiveTill: "STRING_VALUE",
122
+ * // },
123
+ * // ],
124
+ * // NextToken: "STRING_VALUE",
125
+ * // ApproximateTotalCount: Number("long"),
126
+ * // };
127
+ *
128
+ * ```
129
+ *
130
+ * @param SearchHoursOfOperationOverridesCommandInput - {@link SearchHoursOfOperationOverridesCommandInput}
131
+ * @returns {@link SearchHoursOfOperationOverridesCommandOutput}
132
+ * @see {@link SearchHoursOfOperationOverridesCommandInput} for command's `input` shape.
133
+ * @see {@link SearchHoursOfOperationOverridesCommandOutput} for command's `response` shape.
134
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
135
+ *
136
+ * @throws {@link InternalServiceException} (server fault)
137
+ * <p>Request processing failed because of an error or failure with the service.</p>
138
+ *
139
+ * @throws {@link InvalidParameterException} (client fault)
140
+ * <p>One or more of the specified parameters are not valid.</p>
141
+ *
142
+ * @throws {@link InvalidRequestException} (client fault)
143
+ * <p>The request is not valid.</p>
144
+ *
145
+ * @throws {@link ResourceNotFoundException} (client fault)
146
+ * <p>The specified resource was not found.</p>
147
+ *
148
+ * @throws {@link ThrottlingException} (client fault)
149
+ * <p>The throttling limit has been exceeded.</p>
150
+ *
151
+ * @throws {@link ConnectServiceException}
152
+ * <p>Base exception class for all service exceptions from Connect service.</p>
153
+ *
154
+ * @public
155
+ */
156
+ export declare class SearchHoursOfOperationOverridesCommand extends SearchHoursOfOperationOverridesCommand_base {
157
+ /** @internal type navigation helper, not in runtime. */
158
+ protected static __types: {
159
+ api: {
160
+ input: SearchHoursOfOperationOverridesRequest;
161
+ output: SearchHoursOfOperationOverridesResponse;
162
+ };
163
+ sdk: {
164
+ input: SearchHoursOfOperationOverridesCommandInput;
165
+ output: SearchHoursOfOperationOverridesCommandOutput;
166
+ };
167
+ };
168
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { UpdateHoursOfOperationOverrideRequest } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateHoursOfOperationOverrideCommand}.
14
+ */
15
+ export interface UpdateHoursOfOperationOverrideCommandInput extends UpdateHoursOfOperationOverrideRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateHoursOfOperationOverrideCommand}.
21
+ */
22
+ export interface UpdateHoursOfOperationOverrideCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UpdateHoursOfOperationOverrideCommand_base: {
25
+ new (input: UpdateHoursOfOperationOverrideCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHoursOfOperationOverrideCommandInput, UpdateHoursOfOperationOverrideCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateHoursOfOperationOverrideCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHoursOfOperationOverrideCommandInput, UpdateHoursOfOperationOverrideCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update the hours of operation override.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, UpdateHoursOfOperationOverrideCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, UpdateHoursOfOperationOverrideCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * const client = new ConnectClient(config);
37
+ * const input = { // UpdateHoursOfOperationOverrideRequest
38
+ * InstanceId: "STRING_VALUE", // required
39
+ * HoursOfOperationId: "STRING_VALUE", // required
40
+ * HoursOfOperationOverrideId: "STRING_VALUE", // required
41
+ * Name: "STRING_VALUE",
42
+ * Description: "STRING_VALUE",
43
+ * Config: [ // HoursOfOperationOverrideConfigList
44
+ * { // HoursOfOperationOverrideConfig
45
+ * Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
46
+ * StartTime: { // OverrideTimeSlice
47
+ * Hours: Number("int"), // required
48
+ * Minutes: Number("int"), // required
49
+ * },
50
+ * EndTime: {
51
+ * Hours: Number("int"), // required
52
+ * Minutes: Number("int"), // required
53
+ * },
54
+ * },
55
+ * ],
56
+ * EffectiveFrom: "STRING_VALUE",
57
+ * EffectiveTill: "STRING_VALUE",
58
+ * };
59
+ * const command = new UpdateHoursOfOperationOverrideCommand(input);
60
+ * const response = await client.send(command);
61
+ * // {};
62
+ *
63
+ * ```
64
+ *
65
+ * @param UpdateHoursOfOperationOverrideCommandInput - {@link UpdateHoursOfOperationOverrideCommandInput}
66
+ * @returns {@link UpdateHoursOfOperationOverrideCommandOutput}
67
+ * @see {@link UpdateHoursOfOperationOverrideCommandInput} for command's `input` shape.
68
+ * @see {@link UpdateHoursOfOperationOverrideCommandOutput} for command's `response` shape.
69
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
70
+ *
71
+ * @throws {@link ConditionalOperationFailedException} (client fault)
72
+ * <p>Request processing failed because dependent condition failed.</p>
73
+ *
74
+ * @throws {@link DuplicateResourceException} (client fault)
75
+ * <p>A resource with the specified name already exists.</p>
76
+ *
77
+ * @throws {@link InternalServiceException} (server fault)
78
+ * <p>Request processing failed because of an error or failure with the service.</p>
79
+ *
80
+ * @throws {@link InvalidParameterException} (client fault)
81
+ * <p>One or more of the specified parameters are not valid.</p>
82
+ *
83
+ * @throws {@link InvalidRequestException} (client fault)
84
+ * <p>The request is not valid.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The specified resource was not found.</p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The throttling limit has been exceeded.</p>
91
+ *
92
+ * @throws {@link ConnectServiceException}
93
+ * <p>Base exception class for all service exceptions from Connect service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class UpdateHoursOfOperationOverrideCommand extends UpdateHoursOfOperationOverrideCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: UpdateHoursOfOperationOverrideRequest;
102
+ output: {};
103
+ };
104
+ sdk: {
105
+ input: UpdateHoursOfOperationOverrideCommandInput;
106
+ output: UpdateHoursOfOperationOverrideCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -57,7 +57,7 @@ declare const UpdateQueueOutboundEmailConfigCommand_base: {
57
57
  * <p>You do not have sufficient permissions to perform this action.</p>
58
58
  *
59
59
  * @throws {@link ConditionalOperationFailedException} (client fault)
60
- * <p>A conditional check failed.</p>
60
+ * <p>Request processing failed because dependent condition failed.</p>
61
61
  *
62
62
  * @throws {@link InternalServiceException} (server fault)
63
63
  * <p>Request processing failed because of an error or failure with the service.</p>
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_2";
4
+ import { UpdateTaskTemplateRequest } from "../models/models_2";
5
+ import { UpdateTaskTemplateResponse } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateTrafficDistributionRequest, UpdateTrafficDistributionResponse } from "../models/models_2";
4
+ import { UpdateTrafficDistributionRequest, UpdateTrafficDistributionResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserHierarchyRequest } from "../models/models_2";
4
+ import { UpdateUserHierarchyRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserHierarchyGroupNameRequest } from "../models/models_2";
4
+ import { UpdateUserHierarchyGroupNameRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserHierarchyStructureRequest } from "../models/models_2";
4
+ import { UpdateUserHierarchyStructureRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserIdentityInfoRequest } from "../models/models_2";
4
+ import { UpdateUserIdentityInfoRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserPhoneConfigRequest } from "../models/models_2";
4
+ import { UpdateUserPhoneConfigRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserProficienciesRequest } from "../models/models_2";
4
+ import { UpdateUserProficienciesRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserRoutingProfileRequest } from "../models/models_2";
4
+ import { UpdateUserRoutingProfileRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateUserSecurityProfilesRequest } from "../models/models_2";
4
+ import { UpdateUserSecurityProfilesRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateViewContentRequest, UpdateViewContentResponse } from "../models/models_2";
4
+ import { UpdateViewContentRequest, UpdateViewContentResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateViewMetadataRequest, UpdateViewMetadataResponse } from "../models/models_2";
4
+ import { UpdateViewMetadataRequest, UpdateViewMetadataResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -28,6 +28,7 @@ export * from "./CreateContactFlowVersionCommand";
28
28
  export * from "./CreateEmailAddressCommand";
29
29
  export * from "./CreateEvaluationFormCommand";
30
30
  export * from "./CreateHoursOfOperationCommand";
31
+ export * from "./CreateHoursOfOperationOverrideCommand";
31
32
  export * from "./CreateInstanceCommand";
32
33
  export * from "./CreateIntegrationAssociationCommand";
33
34
  export * from "./CreateParticipantCommand";
@@ -56,6 +57,7 @@ export * from "./DeleteContactFlowModuleCommand";
56
57
  export * from "./DeleteEmailAddressCommand";
57
58
  export * from "./DeleteEvaluationFormCommand";
58
59
  export * from "./DeleteHoursOfOperationCommand";
60
+ export * from "./DeleteHoursOfOperationOverrideCommand";
59
61
  export * from "./DeleteInstanceCommand";
60
62
  export * from "./DeleteIntegrationAssociationCommand";
61
63
  export * from "./DeletePredefinedAttributeCommand";
@@ -83,6 +85,7 @@ export * from "./DescribeContactFlowModuleCommand";
83
85
  export * from "./DescribeEmailAddressCommand";
84
86
  export * from "./DescribeEvaluationFormCommand";
85
87
  export * from "./DescribeHoursOfOperationCommand";
88
+ export * from "./DescribeHoursOfOperationOverrideCommand";
86
89
  export * from "./DescribeInstanceAttributeCommand";
87
90
  export * from "./DescribeInstanceCommand";
88
91
  export * from "./DescribeInstanceStorageConfigCommand";
@@ -118,6 +121,7 @@ export * from "./GetAttachedFileCommand";
118
121
  export * from "./GetContactAttributesCommand";
119
122
  export * from "./GetCurrentMetricDataCommand";
120
123
  export * from "./GetCurrentUserDataCommand";
124
+ export * from "./GetEffectiveHoursOfOperationsCommand";
121
125
  export * from "./GetFederationTokenCommand";
122
126
  export * from "./GetFlowAssociationCommand";
123
127
  export * from "./GetMetricDataCommand";
@@ -141,6 +145,7 @@ export * from "./ListDefaultVocabulariesCommand";
141
145
  export * from "./ListEvaluationFormVersionsCommand";
142
146
  export * from "./ListEvaluationFormsCommand";
143
147
  export * from "./ListFlowAssociationsCommand";
148
+ export * from "./ListHoursOfOperationOverridesCommand";
144
149
  export * from "./ListHoursOfOperationsCommand";
145
150
  export * from "./ListInstanceAttributesCommand";
146
151
  export * from "./ListInstanceStorageConfigsCommand";
@@ -186,6 +191,7 @@ export * from "./SearchContactFlowModulesCommand";
186
191
  export * from "./SearchContactFlowsCommand";
187
192
  export * from "./SearchContactsCommand";
188
193
  export * from "./SearchEmailAddressesCommand";
194
+ export * from "./SearchHoursOfOperationOverridesCommand";
189
195
  export * from "./SearchHoursOfOperationsCommand";
190
196
  export * from "./SearchPredefinedAttributesCommand";
191
197
  export * from "./SearchPromptsCommand";
@@ -236,6 +242,7 @@ export * from "./UpdateContactScheduleCommand";
236
242
  export * from "./UpdateEmailAddressMetadataCommand";
237
243
  export * from "./UpdateEvaluationFormCommand";
238
244
  export * from "./UpdateHoursOfOperationCommand";
245
+ export * from "./UpdateHoursOfOperationOverrideCommand";
239
246
  export * from "./UpdateInstanceAttributeCommand";
240
247
  export * from "./UpdateInstanceStorageConfigCommand";
241
248
  export * from "./UpdateParticipantRoleConfigCommand";