@aws-sdk/client-connectparticipant 3.1077.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 (41) hide show
  1. package/dist-cjs/index.js +19 -113
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelParticipantAuthenticationCommand.js +2 -14
  4. package/dist-es/commands/CompleteAttachmentUploadCommand.js +2 -14
  5. package/dist-es/commands/CreateParticipantConnectionCommand.js +2 -14
  6. package/dist-es/commands/DescribeViewCommand.js +2 -14
  7. package/dist-es/commands/DisconnectParticipantCommand.js +2 -14
  8. package/dist-es/commands/GetAttachmentCommand.js +2 -14
  9. package/dist-es/commands/GetAuthenticationUrlCommand.js +2 -14
  10. package/dist-es/commands/GetTranscriptCommand.js +2 -14
  11. package/dist-es/commands/SendEventCommand.js +2 -14
  12. package/dist-es/commands/SendMessageCommand.js +2 -14
  13. package/dist-es/commands/StartAttachmentUploadCommand.js +2 -14
  14. package/dist-es/index.js +1 -0
  15. package/dist-types/commandBuilder.d.ts +18 -0
  16. package/dist-types/commands/CancelParticipantAuthenticationCommand.d.ts +3 -8
  17. package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +3 -8
  18. package/dist-types/commands/CreateParticipantConnectionCommand.d.ts +3 -8
  19. package/dist-types/commands/DescribeViewCommand.d.ts +3 -8
  20. package/dist-types/commands/DisconnectParticipantCommand.d.ts +3 -8
  21. package/dist-types/commands/GetAttachmentCommand.d.ts +3 -8
  22. package/dist-types/commands/GetAuthenticationUrlCommand.d.ts +3 -8
  23. package/dist-types/commands/GetTranscriptCommand.d.ts +3 -8
  24. package/dist-types/commands/SendEventCommand.d.ts +3 -8
  25. package/dist-types/commands/SendMessageCommand.d.ts +3 -8
  26. package/dist-types/commands/StartAttachmentUploadCommand.d.ts +3 -8
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  29. package/dist-types/ts3.4/commands/CancelParticipantAuthenticationCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/CreateParticipantConnectionCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/GetAttachmentCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetAuthenticationUrlCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/GetTranscriptCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/StartAttachmentUploadCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/index.d.ts +1 -0
  41. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -822,136 +823,41 @@ class ConnectParticipantClient extends Client {
822
823
  }
823
824
  }
824
825
 
