@aws-sdk/client-connectparticipant 3.35.0 → 3.38.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 (136) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ConnectParticipant.js +0 -9
  3. package/dist-cjs/ConnectParticipantClient.js +0 -14
  4. package/dist-cjs/commands/CompleteAttachmentUploadCommand.js +0 -26
  5. package/dist-cjs/commands/CreateParticipantConnectionCommand.js +0 -47
  6. package/dist-cjs/commands/DisconnectParticipantCommand.js +0 -28
  7. package/dist-cjs/commands/GetAttachmentCommand.js +0 -26
  8. package/dist-cjs/commands/GetTranscriptCommand.js +0 -28
  9. package/dist-cjs/commands/SendEventCommand.js +0 -28
  10. package/dist-cjs/commands/SendMessageCommand.js +0 -30
  11. package/dist-cjs/commands/StartAttachmentUploadCommand.js +0 -26
  12. package/dist-cjs/commands/index.js +11 -0
  13. package/dist-cjs/endpoints.js +1 -2
  14. package/dist-cjs/index.js +4 -13
  15. package/dist-cjs/models/index.js +0 -1
  16. package/dist-cjs/models/models_0.js +0 -85
  17. package/dist-cjs/pagination/GetTranscriptPaginator.js +0 -11
  18. package/dist-cjs/pagination/Interfaces.js +0 -1
  19. package/dist-cjs/pagination/index.js +5 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  21. package/dist-cjs/runtimeConfig.browser.js +1 -6
  22. package/dist-cjs/runtimeConfig.js +2 -7
  23. package/dist-cjs/runtimeConfig.native.js +0 -4
  24. package/dist-cjs/runtimeConfig.shared.js +0 -4
  25. package/dist-es/ConnectParticipant.js +0 -1
  26. package/dist-es/ConnectParticipantClient.js +0 -1
  27. package/dist-es/commands/CompleteAttachmentUploadCommand.js +0 -1
  28. package/dist-es/commands/CreateParticipantConnectionCommand.js +0 -1
  29. package/dist-es/commands/DisconnectParticipantCommand.js +0 -1
  30. package/dist-es/commands/GetAttachmentCommand.js +0 -1
  31. package/dist-es/commands/GetTranscriptCommand.js +0 -1
  32. package/dist-es/commands/SendEventCommand.js +0 -1
  33. package/dist-es/commands/SendMessageCommand.js +0 -1
  34. package/dist-es/commands/StartAttachmentUploadCommand.js +0 -1
  35. package/dist-es/commands/index.js +8 -0
  36. package/dist-es/endpoints.js +1 -2
  37. package/dist-es/index.js +4 -13
  38. package/dist-es/models/index.js +0 -1
  39. package/dist-es/models/models_0.js +0 -1
  40. package/dist-es/pagination/GetTranscriptPaginator.js +0 -1
  41. package/dist-es/pagination/Interfaces.js +0 -1
  42. package/dist-es/pagination/index.js +2 -0
  43. package/dist-es/protocols/Aws_restJson1.js +0 -1
  44. package/dist-es/runtimeConfig.browser.js +1 -2
  45. package/dist-es/runtimeConfig.js +2 -3
  46. package/dist-es/runtimeConfig.native.js +0 -1
  47. package/dist-es/runtimeConfig.shared.js +0 -1
  48. package/dist-types/commands/index.d.ts +8 -0
  49. package/dist-types/index.d.ts +4 -12
  50. package/dist-types/pagination/index.d.ts +2 -0
  51. package/dist-types/ts3.4/ConnectParticipant.d.ts +9 -71
  52. package/dist-types/ts3.4/ConnectParticipantClient.d.ts +24 -94
  53. package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +2 -21
  54. package/dist-types/ts3.4/commands/CreateParticipantConnectionCommand.d.ts +2 -42
  55. package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +2 -23
  56. package/dist-types/ts3.4/commands/GetAttachmentCommand.d.ts +2 -21
  57. package/dist-types/ts3.4/commands/GetTranscriptCommand.d.ts +2 -23
  58. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +2 -23
  59. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +2 -25
  60. package/dist-types/ts3.4/commands/StartAttachmentUploadCommand.d.ts +2 -21
  61. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  62. package/dist-types/ts3.4/index.d.ts +4 -12
  63. package/dist-types/ts3.4/models/models_0.d.ts +105 -349
  64. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  69. package/package.json +33 -30
  70. package/dist-cjs/ConnectParticipant.js.map +0 -1
  71. package/dist-cjs/ConnectParticipantClient.js.map +0 -1
  72. package/dist-cjs/commands/CompleteAttachmentUploadCommand.js.map +0 -1
  73. package/dist-cjs/commands/CreateParticipantConnectionCommand.js.map +0 -1
  74. package/dist-cjs/commands/DisconnectParticipantCommand.js.map +0 -1
  75. package/dist-cjs/commands/GetAttachmentCommand.js.map +0 -1
  76. package/dist-cjs/commands/GetTranscriptCommand.js.map +0 -1
  77. package/dist-cjs/commands/SendEventCommand.js.map +0 -1
  78. package/dist-cjs/commands/SendMessageCommand.js.map +0 -1
  79. package/dist-cjs/commands/StartAttachmentUploadCommand.js.map +0 -1
  80. package/dist-cjs/endpoints.js.map +0 -1
  81. package/dist-cjs/index.js.map +0 -1
  82. package/dist-cjs/models/index.js.map +0 -1
  83. package/dist-cjs/models/models_0.js.map +0 -1
  84. package/dist-cjs/pagination/GetTranscriptPaginator.js.map +0 -1
  85. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  86. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  87. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  88. package/dist-cjs/runtimeConfig.js.map +0 -1
  89. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  90. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  91. package/dist-es/ConnectParticipant.js.map +0 -1
  92. package/dist-es/ConnectParticipantClient.js.map +0 -1
  93. package/dist-es/commands/CompleteAttachmentUploadCommand.js.map +0 -1
  94. package/dist-es/commands/CreateParticipantConnectionCommand.js.map +0 -1
  95. package/dist-es/commands/DisconnectParticipantCommand.js.map +0 -1
  96. package/dist-es/commands/GetAttachmentCommand.js.map +0 -1
  97. package/dist-es/commands/GetTranscriptCommand.js.map +0 -1
  98. package/dist-es/commands/SendEventCommand.js.map +0 -1
  99. package/dist-es/commands/SendMessageCommand.js.map +0 -1
  100. package/dist-es/commands/StartAttachmentUploadCommand.js.map +0 -1
  101. package/dist-es/endpoints.js.map +0 -1
  102. package/dist-es/index.js.map +0 -1
  103. package/dist-es/models/index.js.map +0 -1
  104. package/dist-es/models/models_0.js.map +0 -1
  105. package/dist-es/pagination/GetTranscriptPaginator.js.map +0 -1
  106. package/dist-es/pagination/Interfaces.js.map +0 -1
  107. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  108. package/dist-es/runtimeConfig.browser.js.map +0 -1
  109. package/dist-es/runtimeConfig.js.map +0 -1
  110. package/dist-es/runtimeConfig.native.js.map +0 -1
  111. package/dist-es/runtimeConfig.shared.js.map +0 -1
  112. package/jest.config.js +0 -4
  113. package/src/ConnectParticipant.ts +0 -328
  114. package/src/ConnectParticipantClient.ts +0 -284
  115. package/src/commands/CompleteAttachmentUploadCommand.ts +0 -100
  116. package/src/commands/CreateParticipantConnectionCommand.ts +0 -126
  117. package/src/commands/DisconnectParticipantCommand.ts +0 -102
  118. package/src/commands/GetAttachmentCommand.ts +0 -100
  119. package/src/commands/GetTranscriptCommand.ts +0 -102
  120. package/src/commands/SendEventCommand.ts +0 -102
  121. package/src/commands/SendMessageCommand.ts +0 -104
  122. package/src/commands/StartAttachmentUploadCommand.ts +0 -100
  123. package/src/endpoints.ts +0 -57
  124. package/src/index.ts +0 -13
  125. package/src/models/index.ts +0 -1
  126. package/src/models/models_0.ts +0 -768
  127. package/src/pagination/GetTranscriptPaginator.ts +0 -59
  128. package/src/pagination/Interfaces.ts +0 -8
  129. package/src/protocols/Aws_restJson1.ts +0 -1241
  130. package/src/runtimeConfig.browser.ts +0 -41
  131. package/src/runtimeConfig.native.ts +0 -17
  132. package/src/runtimeConfig.shared.ts +0 -17
  133. package/src/runtimeConfig.ts +0 -46
  134. package/tsconfig.es.json +0 -10
  135. package/tsconfig.json +0 -33
  136. package/tsconfig.types.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
