@aws-sdk/client-connectcampaignsv2 3.1076.0 → 3.1078.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 (131) hide show
  1. package/dist-cjs/index.js +48 -375
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateCampaignCommand.js +2 -14
  4. package/dist-es/commands/DeleteCampaignChannelSubtypeConfigCommand.js +2 -14
  5. package/dist-es/commands/DeleteCampaignCommand.js +2 -14
  6. package/dist-es/commands/DeleteCampaignCommunicationLimitsCommand.js +2 -14
  7. package/dist-es/commands/DeleteCampaignCommunicationTimeCommand.js +2 -14
  8. package/dist-es/commands/DeleteCampaignEntryLimitsCommand.js +2 -14
  9. package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +2 -14
  10. package/dist-es/commands/DeleteConnectInstanceIntegrationCommand.js +2 -14
  11. package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +2 -14
  12. package/dist-es/commands/DescribeCampaignCommand.js +2 -14
  13. package/dist-es/commands/GetCampaignStateBatchCommand.js +2 -14
  14. package/dist-es/commands/GetCampaignStateCommand.js +2 -14
  15. package/dist-es/commands/GetConnectInstanceConfigCommand.js +2 -14
  16. package/dist-es/commands/GetInstanceCommunicationLimitsCommand.js +2 -14
  17. package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +2 -14
  18. package/dist-es/commands/ListCampaignsCommand.js +2 -14
  19. package/dist-es/commands/ListConnectInstanceIntegrationsCommand.js +2 -14
  20. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  21. package/dist-es/commands/PauseCampaignCommand.js +2 -14
  22. package/dist-es/commands/PutConnectInstanceIntegrationCommand.js +2 -14
  23. package/dist-es/commands/PutInstanceCommunicationLimitsCommand.js +2 -14
  24. package/dist-es/commands/PutOutboundRequestBatchCommand.js +2 -14
  25. package/dist-es/commands/PutProfileOutboundRequestBatchCommand.js +2 -14
  26. package/dist-es/commands/ResumeCampaignCommand.js +2 -14
  27. package/dist-es/commands/StartCampaignCommand.js +2 -14
  28. package/dist-es/commands/StartInstanceOnboardingJobCommand.js +2 -14
  29. package/dist-es/commands/StopCampaignCommand.js +2 -14
  30. package/dist-es/commands/TagResourceCommand.js +2 -14
  31. package/dist-es/commands/UntagResourceCommand.js +2 -14
  32. package/dist-es/commands/UpdateCampaignChannelSubtypeConfigCommand.js +2 -14
  33. package/dist-es/commands/UpdateCampaignCommunicationLimitsCommand.js +2 -14
  34. package/dist-es/commands/UpdateCampaignCommunicationTimeCommand.js +2 -14
  35. package/dist-es/commands/UpdateCampaignEntryLimitsCommand.js +2 -14
  36. package/dist-es/commands/UpdateCampaignFlowAssociationCommand.js +2 -14
  37. package/dist-es/commands/UpdateCampaignNameCommand.js +2 -14
  38. package/dist-es/commands/UpdateCampaignScheduleCommand.js +2 -14
  39. package/dist-es/commands/UpdateCampaignSourceCommand.js +2 -14
  40. package/dist-es/index.js +1 -0
  41. package/dist-es/runtimeConfig.browser.js +0 -2
  42. package/dist-es/runtimeConfig.js +1 -2
  43. package/dist-es/runtimeConfig.native.js +0 -2
  44. package/dist-es/runtimeConfig.shared.js +2 -0
  45. package/dist-types/commandBuilder.d.ts +18 -0
  46. package/dist-types/commands/CreateCampaignCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteCampaignCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteCampaignCommunicationTimeCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteCampaignEntryLimitsCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteConnectInstanceIntegrationCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeCampaignCommand.d.ts +3 -8
  56. package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +3 -8
  57. package/dist-types/commands/GetCampaignStateCommand.d.ts +3 -8
  58. package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +3 -8
  59. package/dist-types/commands/GetInstanceCommunicationLimitsCommand.d.ts +3 -8
  60. package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +3 -8
  61. package/dist-types/commands/ListCampaignsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListConnectInstanceIntegrationsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/PauseCampaignCommand.d.ts +3 -8
  65. package/dist-types/commands/PutConnectInstanceIntegrationCommand.d.ts +3 -8
  66. package/dist-types/commands/PutInstanceCommunicationLimitsCommand.d.ts +3 -8
  67. package/dist-types/commands/PutOutboundRequestBatchCommand.d.ts +3 -8
  68. package/dist-types/commands/PutProfileOutboundRequestBatchCommand.d.ts +3 -8
  69. package/dist-types/commands/ResumeCampaignCommand.d.ts +3 -8
  70. package/dist-types/commands/StartCampaignCommand.d.ts +3 -8
  71. package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +3 -8
  72. package/dist-types/commands/StopCampaignCommand.d.ts +3 -8
  73. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +3 -8
  77. package/dist-types/commands/UpdateCampaignCommunicationTimeCommand.d.ts +3 -8
  78. package/dist-types/commands/UpdateCampaignEntryLimitsCommand.d.ts +3 -8
  79. package/dist-types/commands/UpdateCampaignFlowAssociationCommand.d.ts +3 -8
  80. package/dist-types/commands/UpdateCampaignNameCommand.d.ts +3 -8
  81. package/dist-types/commands/UpdateCampaignScheduleCommand.d.ts +3 -8
  82. package/dist-types/commands/UpdateCampaignSourceCommand.d.ts +3 -8
  83. package/dist-types/index.d.ts +1 -0
  84. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  85. package/dist-types/runtimeConfig.d.ts +1 -1
  86. package/dist-types/runtimeConfig.native.d.ts +1 -1
  87. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  88. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  89. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeleteCampaignCommunicationTimeCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteCampaignEntryLimitsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteConnectInstanceIntegrationCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetInstanceCommunicationLimitsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListConnectInstanceIntegrationsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/PutConnectInstanceIntegrationCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/PutInstanceCommunicationLimitsCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/PutOutboundRequestBatchCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/PutProfileOutboundRequestBatchCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/UpdateCampaignCommunicationTimeCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/UpdateCampaignEntryLimitsCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/UpdateCampaignFlowAssociationCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/UpdateCampaignScheduleCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/UpdateCampaignSourceCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/index.d.ts +1 -0
  127. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  128. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  129. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  130. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  131. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteConnectInstanceConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectInstanceConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "DeleteConnectInstanceConfig", {})