825
- class CancelParticipantAuthenticationCommand extends Command
826
- .classBuilder()
827
- .ep(commonParams)
828
- .m(function (Command, cs, config, o) {
829
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
830
- })
831
- .s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
832
- .n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
833
- .sc(CancelParticipantAuthentication$)
834
- .build() {
826
+ const command = makeBuilder(commonParams, "AmazonConnectParticipantServiceLambda", "ConnectParticipantClient", getEndpointPlugin);
827
+ const _ep0 = {};
828
+ const _mw0 = (Command, cs, config, o) => [];
829
+
830
+ class CancelParticipantAuthenticationCommand extends command(_ep0, _mw0, "CancelParticipantAuthentication", CancelParticipantAuthentication$) {
835
831
  }
836
832
 
837
- class CompleteAttachmentUploadCommand extends Command
838
- .classBuilder()
839
- .ep(commonParams)
840
- .m(function (Command, cs, config, o) {
841
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
842
- })
843
- .s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {})
844
- .n("ConnectParticipantClient", "CompleteAttachmentUploadCommand")
845
- .sc(CompleteAttachmentUpload$)
846
- .build() {
833
+ class CompleteAttachmentUploadCommand extends command(_ep0, _mw0, "CompleteAttachmentUpload", CompleteAttachmentUpload$) {
847
834
  }
848
835
 
849
- class CreateParticipantConnectionCommand extends Command
850
- .classBuilder()
851
- .ep(commonParams)
852
- .m(function (Command, cs, config, o) {
853
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
854
- })
855
- .s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {})
856
- .n("ConnectParticipantClient", "CreateParticipantConnectionCommand")
857
- .sc(CreateParticipantConnection$)
858
- .build() {
836
+ class CreateParticipantConnectionCommand extends command(_ep0, _mw0, "CreateParticipantConnection", CreateParticipantConnection$) {
859
837
  }
860
838
 
861
- class DescribeViewCommand extends Command
862
- .classBuilder()
863
- .ep(commonParams)
864
- .m(function (Command, cs, config, o) {
865
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
866
- })
867
- .s("AmazonConnectParticipantServiceLambda", "DescribeView", {})
868
- .n("ConnectParticipantClient", "DescribeViewCommand")
869
- .sc(DescribeView$)
870
- .build() {
839
+ class DescribeViewCommand extends command(_ep0, _mw0, "DescribeView", DescribeView$) {
871
840
  }
872
841
 
873
- class DisconnectParticipantCommand extends Command
874
- .classBuilder()
875
- .ep(commonParams)
876
- .m(function (Command, cs, config, o) {
877
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
878
- })
879
- .s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {})
880
- .n("ConnectParticipantClient", "DisconnectParticipantCommand")
881
- .sc(DisconnectParticipant$)
882
- .build() {
842
+ class DisconnectParticipantCommand extends command(_ep0, _mw0, "DisconnectParticipant", DisconnectParticipant$) {
883
843
  }
884
844
 
885
- class GetAttachmentCommand extends Command
886
- .classBuilder()
887
- .ep(commonParams)
888
- .m(function (Command, cs, config, o) {
889
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
890
- })
891
- .s("AmazonConnectParticipantServiceLambda", "GetAttachment", {})
892
- .n("ConnectParticipantClient", "GetAttachmentCommand")
893
- .sc(GetAttachment$)
894
- .build() {
845
+ class GetAttachmentCommand extends command(_ep0, _mw0, "GetAttachment", GetAttachment$) {
895
846
  }
896
847
 
897
- class GetAuthenticationUrlCommand extends Command
898
- .classBuilder()
899
- .ep(commonParams)
900
- .m(function (Command, cs, config, o) {
901
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
902
- })
903
- .s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
904
- .n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
905
- .sc(GetAuthenticationUrl$)
906
- .build() {
848
+ class GetAuthenticationUrlCommand extends command(_ep0, _mw0, "GetAuthenticationUrl", GetAuthenticationUrl$) {
907
849
  }
908
850
 
909
- class GetTranscriptCommand extends Command
910
- .classBuilder()
911
- .ep(commonParams)
912
- .m(function (Command, cs, config, o) {
913
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
914
- })
915
- .s("AmazonConnectParticipantServiceLambda", "GetTranscript", {})
916
- .n("ConnectParticipantClient", "GetTranscriptCommand")
917
- .sc(GetTranscript$)
918
- .build() {
851
+ class GetTranscriptCommand extends command(_ep0, _mw0, "GetTranscript", GetTranscript$) {
919
852
  }
920
853
 
921
- class SendEventCommand extends Command
922
- .classBuilder()
923
- .ep(commonParams)
924
- .m(function (Command, cs, config, o) {
925
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
926
- })
927
- .s("AmazonConnectParticipantServiceLambda", "SendEvent", {})
928
- .n("ConnectParticipantClient", "SendEventCommand")
929
- .sc(SendEvent$)
930
- .build() {
854
+ class SendEventCommand extends command(_ep0, _mw0, "SendEvent", SendEvent$) {
931
855
  }
932
856
 
933
- class SendMessageCommand extends Command
934
- .classBuilder()
935
- .ep(commonParams)
936
- .m(function (Command, cs, config, o) {
937
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
938
- })
939
- .s("AmazonConnectParticipantServiceLambda", "SendMessage", {})
940
- .n("ConnectParticipantClient", "SendMessageCommand")
941
- .sc(SendMessage$)
942
- .build() {
857
+ class SendMessageCommand extends command(_ep0, _mw0, "SendMessage", SendMessage$) {
943
858
  }
944
859
 
945
- class StartAttachmentUploadCommand extends Command
946
- .classBuilder()
947
- .ep(commonParams)
948
- .m(function (Command, cs, config, o) {
949
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
950
- })
951
- .s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {})
952
- .n("ConnectParticipantClient", "StartAttachmentUploadCommand")
953
- .sc(StartAttachmentUpload$)
954
- .build() {
860
+ class StartAttachmentUploadCommand extends command(_ep0, _mw0, "StartAttachmentUpload", StartAttachmentUpload$) {
955
861
  }
956
862
 
957
863
  const paginateGetTranscript = createPaginator(ConnectParticipantClient, GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AmazonConnectParticipantServiceLambda", "ConnectParticipantClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { CancelParticipantAuthentication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelParticipantAuthenticationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
13
- .n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
14
- .sc(CancelParticipantAuthentication$)
15
- .build() {
3
+ export class CancelParticipantAuthenticationCommand extends command(_ep0, _mw0, "CancelParticipantAuthentication", CancelParticipantAuthentication$) {
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 { CompleteAttachmentUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CompleteAttachmentUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {})
13
- .n("ConnectParticipantClient", "CompleteAttachmentUploadCommand")
14
- .sc(CompleteAttachmentUpload$)
15
- .build() {
3
+ export class CompleteAttachmentUploadCommand extends command(_ep0, _mw0, "CompleteAttachmentUpload", CompleteAttachmentUpload$) {
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 { CreateParticipantConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateParticipantConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {})
13
- .n("ConnectParticipantClient", "CreateParticipantConnectionCommand")
14
- .sc(CreateParticipantConnection$)
15
- .build() {
3
+ export class CreateParticipantConnectionCommand extends command(_ep0, _mw0, "CreateParticipantConnection", CreateParticipantConnection$) {
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 { DescribeView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "DescribeView", {})
13
- .n("ConnectParticipantClient", "DescribeViewCommand")
14
- .sc(DescribeView$)
15
- .build() {
3
+ export class DescribeViewCommand extends command(_ep0, _mw0, "DescribeView", DescribeView$) {
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 { DisconnectParticipant$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisconnectParticipantCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {})
13
- .n("ConnectParticipantClient", "DisconnectParticipantCommand")
14
- .sc(DisconnectParticipant$)
15
- .build() {
3
+ export class DisconnectParticipantCommand extends command(_ep0, _mw0, "DisconnectParticipant", DisconnectParticipant$) {
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 { GetAttachment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAttachmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "GetAttachment", {})
13
- .n("ConnectParticipantClient", "GetAttachmentCommand")
14
- .sc(GetAttachment$)
15
- .build() {
3
+ export class GetAttachmentCommand extends command(_ep0, _mw0, "GetAttachment", GetAttachment$) {
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 { GetAuthenticationUrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAuthenticationUrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
13
- .n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
14
- .sc(GetAuthenticationUrl$)
15
- .build() {
3
+ export class GetAuthenticationUrlCommand extends command(_ep0, _mw0, "GetAuthenticationUrl", GetAuthenticationUrl$) {
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 { GetTranscript$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTranscriptCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "GetTranscript", {})
13
- .n("ConnectParticipantClient", "GetTranscriptCommand")
14
- .sc(GetTranscript$)
15
- .build() {
3
+ export class GetTranscriptCommand extends command(_ep0, _mw0, "GetTranscript", GetTranscript$) {
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 { SendEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "SendEvent", {})
13
- .n("ConnectParticipantClient", "SendEventCommand")
14
- .sc(SendEvent$)
15
- .build() {
3
+ export class SendEventCommand extends command(_ep0, _mw0, "SendEvent", SendEvent$) {
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 { SendMessage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendMessageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "SendMessage", {})
13
- .n("ConnectParticipantClient", "SendMessageCommand")
14
- .sc(SendMessage$)
15
- .build() {
3
+ export class SendMessageCommand extends command(_ep0, _mw0, "SendMessage", SendMessage$) {
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 { StartAttachmentUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartAttachmentUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {})
13
- .n("ConnectParticipantClient", "StartAttachmentUploadCommand")
14
- .sc(StartAttachmentUpload$)
15
- .build() {
3
+ export class StartAttachmentUploadCommand extends command(_ep0, _mw0, "StartAttachmentUpload", StartAttachmentUpload$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ConnectParticipantClient";
2
2
  export * from "./ConnectParticipant";
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";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ConnectParticipantClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { CancelParticipantAuthenticationRequest, CancelParticipantAuthenticationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CancelParticipantAuthenticationCommandInput extends CancelParti
22
19
  export interface CancelParticipantAuthenticationCommandOutput extends CancelParticipantAuthenticationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CancelParticipantAuthenticationCommand_base: {
25
- new (input: CancelParticipantAuthenticationCommandInput): import("@smithy/core/client").CommandImpl<CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelParticipantAuthenticationCommandInput): import("@smithy/core/client").CommandImpl<CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelParticipantAuthenticationCommandInput): import("@smithy/core/client").CommandImpl<CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelParticipantAuthenticationCommandInput): import("@smithy/core/client").CommandImpl<CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancels the authentication session. The opted out branch of the Authenticate Customer
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { CompleteAttachmentUploadRequest, CompleteAttachmentUploadResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CompleteAttachmentUploadCommandInput extends CompleteAttachment
22
19
  export interface CompleteAttachmentUploadCommandOutput extends CompleteAttachmentUploadResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CompleteAttachmentUploadCommand_base: {
25
- new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { CreateParticipantConnectionRequest, CreateParticipantConnectionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateParticipantConnectionCommandInput extends CreateParticipa
22
19
  export interface CreateParticipantConnectionCommandOutput extends CreateParticipantConnectionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateParticipantConnectionCommand_base: {
25
- new (input: CreateParticipantConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateParticipantConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateParticipantConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateParticipantConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates the participant's connection. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { DescribeViewRequest, DescribeViewResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeViewCommandInput extends DescribeViewRequest {
22
19
  export interface DescribeViewCommandOutput extends DescribeViewResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeViewCommand_base: {
25
- new (input: DescribeViewCommandInput): import("@smithy/core/client").CommandImpl<DescribeViewCommandInput, DescribeViewCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeViewCommandInput): import("@smithy/core/client").CommandImpl<DescribeViewCommandInput, DescribeViewCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeViewCommandInput): import("@smithy/core/client").CommandImpl<DescribeViewCommandInput, DescribeViewCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeViewCommandInput): import("@smithy/core/client").CommandImpl<DescribeViewCommandInput, DescribeViewCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the view for the specified view token.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { DisconnectParticipantRequest, DisconnectParticipantResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DisconnectParticipantCommandInput extends DisconnectParticipant
22
19
  export interface DisconnectParticipantCommandOutput extends DisconnectParticipantResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DisconnectParticipantCommand_base: {
25
- new (input: DisconnectParticipantCommandInput): import("@smithy/core/client").CommandImpl<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisconnectParticipantCommandInput): import("@smithy/core/client").CommandImpl<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DisconnectParticipantCommandInput): import("@smithy/core/client").CommandImpl<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisconnectParticipantCommandInput): import("@smithy/core/client").CommandImpl<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disconnects a participant. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { GetAttachmentRequest, GetAttachmentResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetAttachmentCommandInput extends GetAttachmentRequest {
22
19
  export interface GetAttachmentCommandOutput extends GetAttachmentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetAttachmentCommand_base: {
25
- new (input: GetAttachmentCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentCommandInput, GetAttachmentCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetAttachmentCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentCommandInput, GetAttachmentCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetAttachmentCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentCommandInput, GetAttachmentCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAttachmentCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentCommandInput, GetAttachmentCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Provides a pre-signed URL for download of a completed attachment. This is an
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectParticipantClient";
4
2
  import type { GetAuthenticationUrlRequest, GetAuthenticationUrlResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetAuthenticationUrlCommandInput extends GetAuthenticationUrlRe
22
19
  export interface GetAuthenticationUrlCommandOutput extends GetAuthenticationUrlResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetAuthenticationUrlCommand_base: {
25
- new (input: GetAuthenticationUrlCommandInput): import("@smithy/core/client").CommandImpl<GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetAuthenticationUrlCommandInput): import("@smithy/core/client").CommandImpl<GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput, ConnectParticipantClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetAuthenticationUrlCommandInput): import("@smithy/core/client").CommandImpl<GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAuthenticationUrlCommandInput): import("@smithy/core/client").CommandImpl<GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput, import("..").ConnectParticipantClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the AuthenticationUrl for the current authentication session for the