24
+
25
+
26
+
27
+
28
+
29
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
41
+
42
+
43
+ ### Features
44
+
45
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
46
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
47
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
54
 
8
55
 
@@ -10,14 +10,6 @@ const SendEventCommand_1 = require("./commands/SendEventCommand");
10
10
  const SendMessageCommand_1 = require("./commands/SendMessageCommand");
11
11
  const StartAttachmentUploadCommand_1 = require("./commands/StartAttachmentUploadCommand");
12
12
  const ConnectParticipantClient_1 = require("./ConnectParticipantClient");
13
- /**
14
- * <p>Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage
15
- * a customer contact center and provide reliable customer engagement at any scale.</p>
16
- * <p>Amazon Connect enables customer contacts through voice or chat.</p>
17
- *
18
- * <p>The APIs described here are used by chat participants, such as agents and
19
- * customers.</p>
20
- */
21
13
  class ConnectParticipant extends ConnectParticipantClient_1.ConnectParticipantClient {
22
14
  completeAttachmentUpload(args, optionsOrCb, cb) {
23
15
  const command = new CompleteAttachmentUploadCommand_1.CompleteAttachmentUploadCommand(args);
@@ -133,4 +125,3 @@ class ConnectParticipant extends ConnectParticipantClient_1.ConnectParticipantCl
133
125
  }
134
126
  }
