@aws-sdk/client-connect 3.359.0 → 3.360.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 (40) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/SearchResourceTagsCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_1.js +15 -1
  6. package/dist-cjs/pagination/SearchResourceTagsPaginator.js +29 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +94 -6
  9. package/dist-es/Connect.js +2 -0
  10. package/dist-es/commands/SearchResourceTagsCommand.js +42 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/models/models_1.js +13 -0
  13. package/dist-es/pagination/SearchResourceTagsPaginator.js +25 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +87 -1
  16. package/dist-types/Connect.d.ts +7 -0
  17. package/dist-types/ConnectClient.d.ts +3 -2
  18. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +13 -0
  19. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  20. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +13 -0
  21. package/dist-types/commands/SearchResourceTagsCommand.d.ts +111 -0
  22. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +2 -1
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/models/models_1.d.ts +102 -163
  25. package/dist-types/models/models_2.d.ts +164 -1
  26. package/dist-types/pagination/SearchResourceTagsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  29. package/dist-types/ts3.4/Connect.d.ts +17 -0
  30. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  31. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
  34. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/models_1.d.ts +32 -37
  36. package/dist-types/ts3.4/models/models_2.d.ts +41 -4
  37. package/dist-types/ts3.4/pagination/SearchResourceTagsPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  40. package/package.json +7 -7
package/README.md CHANGED
@@ -1300,6 +1300,14 @@ SearchQuickConnects
1300
1300
 
1301
1301
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchquickconnectscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchquickconnectscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchquickconnectscommandoutput.html)
1302
1302
 
1303
+ </details>
1304
+ <details>
1305
+ <summary>
1306
+ SearchResourceTags
1307
+ </summary>
1308
+
1309
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchresourcetagscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchresourcetagscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchresourcetagscommandoutput.html)
1310
+
1303
1311
  </details>
1304
1312
  <details>
1305
1313
  <summary>