13
- .n("ConnectCampaignsV2Client", "DeleteConnectInstanceConfigCommand")
14
- .sc(DeleteConnectInstanceConfig$)
15
- .build() {
3
+ export class DeleteConnectInstanceConfigCommand extends command(_ep0, _mw0, "DeleteConnectInstanceConfig", DeleteConnectInstanceConfig$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteConnectInstanceIntegration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectInstanceIntegrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "DeleteConnectInstanceIntegration", {})
13
- .n("ConnectCampaignsV2Client", "DeleteConnectInstanceIntegrationCommand")
14
- .sc(DeleteConnectInstanceIntegration$)
15
- .build() {
3
+ export class DeleteConnectInstanceIntegrationCommand extends command(_ep0, _mw0, "DeleteConnectInstanceIntegration", DeleteConnectInstanceIntegration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteInstanceOnboardingJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteInstanceOnboardingJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "DeleteInstanceOnboardingJob", {})
13
- .n("ConnectCampaignsV2Client", "DeleteInstanceOnboardingJobCommand")
14
- .sc(DeleteInstanceOnboardingJob$)
15
- .build() {
3
+ export class DeleteInstanceOnboardingJobCommand extends command(_ep0, _mw0, "DeleteInstanceOnboardingJob", DeleteInstanceOnboardingJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCampaign$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCampaignCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "DescribeCampaign", {})
13
- .n("ConnectCampaignsV2Client", "DescribeCampaignCommand")
14
- .sc(DescribeCampaign$)
15
- .build() {
3
+ export class DescribeCampaignCommand extends command(_ep0, _mw0, "DescribeCampaign", DescribeCampaign$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCampaignStateBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCampaignStateBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "GetCampaignStateBatch", {})
13
- .n("ConnectCampaignsV2Client", "GetCampaignStateBatchCommand")
14
- .sc(GetCampaignStateBatch$)
15
- .build() {
3
+ export class GetCampaignStateBatchCommand extends command(_ep0, _mw0, "GetCampaignStateBatch", GetCampaignStateBatch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCampaignState$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCampaignStateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "GetCampaignState", {})
13
- .n("ConnectCampaignsV2Client", "GetCampaignStateCommand")
14
- .sc(GetCampaignState$)
15
- .build() {
3
+ export class GetCampaignStateCommand extends command(_ep0, _mw0, "GetCampaignState", GetCampaignState$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetConnectInstanceConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetConnectInstanceConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "GetConnectInstanceConfig", {})
13
- .n("ConnectCampaignsV2Client", "GetConnectInstanceConfigCommand")
14
- .sc(GetConnectInstanceConfig$)
15
- .build() {
3
+ export class GetConnectInstanceConfigCommand extends command(_ep0, _mw0, "GetConnectInstanceConfig", GetConnectInstanceConfig$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetInstanceCommunicationLimits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInstanceCommunicationLimitsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "GetInstanceCommunicationLimits", {})
13
- .n("ConnectCampaignsV2Client", "GetInstanceCommunicationLimitsCommand")
14
- .sc(GetInstanceCommunicationLimits$)
15
- .build() {
3
+ export class GetInstanceCommunicationLimitsCommand extends command(_ep0, _mw0, "GetInstanceCommunicationLimits", GetInstanceCommunicationLimits$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetInstanceOnboardingJobStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInstanceOnboardingJobStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "GetInstanceOnboardingJobStatus", {})
13
- .n("ConnectCampaignsV2Client", "GetInstanceOnboardingJobStatusCommand")
14
- .sc(GetInstanceOnboardingJobStatus$)
15
- .build() {
3
+ export class GetInstanceOnboardingJobStatusCommand extends command(_ep0, _mw0, "GetInstanceOnboardingJobStatus", GetInstanceOnboardingJobStatus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCampaigns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCampaignsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "ListCampaigns", {})
13
- .n("ConnectCampaignsV2Client", "ListCampaignsCommand")
14
- .sc(ListCampaigns$)
15
- .build() {
3
+ export class ListCampaignsCommand extends command(_ep0, _mw0, "ListCampaigns", ListCampaigns$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListConnectInstanceIntegrations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectInstanceIntegrationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "ListConnectInstanceIntegrations", {})
13
- .n("ConnectCampaignsV2Client", "ListConnectInstanceIntegrationsCommand")
14
- .sc(ListConnectInstanceIntegrations$)
15
- .build() {
3
+ export class ListConnectInstanceIntegrationsCommand extends command(_ep0, _mw0, "ListConnectInstanceIntegrations", ListConnectInstanceIntegrations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "ListTagsForResource", {})
13
- .n("ConnectCampaignsV2Client", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PauseCampaign$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PauseCampaignCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "PauseCampaign", {})
13
- .n("ConnectCampaignsV2Client", "PauseCampaignCommand")
14
- .sc(PauseCampaign$)
15
- .build() {
3
+ export class PauseCampaignCommand extends command(_ep0, _mw0, "PauseCampaign", PauseCampaign$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutConnectInstanceIntegration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutConnectInstanceIntegrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "PutConnectInstanceIntegration", {})
13
- .n("ConnectCampaignsV2Client", "PutConnectInstanceIntegrationCommand")
14
- .sc(PutConnectInstanceIntegration$)
15
- .build() {
3
+ export class PutConnectInstanceIntegrationCommand extends command(_ep0, _mw0, "PutConnectInstanceIntegration", PutConnectInstanceIntegration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutInstanceCommunicationLimits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutInstanceCommunicationLimitsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "PutInstanceCommunicationLimits", {})
13
- .n("ConnectCampaignsV2Client", "PutInstanceCommunicationLimitsCommand")
14
- .sc(PutInstanceCommunicationLimits$)
15
- .build() {
3
+ export class PutInstanceCommunicationLimitsCommand extends command(_ep0, _mw0, "PutInstanceCommunicationLimits", PutInstanceCommunicationLimits$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutOutboundRequestBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutOutboundRequestBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "PutOutboundRequestBatch", {})
13
- .n("ConnectCampaignsV2Client", "PutOutboundRequestBatchCommand")
14
- .sc(PutOutboundRequestBatch$)
15
- .build() {
3
+ export class PutOutboundRequestBatchCommand extends command(_ep0, _mw0, "PutOutboundRequestBatch", PutOutboundRequestBatch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutProfileOutboundRequestBatch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutProfileOutboundRequestBatchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "PutProfileOutboundRequestBatch", {})
13
- .n("ConnectCampaignsV2Client", "PutProfileOutboundRequestBatchCommand")
14
- .sc(PutProfileOutboundRequestBatch$)
15
- .build() {
3
+ export class PutProfileOutboundRequestBatchCommand extends command(_ep0, _mw0, "PutProfileOutboundRequestBatch", PutProfileOutboundRequestBatch$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ResumeCampaign$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ResumeCampaignCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "ResumeCampaign", {})
13
- .n("ConnectCampaignsV2Client", "ResumeCampaignCommand")
14
- .sc(ResumeCampaign$)
15
- .build() {
3
+ export class ResumeCampaignCommand extends command(_ep0, _mw0, "ResumeCampaign", ResumeCampaign$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartCampaign$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartCampaignCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "StartCampaign", {})
13
- .n("ConnectCampaignsV2Client", "StartCampaignCommand")
14
- .sc(StartCampaign$)
15
- .build() {
3
+ export class StartCampaignCommand extends command(_ep0, _mw0, "StartCampaign", StartCampaign$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartInstanceOnboardingJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartInstanceOnboardingJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "StartInstanceOnboardingJob", {})
13
- .n("ConnectCampaignsV2Client", "StartInstanceOnboardingJobCommand")
14
- .sc(StartInstanceOnboardingJob$)
15
- .build() {
3
+ export class StartInstanceOnboardingJobCommand extends command(_ep0, _mw0, "StartInstanceOnboardingJob", StartInstanceOnboardingJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopCampaign$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopCampaignCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "StopCampaign", {})
13
- .n("ConnectCampaignsV2Client", "StopCampaignCommand")
14
- .sc(StopCampaign$)
15
- .build() {
3
+ export class StopCampaignCommand extends command(_ep0, _mw0, "StopCampaign", StopCampaign$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "TagResource", {})
13
- .n("ConnectCampaignsV2Client", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UntagResource", {})
13
- .n("ConnectCampaignsV2Client", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignChannelSubtypeConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignChannelSubtypeConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignChannelSubtypeConfig", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignChannelSubtypeConfigCommand")
14
- .sc(UpdateCampaignChannelSubtypeConfig$)
15
- .build() {
3
+ export class UpdateCampaignChannelSubtypeConfigCommand extends command(_ep0, _mw0, "UpdateCampaignChannelSubtypeConfig", UpdateCampaignChannelSubtypeConfig$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignCommunicationLimits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignCommunicationLimitsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationLimits", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationLimitsCommand")
14
- .sc(UpdateCampaignCommunicationLimits$)
15
- .build() {
3
+ export class UpdateCampaignCommunicationLimitsCommand extends command(_ep0, _mw0, "UpdateCampaignCommunicationLimits", UpdateCampaignCommunicationLimits$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignCommunicationTime$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignCommunicationTimeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationTime", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationTimeCommand")
14
- .sc(UpdateCampaignCommunicationTime$)
15
- .build() {
3
+ export class UpdateCampaignCommunicationTimeCommand extends command(_ep0, _mw0, "UpdateCampaignCommunicationTime", UpdateCampaignCommunicationTime$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignEntryLimits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignEntryLimitsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignEntryLimits", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignEntryLimitsCommand")
14
- .sc(UpdateCampaignEntryLimits$)
15
- .build() {
3
+ export class UpdateCampaignEntryLimitsCommand extends command(_ep0, _mw0, "UpdateCampaignEntryLimits", UpdateCampaignEntryLimits$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignFlowAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignFlowAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignFlowAssociation", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignFlowAssociationCommand")
14
- .sc(UpdateCampaignFlowAssociation$)
15
- .build() {
3
+ export class UpdateCampaignFlowAssociationCommand extends command(_ep0, _mw0, "UpdateCampaignFlowAssociation", UpdateCampaignFlowAssociation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignName$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignNameCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignName", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignNameCommand")
14
- .sc(UpdateCampaignName$)
15
- .build() {
3
+ export class UpdateCampaignNameCommand extends command(_ep0, _mw0, "UpdateCampaignName", UpdateCampaignName$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignSchedule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignScheduleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignSchedule", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignScheduleCommand")
14
- .sc(UpdateCampaignSchedule$)
15
- .build() {
3
+ export class UpdateCampaignScheduleCommand extends command(_ep0, _mw0, "UpdateCampaignSchedule", UpdateCampaignSchedule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCampaignSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCampaignSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCampaignServiceV2", "UpdateCampaignSource", {})
13
- .n("ConnectCampaignsV2Client", "UpdateCampaignSourceCommand")
14
- .sc(UpdateCampaignSource$)
15
- .build() {
3
+ export class UpdateCampaignSourceCommand extends command(_ep0, _mw0, "UpdateCampaignSource", UpdateCampaignSource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ConnectCampaignsV2Client";
2
2
  export * from "./ConnectCampaignsV2";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";