135
127
  exports.ConnectParticipant = ConnectParticipant;
136
- //# sourceMappingURL=ConnectParticipant.js.map
@@ -10,14 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage
15
- * a customer contact center and provide reliable customer engagement at any scale.</p>
16
- * <p>Amazon Connect enables customer contacts through voice or chat.</p>
17
- *
18
- * <p>The APIs described here are used by chat participants, such as agents and
19
- * customers.</p>
20
- */
21
13
  class ConnectParticipantClient extends smithy_client_1.Client {
22
14
  constructor(configuration) {
23
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -37,14 +29,8 @@ class ConnectParticipantClient extends smithy_client_1.Client {
37
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
38
30
  this.middlewareStack.use(middleware_retry_1.getOmitRetryHeadersPlugin(this.config));
39
31
  }
40
- /**
41
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
42
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
43
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
44
- */
45
32
  destroy() {
46
33
  super.destroy();
47
34
  }
48
35
  }
49
36
  exports.ConnectParticipantClient = ConnectParticipantClient;
50
- //# sourceMappingURL=ConnectParticipantClient.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL
10
- * provided in StartAttachmentUpload API. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ConnectParticipantClient, CompleteAttachmentUploadCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
15
- * // const { ConnectParticipantClient, CompleteAttachmentUploadCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
16
- * const client = new ConnectParticipantClient(config);
17
- * const command = new CompleteAttachmentUploadCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CompleteAttachmentUploadCommandInput} for command's `input` shape.
22
- * @see {@link CompleteAttachmentUploadCommandOutput} for command's `response` shape.
23
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CompleteAttachmentUploadCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class CompleteAttachmentUploadCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CompleteAttachmentUploadCommand = CompleteAttachmentUploadCommand;
62
- //# sourceMappingURL=CompleteAttachmentUploadCommand.js.map
@@ -5,57 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates the participant's connection. Note that ParticipantToken is used for invoking
10
- * this API instead of ConnectionToken.</p>
11
- * <p>The participant token is valid for the lifetime of the participant – until they are
12
- * part of a contact.</p>
13
- * <p>The response URL for <code>WEBSOCKET</code> Type has a connect expiry timeout of 100s.
14
- * Clients must manually connect to the returned websocket URL and subscribe to the desired
15
- * topic. </p>
16
- * <p>For chat, you need to publish the following on the established websocket
17
- * connection:</p>
18
- *
19
- *
20
- * <p>
21
- * <code>{"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}</code>
22
- * </p>
23
- *
24
- * <p>Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter,
25
- * clients need to call this API again to obtain a new websocket URL and perform the same
26
- * steps as before.</p>
27
- *
28
- * <note>
29
- * <p>The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4
30
- * authentication</a>.</p>
31
- * </note>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { ConnectParticipantClient, CreateParticipantConnectionCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
36
- * // const { ConnectParticipantClient, CreateParticipantConnectionCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
37
- * const client = new ConnectParticipantClient(config);
38
- * const command = new CreateParticipantConnectionCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateParticipantConnectionCommandInput} for command's `input` shape.
43
- * @see {@link CreateParticipantConnectionCommandOutput} for command's `response` shape.
44
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
8
  class CreateParticipantConnectionCommand extends smithy_client_1.Command {
48
- // Start section: command_properties
49
- // End section: command_properties
50
9
  constructor(input) {
51
- // Start section: command_constructor
52
10
  super();
53
11
  this.input = input;
54
- // End section: command_constructor
55
12
  }
56
- /**
57
- * @internal
58
- */
59
13
  resolveMiddleware(clientStack, configuration, options) {
60
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
61
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -80,4 +34,3 @@ class CreateParticipantConnectionCommand extends smithy_client_1.Command {
80
34
  }
81
35
  }
82
36
  exports.CreateParticipantConnectionCommand = CreateParticipantConnectionCommand;
83
- //# sourceMappingURL=CreateParticipantConnectionCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Disconnects a participant. Note that ConnectionToken is used for invoking this API
10
- * instead of ParticipantToken.</p>
11
- * <p>The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4
12
- * authentication</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ConnectParticipantClient, DisconnectParticipantCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
17
- * // const { ConnectParticipantClient, DisconnectParticipantCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
18
- * const client = new ConnectParticipantClient(config);
19
- * const command = new DisconnectParticipantCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DisconnectParticipantCommandInput} for command's `input` shape.
24
- * @see {@link DisconnectParticipantCommandOutput} for command's `response` shape.
25
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DisconnectParticipantCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DisconnectParticipantCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DisconnectParticipantCommand = DisconnectParticipantCommand;
64
- //# sourceMappingURL=DisconnectParticipantCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Provides a pre-signed URL for download of a completed attachment. This is an
10
- * asynchronous API for use with active contacts.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ConnectParticipantClient, GetAttachmentCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
15
- * // const { ConnectParticipantClient, GetAttachmentCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
16
- * const client = new ConnectParticipantClient(config);
17
- * const command = new GetAttachmentCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetAttachmentCommandInput} for command's `input` shape.
22
- * @see {@link GetAttachmentCommandOutput} for command's `response` shape.
23
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetAttachmentCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetAttachmentCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetAttachmentCommand = GetAttachmentCommand;
62
- //# sourceMappingURL=GetAttachmentCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves a transcript of the session, including details about any attachments. Note
10
- * that ConnectionToken is used for invoking this API instead of ParticipantToken.</p>
11
- * <p>The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4
12
- * authentication</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ConnectParticipantClient, GetTranscriptCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
17
- * // const { ConnectParticipantClient, GetTranscriptCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
18
- * const client = new ConnectParticipantClient(config);
19
- * const command = new GetTranscriptCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GetTranscriptCommandInput} for command's `input` shape.
24
- * @see {@link GetTranscriptCommandOutput} for command's `response` shape.
25
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class GetTranscriptCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class GetTranscriptCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.GetTranscriptCommand = GetTranscriptCommand;
64
- //# sourceMappingURL=GetTranscriptCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Sends an event. Note that ConnectionToken is used for invoking this API instead of
10
- * ParticipantToken.</p>
11
- * <p>The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4
12
- * authentication</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ConnectParticipantClient, SendEventCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
17
- * // const { ConnectParticipantClient, SendEventCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
18
- * const client = new ConnectParticipantClient(config);
19
- * const command = new SendEventCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link SendEventCommandInput} for command's `input` shape.
24
- * @see {@link SendEventCommandOutput} for command's `response` shape.
25
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class SendEventCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class SendEventCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.SendEventCommand = SendEventCommand;
64
- //# sourceMappingURL=SendEventCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Sends a message. Note that ConnectionToken is used for invoking this API instead of
10
- * ParticipantToken.</p>
11
- * <note>
12
- * <p>The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4
13
- * authentication</a>.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ConnectParticipantClient, SendMessageCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
19
- * // const { ConnectParticipantClient, SendMessageCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
20
- * const client = new ConnectParticipantClient(config);
21
- * const command = new SendMessageCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link SendMessageCommandInput} for command's `input` shape.
26
- * @see {@link SendMessageCommandOutput} for command's `response` shape.
27
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class SendMessageCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class SendMessageCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.SendMessageCommand = SendMessageCommand;
66
- //# sourceMappingURL=SendMessageCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Provides a pre-signed Amazon S3 URL in response for uploading the file directly to
10
- * S3.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ConnectParticipantClient, StartAttachmentUploadCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
15
- * // const { ConnectParticipantClient, StartAttachmentUploadCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
16
- * const client = new ConnectParticipantClient(config);
17
- * const command = new StartAttachmentUploadCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link StartAttachmentUploadCommandInput} for command's `input` shape.
22
- * @see {@link StartAttachmentUploadCommandOutput} for command's `response` shape.
23
- * @see {@link ConnectParticipantClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class StartAttachmentUploadCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class StartAttachmentUploadCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.StartAttachmentUploadCommand = StartAttachmentUploadCommand;
62
- //# sourceMappingURL=StartAttachmentUploadCommand.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CompleteAttachmentUploadCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateParticipantConnectionCommand"), exports);
6
+ tslib_1.__exportStar(require("./DisconnectParticipantCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetAttachmentCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetTranscriptCommand"), exports);
9
+ tslib_1.__exportStar(require("./SendEventCommand"), exports);
10
+ tslib_1.__exportStar(require("./SendMessageCommand"), exports);
11
+ tslib_1.__exportStar(require("./StartAttachmentUploadCommand"), exports);
@@ -35,7 +35,7 @@ const partitionHash = {
35
35
  hostname: "participant.connect.{region}.amazonaws.com.cn",
36
36
  },
37
37
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
39
  hostname: "participant.connect.{region}.c2s.ic.gov",
40
40
  },
41
41
  "aws-iso-b": {
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
package/dist-cjs/index.js CHANGED
@@ -1,17 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ConnectParticipantClient"), exports);
5
4
  tslib_1.__exportStar(require("./ConnectParticipant"), exports);
6
- tslib_1.__exportStar(require("./commands/CompleteAttachmentUploadCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateParticipantConnectionCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/DisconnectParticipantCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/GetAttachmentCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/GetTranscriptCommand"), exports);
11
- tslib_1.__exportStar(require("./pagination/GetTranscriptPaginator"), exports);
12
- tslib_1.__exportStar(require("./commands/SendEventCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/SendMessageCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/StartAttachmentUploadCommand"), exports);
15
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
16
- tslib_1.__exportStar(require("./models/index"), exports);
17
- //# sourceMappingURL=index.js.map
5
+ tslib_1.__exportStar(require("./ConnectParticipantClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map