@@ -138,6 +138,7 @@ const SearchHoursOfOperationsCommand_1 = require("./commands/SearchHoursOfOperat
138
138
  const SearchPromptsCommand_1 = require("./commands/SearchPromptsCommand");
139
139
  const SearchQueuesCommand_1 = require("./commands/SearchQueuesCommand");
140
140
  const SearchQuickConnectsCommand_1 = require("./commands/SearchQuickConnectsCommand");
141
+ const SearchResourceTagsCommand_1 = require("./commands/SearchResourceTagsCommand");
141
142
  const SearchRoutingProfilesCommand_1 = require("./commands/SearchRoutingProfilesCommand");
142
143
  const SearchSecurityProfilesCommand_1 = require("./commands/SearchSecurityProfilesCommand");
143
144
  const SearchUsersCommand_1 = require("./commands/SearchUsersCommand");
@@ -333,6 +334,7 @@ const commands = {
333
334
  SearchPromptsCommand: SearchPromptsCommand_1.SearchPromptsCommand,
334
335
  SearchQueuesCommand: SearchQueuesCommand_1.SearchQueuesCommand,
335
336
  SearchQuickConnectsCommand: SearchQuickConnectsCommand_1.SearchQuickConnectsCommand,
337
+ SearchResourceTagsCommand: SearchResourceTagsCommand_1.SearchResourceTagsCommand,
336
338
  SearchRoutingProfilesCommand: SearchRoutingProfilesCommand_1.SearchRoutingProfilesCommand,
337
339
  SearchSecurityProfilesCommand: SearchSecurityProfilesCommand_1.SearchSecurityProfilesCommand,
338
340
  SearchUsersCommand: SearchUsersCommand_1.SearchUsersCommand,
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchResourceTagsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class SearchResourceTagsCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchResourceTagsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ConnectClient";
28
+ const commandName = "SearchResourceTagsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_SearchResourceTagsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_SearchResourceTagsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.SearchResourceTagsCommand = SearchResourceTagsCommand;
@@ -137,6 +137,7 @@ tslib_1.__exportStar(require("./SearchHoursOfOperationsCommand"), exports);
137
137
  tslib_1.__exportStar(require("./SearchPromptsCommand"), exports);
138
138
  tslib_1.__exportStar(require("./SearchQueuesCommand"), exports);
139
139
  tslib_1.__exportStar(require("./SearchQuickConnectsCommand"), exports);
140
+ tslib_1.__exportStar(require("./SearchResourceTagsCommand"), exports);
140
141
  tslib_1.__exportStar(require("./SearchRoutingProfilesCommand"), exports);
141
142
  tslib_1.__exportStar(require("./SearchSecurityProfilesCommand"), exports);
142
143
  tslib_1.__exportStar(require("./SearchUsersCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = void 0;
3
+ exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
6
  class UserNotFoundException extends ConnectServiceException_1.ConnectServiceException {
@@ -90,6 +90,20 @@ exports.StringComparisonType = {
90
90
  exports.SearchableQueueType = {
91
91
  STANDARD: "STANDARD",
92
92
  };
93
+ class MaximumResultReturnedException extends ConnectServiceException_1.ConnectServiceException {
94
+ constructor(opts) {
95
+ super({
96
+ name: "MaximumResultReturnedException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ this.name = "MaximumResultReturnedException";
101
+ this.$fault = "client";
102
+ Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
103
+ this.Message = opts.Message;
104
+ }
105
+ }
106
+ exports.MaximumResultReturnedException = MaximumResultReturnedException;
93
107
  exports.HierarchyGroupMatchType = {
94
108
  EXACT: "EXACT",
95
109
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateSearchResourceTags = void 0;
4
+ const SearchResourceTagsCommand_1 = require("../commands/SearchResourceTagsCommand");
5
+ const ConnectClient_1 = require("../ConnectClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new SearchResourceTagsCommand_1.SearchResourceTagsCommand(input), ...args);
8
+ };
9
+ async function* paginateSearchResourceTags(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof ConnectClient_1.ConnectClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Connect | ConnectClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateSearchResourceTags = paginateSearchResourceTags;
@@ -45,6 +45,7 @@ tslib_1.__exportStar(require("./SearchHoursOfOperationsPaginator"), exports);
45
45
  tslib_1.__exportStar(require("./SearchPromptsPaginator"), exports);
46
46
  tslib_1.__exportStar(require("./SearchQueuesPaginator"), exports);
47
47
  tslib_1.__exportStar(require("./SearchQuickConnectsPaginator"), exports);
48
+ tslib_1.__exportStar(require("./SearchResourceTagsPaginator"), exports);
48
49
  tslib_1.__exportStar(require("./SearchRoutingProfilesPaginator"), exports);
49
50
  tslib_1.__exportStar(require("./SearchSecurityProfilesPaginator"), exports);
50
51
  tslib_1.__exportStar(require("./SearchUsersPaginator"), exports);
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_DeleteVocabularyCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeletePromptCommand = exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteHoursOfOperationCommand = exports.se_DeleteEvaluationFormCommand = exports.se_DeleteContactFlowModuleCommand = exports.se_DeleteContactFlowCommand = exports.se_DeleteContactEvaluationCommand = exports.se_DeactivateEvaluationFormCommand = exports.se_CreateVocabularyCommand = exports.se_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreatePromptCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateEvaluationFormCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
4
4
  exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePromptCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeEvaluationFormCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactEvaluationCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = void 0;
5
- exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = void 0;
6
- exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = void 0;
7
- exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeletePromptCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteEvaluationFormCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = exports.de_CreateVocabularyCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = void 0;
8
- exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = void 0;
9
- exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = void 0;
10
- exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = void 0;
5
+ exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = void 0;
6
+ exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = void 0;
7
+ exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeletePromptCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteEvaluationFormCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = exports.de_CreateVocabularyCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = void 0;
8
+ exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = void 0;
9
+ exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = void 0;
10
+ exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = void 0;
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const protocol_http_1 = require("@smithy/protocol-http");
13
13
  const uuid_1 = require("uuid");
@@ -3060,6 +3060,31 @@ const se_SearchQuickConnectsCommand = async (input, context) => {
3060
3060
  });
3061
3061
  };
3062
3062
  exports.se_SearchQuickConnectsCommand = se_SearchQuickConnectsCommand;
3063
+ const se_SearchResourceTagsCommand = async (input, context) => {
3064
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3065
+ const headers = {
3066
+ "content-type": "application/json",
3067
+ };
3068
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-resource-tags";
3069
+ let body;
3070
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3071
+ InstanceId: [],
3072
+ MaxResults: [],
3073
+ NextToken: [],
3074
+ ResourceTypes: (_) => (0, smithy_client_1._json)(_),
3075
+ SearchCriteria: (_) => (0, smithy_client_1._json)(_),
3076
+ }));
3077
+ return new protocol_http_1.HttpRequest({
3078
+ protocol,
3079
+ hostname,
3080
+ port,
3081
+ method: "POST",
3082
+ headers,
3083
+ path: resolvedPath,
3084
+ body,
3085
+ });
3086
+ };
3087
+ exports.se_SearchResourceTagsCommand = se_SearchResourceTagsCommand;
3063
3088
  const se_SearchRoutingProfilesCommand = async (input, context) => {
3064
3089
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3065
3090
  const headers = {
@@ -10806,6 +10831,56 @@ const de_SearchQuickConnectsCommandError = async (output, context) => {
10806
10831
  });
10807
10832
  }
10808
10833
  };
10834
+ const de_SearchResourceTagsCommand = async (output, context) => {
10835
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10836
+ return de_SearchResourceTagsCommandError(output, context);
10837
+ }
10838
+ const contents = (0, smithy_client_1.map)({
10839
+ $metadata: deserializeMetadata(output),
10840
+ });
10841
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10842
+ const doc = (0, smithy_client_1.take)(data, {
10843
+ NextToken: smithy_client_1.expectString,
10844
+ Tags: smithy_client_1._json,
10845
+ });
10846
+ Object.assign(contents, doc);
10847
+ return contents;
10848
+ };
10849
+ exports.de_SearchResourceTagsCommand = de_SearchResourceTagsCommand;
10850
+ const de_SearchResourceTagsCommandError = async (output, context) => {
10851
+ const parsedOutput = {
10852
+ ...output,
10853
+ body: await parseErrorBody(output.body, context),
10854
+ };
10855
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10856
+ switch (errorCode) {
10857
+ case "InternalServiceException":
10858
+ case "com.amazonaws.connect#InternalServiceException":
10859
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10860
+ case "InvalidParameterException":
10861
+ case "com.amazonaws.connect#InvalidParameterException":
10862
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
10863
+ case "InvalidRequestException":
10864
+ case "com.amazonaws.connect#InvalidRequestException":
10865
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
10866
+ case "MaximumResultReturnedException":
10867
+ case "com.amazonaws.connect#MaximumResultReturnedException":
10868
+ throw await de_MaximumResultReturnedExceptionRes(parsedOutput, context);
10869
+ case "ResourceNotFoundException":
10870
+ case "com.amazonaws.connect#ResourceNotFoundException":
10871
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10872
+ case "ThrottlingException":
10873
+ case "com.amazonaws.connect#ThrottlingException":
10874
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10875
+ default:
10876
+ const parsedBody = parsedOutput.body;
10877
+ return throwDefaultError({
10878
+ output,
10879
+ parsedBody,
10880
+ errorCode,
10881
+ });
10882
+ }
10883
+ };
10809
10884
  const de_SearchRoutingProfilesCommand = async (output, context) => {
10810
10885
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10811
10886
  return de_SearchRoutingProfilesCommandError(output, context);
@@ -13507,6 +13582,19 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
13507
13582
  });
13508
13583
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
13509
13584
  };
13585
+ const de_MaximumResultReturnedExceptionRes = async (parsedOutput, context) => {
13586
+ const contents = (0, smithy_client_1.map)({});
13587
+ const data = parsedOutput.body;
13588
+ const doc = (0, smithy_client_1.take)(data, {
13589
+ Message: smithy_client_1.expectString,
13590
+ });
13591
+ Object.assign(contents, doc);
13592
+ const exception = new models_1_1.MaximumResultReturnedException({
13593
+ $metadata: deserializeMetadata(parsedOutput),
13594
+ ...contents,
13595
+ });
13596
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
13597
+ };
13510
13598
  const de_OutboundContactNotPermittedExceptionRes = async (parsedOutput, context) => {
13511
13599
  const contents = (0, smithy_client_1.map)({});
13512
13600
  const data = parsedOutput.body;
@@ -135,6 +135,7 @@ import { SearchHoursOfOperationsCommand, } from "./commands/SearchHoursOfOperati
135
135
  import { SearchPromptsCommand, } from "./commands/SearchPromptsCommand";
136
136
  import { SearchQueuesCommand, } from "./commands/SearchQueuesCommand";
137
137
  import { SearchQuickConnectsCommand, } from "./commands/SearchQuickConnectsCommand";
138
+ import { SearchResourceTagsCommand, } from "./commands/SearchResourceTagsCommand";
138
139
  import { SearchRoutingProfilesCommand, } from "./commands/SearchRoutingProfilesCommand";
139
140
  import { SearchSecurityProfilesCommand, } from "./commands/SearchSecurityProfilesCommand";
140
141
  import { SearchUsersCommand } from "./commands/SearchUsersCommand";
@@ -330,6 +331,7 @@ const commands = {
330
331
  SearchPromptsCommand,
331
332
  SearchQueuesCommand,
332
333
  SearchQuickConnectsCommand,
334
+ SearchResourceTagsCommand,
333
335
  SearchRoutingProfilesCommand,
334
336
  SearchSecurityProfilesCommand,
335
337
  SearchUsersCommand,
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_SearchResourceTagsCommand, se_SearchResourceTagsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class SearchResourceTagsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, SearchResourceTagsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "SearchResourceTagsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_SearchResourceTagsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_SearchResourceTagsCommand(output, context);
41
+ }
42
+ }
@@ -134,6 +134,7 @@ export * from "./SearchHoursOfOperationsCommand";
134
134
  export * from "./SearchPromptsCommand";
135
135
  export * from "./SearchQueuesCommand";
136
136
  export * from "./SearchQuickConnectsCommand";
137
+ export * from "./SearchResourceTagsCommand";
137
138
  export * from "./SearchRoutingProfilesCommand";
138
139
  export * from "./SearchSecurityProfilesCommand";
139
140
  export * from "./SearchUsersCommand";
@@ -86,6 +86,19 @@ export const StringComparisonType = {
86
86
  export const SearchableQueueType = {
87
87
  STANDARD: "STANDARD",
88
88
  };
89
+ export class MaximumResultReturnedException extends __BaseException {
90
+ constructor(opts) {
91
+ super({
92
+ name: "MaximumResultReturnedException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ this.name = "MaximumResultReturnedException";
97
+ this.$fault = "client";
98
+ Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
99
+ this.Message = opts.Message;
100
+ }
101
+ }
89
102
  export const HierarchyGroupMatchType = {
90
103
  EXACT: "EXACT",
91
104
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
@@ -0,0 +1,25 @@
1
+ import { SearchResourceTagsCommand, } from "../commands/SearchResourceTagsCommand";
2
+ import { ConnectClient } from "../ConnectClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new SearchResourceTagsCommand(input), ...args);
5
+ };
6
+ export async function* paginateSearchResourceTags(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof ConnectClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Connect | ConnectClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -42,6 +42,7 @@ export * from "./SearchHoursOfOperationsPaginator";
42
42
  export * from "./SearchPromptsPaginator";
43
43
  export * from "./SearchQueuesPaginator";
44
44
  export * from "./SearchQuickConnectsPaginator";
45
+ export * from "./SearchResourceTagsPaginator";
45
46
  export * from "./SearchRoutingProfilesPaginator";
46
47
  export * from "./SearchSecurityProfilesPaginator";
47
48
  export * from "./SearchUsersPaginator";
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
5
5
  import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, EvaluationAnswerData, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, } from "../models/models_0";
6
- import { ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, OutboundContactNotPermittedException, UserNotFoundException, } from "../models/models_1";
6
+ import { ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, MaximumResultReturnedException, OutboundContactNotPermittedException, UserNotFoundException, } from "../models/models_1";
7
7
  export const se_ActivateEvaluationFormCommand = async (input, context) => {
8
8
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
9
  const headers = {
@@ -2914,6 +2914,30 @@ export const se_SearchQuickConnectsCommand = async (input, context) => {
2914
2914
  body,
2915
2915
  });
2916
2916
  };
2917
+ export const se_SearchResourceTagsCommand = async (input, context) => {
2918
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2919
+ const headers = {
2920
+ "content-type": "application/json",
2921
+ };
2922
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-resource-tags";
2923
+ let body;
2924
+ body = JSON.stringify(take(input, {
2925
+ InstanceId: [],
2926
+ MaxResults: [],
2927
+ NextToken: [],
2928
+ ResourceTypes: (_) => _json(_),
2929
+ SearchCriteria: (_) => _json(_),
2930
+ }));
2931
+ return new __HttpRequest({
2932
+ protocol,
2933
+ hostname,
2934
+ port,
2935
+ method: "POST",
2936
+ headers,
2937
+ path: resolvedPath,
2938
+ body,
2939
+ });
2940
+ };
2917
2941
  export const se_SearchRoutingProfilesCommand = async (input, context) => {
2918
2942
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2919
2943
  const headers = {
@@ -10467,6 +10491,55 @@ const de_SearchQuickConnectsCommandError = async (output, context) => {
10467
10491
  });
10468
10492
  }
10469
10493
  };
10494
+ export const de_SearchResourceTagsCommand = async (output, context) => {
10495
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10496
+ return de_SearchResourceTagsCommandError(output, context);
10497
+ }
10498
+ const contents = map({
10499
+ $metadata: deserializeMetadata(output),
10500
+ });
10501
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10502
+ const doc = take(data, {
10503
+ NextToken: __expectString,
10504
+ Tags: _json,
10505
+ });
10506
+ Object.assign(contents, doc);
10507
+ return contents;
10508
+ };
10509
+ const de_SearchResourceTagsCommandError = async (output, context) => {
10510
+ const parsedOutput = {
10511
+ ...output,
10512
+ body: await parseErrorBody(output.body, context),
10513
+ };
10514
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10515
+ switch (errorCode) {
10516
+ case "InternalServiceException":
10517
+ case "com.amazonaws.connect#InternalServiceException":
10518
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10519
+ case "InvalidParameterException":
10520
+ case "com.amazonaws.connect#InvalidParameterException":
10521
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
10522
+ case "InvalidRequestException":
10523
+ case "com.amazonaws.connect#InvalidRequestException":
10524
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
10525
+ case "MaximumResultReturnedException":
10526
+ case "com.amazonaws.connect#MaximumResultReturnedException":
10527
+ throw await de_MaximumResultReturnedExceptionRes(parsedOutput, context);
10528
+ case "ResourceNotFoundException":
10529
+ case "com.amazonaws.connect#ResourceNotFoundException":
10530
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10531
+ case "ThrottlingException":
10532
+ case "com.amazonaws.connect#ThrottlingException":
10533
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10534
+ default:
10535
+ const parsedBody = parsedOutput.body;
10536
+ return throwDefaultError({
10537
+ output,
10538
+ parsedBody,
10539
+ errorCode,
10540
+ });
10541
+ }
10542
+ };
10470
10543
  export const de_SearchRoutingProfilesCommand = async (output, context) => {
10471
10544
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10472
10545
  return de_SearchRoutingProfilesCommandError(output, context);
@@ -13111,6 +13184,19 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
13111
13184
  });
13112
13185
  return __decorateServiceException(exception, parsedOutput.body);
13113
13186
  };
13187
+ const de_MaximumResultReturnedExceptionRes = async (parsedOutput, context) => {
13188
+ const contents = map({});
13189
+ const data = parsedOutput.body;
13190
+ const doc = take(data, {
13191
+ Message: __expectString,
13192
+ });
13193
+ Object.assign(contents, doc);
13194
+ const exception = new MaximumResultReturnedException({
13195
+ $metadata: deserializeMetadata(parsedOutput),
13196
+ ...contents,
13197
+ });
13198
+ return __decorateServiceException(exception, parsedOutput.body);
13199
+ };
13114
13200
  const de_OutboundContactNotPermittedExceptionRes = async (parsedOutput, context) => {
13115
13201
  const contents = map({});
13116
13202
  const data = parsedOutput.body;
@@ -135,6 +135,7 @@ import { SearchHoursOfOperationsCommandInput, SearchHoursOfOperationsCommandOutp
135
135
  import { SearchPromptsCommandInput, SearchPromptsCommandOutput } from "./commands/SearchPromptsCommand";
136
136
  import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "./commands/SearchQueuesCommand";
137
137
  import { SearchQuickConnectsCommandInput, SearchQuickConnectsCommandOutput } from "./commands/SearchQuickConnectsCommand";
138
+ import { SearchResourceTagsCommandInput, SearchResourceTagsCommandOutput } from "./commands/SearchResourceTagsCommand";
138
139
  import { SearchRoutingProfilesCommandInput, SearchRoutingProfilesCommandOutput } from "./commands/SearchRoutingProfilesCommand";
139
140
  import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "./commands/SearchSecurityProfilesCommand";
140
141
  import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
@@ -1010,6 +1011,12 @@ export interface Connect {
1010
1011
  searchQuickConnects(args: SearchQuickConnectsCommandInput, options?: __HttpHandlerOptions): Promise<SearchQuickConnectsCommandOutput>;
1011
1012
  searchQuickConnects(args: SearchQuickConnectsCommandInput, cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void): void;
1012
1013
  searchQuickConnects(args: SearchQuickConnectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void): void;
1014
+ /**
1015
+ * @see {@link SearchResourceTagsCommand}
1016
+ */
1017
+ searchResourceTags(args: SearchResourceTagsCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourceTagsCommandOutput>;
1018
+ searchResourceTags(args: SearchResourceTagsCommandInput, cb: (err: any, data?: SearchResourceTagsCommandOutput) => void): void;
1019
+ searchResourceTags(args: SearchResourceTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourceTagsCommandOutput) => void): void;
1013
1020
  /**
1014
1021
  * @see {@link SearchRoutingProfilesCommand}
1015
1022
  */