@aws-sdk/client-pinpoint-sms-voice 3.337.0 → 3.338.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 (45) hide show
  1. package/dist-cjs/PinpointSMSVoiceClient.js +2 -1
  2. package/dist-cjs/commands/CreateConfigurationSetCommand.js +2 -1
  3. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +2 -1
  4. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +2 -1
  6. package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +2 -1
  7. package/dist-cjs/commands/ListConfigurationSetsCommand.js +2 -1
  8. package/dist-cjs/commands/SendVoiceMessageCommand.js +2 -1
  9. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +2 -1
  10. package/dist-cjs/index.js +1 -1
  11. package/dist-cjs/models/PinpointSMSVoiceServiceException.js +2 -1
  12. package/dist-es/PinpointSMSVoiceClient.js +1 -0
  13. package/dist-es/commands/CreateConfigurationSetCommand.js +1 -0
  14. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +1 -0
  15. package/dist-es/commands/DeleteConfigurationSetCommand.js +1 -0
  16. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +1 -0
  17. package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +1 -0
  18. package/dist-es/commands/ListConfigurationSetsCommand.js +1 -0
  19. package/dist-es/commands/SendVoiceMessageCommand.js +1 -0
  20. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +1 -0
  21. package/dist-es/index.js +1 -1
  22. package/dist-es/models/PinpointSMSVoiceServiceException.js +1 -0
  23. package/dist-types/PinpointSMSVoiceClient.d.ts +3 -3
  24. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +4 -0
  25. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +4 -0
  28. package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +4 -0
  29. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +4 -0
  30. package/dist-types/commands/SendVoiceMessageCommand.d.ts +4 -0
  31. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +4 -0
  32. package/dist-types/index.d.ts +6 -1
  33. package/dist-types/models/PinpointSMSVoiceServiceException.d.ts +1 -0
  34. package/dist-types/ts3.4/PinpointSMSVoiceClient.d.ts +3 -3
  35. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +1 -0
  36. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +1 -0
  37. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +1 -0
  38. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +1 -0
  39. package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +1 -0
  40. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +1 -0
  41. package/dist-types/ts3.4/commands/SendVoiceMessageCommand.d.ts +1 -0
  42. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -0
  43. package/dist-types/ts3.4/index.d.ts +1 -1
  44. package/dist-types/ts3.4/models/PinpointSMSVoiceServiceException.d.ts +1 -0
  45. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PinpointSMSVoiceClient = void 0;
3
+ exports.PinpointSMSVoiceClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class PinpointSMSVoiceClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateConfigurationSetCommand = void 0;
3
+ exports.CreateConfigurationSetCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateConfigurationSetCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateConfigurationSetEventDestinationCommand = void 0;
3
+ exports.CreateConfigurationSetEventDestinationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateConfigurationSetEventDestinationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteConfigurationSetCommand = void 0;
3
+ exports.DeleteConfigurationSetCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteConfigurationSetCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteConfigurationSetEventDestinationCommand = void 0;
3
+ exports.DeleteConfigurationSetEventDestinationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteConfigurationSetEventDestinationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetConfigurationSetEventDestinationsCommand = void 0;
3
+ exports.GetConfigurationSetEventDestinationsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetConfigurationSetEventDestinationsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListConfigurationSetsCommand = void 0;
3
+ exports.ListConfigurationSetsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListConfigurationSetsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SendVoiceMessageCommand = void 0;
3
+ exports.SendVoiceMessageCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class SendVoiceMessageCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateConfigurationSetEventDestinationCommand = void 0;
3
+ exports.UpdateConfigurationSetEventDestinationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateConfigurationSetEventDestinationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PinpointSMSVoiceServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./PinpointSMSVoice"), exports);
6
5
  tslib_1.__exportStar(require("./PinpointSMSVoiceClient"), exports);
6
+ tslib_1.__exportStar(require("./PinpointSMSVoice"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  var PinpointSMSVoiceServiceException_1 = require("./models/PinpointSMSVoiceServiceException");
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PinpointSMSVoiceServiceException = void 0;
3
+ exports.PinpointSMSVoiceServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class PinpointSMSVoiceServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class PinpointSMSVoiceClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateConfigurationSetCommand, se_CreateConfigurationSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateConfigurationSetCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateConfigurationSetEventDestinationCommand, se_CreateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateConfigurationSetEventDestinationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteConfigurationSetCommand, se_DeleteConfigurationSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteConfigurationSetCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteConfigurationSetEventDestinationCommand, se_DeleteConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteConfigurationSetEventDestinationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetConfigurationSetEventDestinationsCommand, se_GetConfigurationSetEventDestinationsCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetConfigurationSetEventDestinationsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListConfigurationSetsCommand, se_ListConfigurationSetsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListConfigurationSetsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_SendVoiceMessageCommand, se_SendVoiceMessageCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class SendVoiceMessageCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateConfigurationSetEventDestinationCommand, se_UpdateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateConfigurationSetEventDestinationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./PinpointSMSVoice";
2
1
  export * from "./PinpointSMSVoiceClient";
2
+ export * from "./PinpointSMSVoice";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { PinpointSMSVoiceServiceException } from "./models/PinpointSMSVoiceServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class PinpointSMSVoiceServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -17,6 +17,7 @@ import { ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput }
17
17
  import { SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput } from "./commands/SendVoiceMessageCommand";
18
18
  import { UpdateConfigurationSetEventDestinationCommandInput, UpdateConfigurationSetEventDestinationCommandOutput } from "./commands/UpdateConfigurationSetEventDestinationCommand";
19
19
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
20
+ export { __Client };
20
21
  /**
21
22
  * @public
22
23
  */
@@ -131,7 +132,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
131
132
  /**
132
133
  * @public
133
134
  */
134
- type PinpointSMSVoiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
135
+ export type PinpointSMSVoiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
135
136
  /**
136
137
  * @public
137
138
  *
@@ -142,7 +143,7 @@ export interface PinpointSMSVoiceClientConfig extends PinpointSMSVoiceClientConf
142
143
  /**
143
144
  * @public
144
145
  */
145
- type PinpointSMSVoiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
146
+ export type PinpointSMSVoiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
146
147
  /**
147
148
  * @public
148
149
  *
@@ -167,4 +168,3 @@ export declare class PinpointSMSVoiceClient extends __Client<__HttpHandlerOption
167
168
  */
168
169
  destroy(): void;
169
170
  }
170
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CreateConfigurationSetRequest, CreateConfigurationSetResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CreateConfigurationSetEventDestinationRequest, CreateConfigurationSetEventDestinationResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DeleteConfigurationSetRequest, DeleteConfigurationSetResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DeleteConfigurationSetEventDestinationRequest, DeleteConfigurationSetEventDestinationResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetConfigurationSetEventDestinationsRequest, GetConfigurationSetEventDestinationsResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListConfigurationSetsRequest, ListConfigurationSetsResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SendVoiceMessageRequest, SendVoiceMessageResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { UpdateConfigurationSetEventDestinationRequest, UpdateConfigurationSetEventDestinationResponse } from "../models/models_0";
5
5
  import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,5 +1,10 @@
1
- export * from "./PinpointSMSVoice";
1
+ /**
2
+ * Pinpoint SMS and Voice Messaging public facing APIs
3
+ *
4
+ * @packageDocumentation
5
+ */
2
6
  export * from "./PinpointSMSVoiceClient";
7
+ export * from "./PinpointSMSVoice";
3
8
  export * from "./commands";
4
9
  export * from "./models";
5
10
  export { PinpointSMSVoiceServiceException } from "./models/PinpointSMSVoiceServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -83,6 +83,7 @@ import {
83
83
  ClientResolvedEndpointParameters,
84
84
  EndpointParameters,
85
85
  } from "./endpoint/EndpointParameters";
86
+ export { __Client };
86
87
  export type ServiceInputTypes =
87
88
  | CreateConfigurationSetCommandInput
88
89
  | CreateConfigurationSetEventDestinationCommandInput
@@ -125,7 +126,7 @@ export interface ClientDefaults
125
126
  logger?: __Logger;
126
127
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
127
128
  }
128
- type PinpointSMSVoiceClientConfigType = Partial<
129
+ export type PinpointSMSVoiceClientConfigType = Partial<
129
130
  __SmithyConfiguration<__HttpHandlerOptions>
130
131
  > &
131
132
  ClientDefaults &
@@ -138,7 +139,7 @@ type PinpointSMSVoiceClientConfigType = Partial<
138
139
  ClientInputEndpointParameters;
139
140
  export interface PinpointSMSVoiceClientConfig
140
141
  extends PinpointSMSVoiceClientConfigType {}
141
- type PinpointSMSVoiceClientResolvedConfigType =
142
+ export type PinpointSMSVoiceClientResolvedConfigType =
142
143
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
143
144
  Required<ClientDefaults> &
144
145
  RegionResolvedConfig &
@@ -160,4 +161,3 @@ export declare class PinpointSMSVoiceClient extends __Client<
160
161
  constructor(configuration: PinpointSMSVoiceClientConfig);
161
162
  destroy(): void;
162
163
  }
163
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateConfigurationSetCommandInput
19
20
  extends CreateConfigurationSetRequest {}
20
21
  export interface CreateConfigurationSetCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateConfigurationSetEventDestinationCommandInput
19
20
  extends CreateConfigurationSetEventDestinationRequest {}
20
21
  export interface CreateConfigurationSetEventDestinationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteConfigurationSetCommandInput
19
20
  extends DeleteConfigurationSetRequest {}
20
21
  export interface DeleteConfigurationSetCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteConfigurationSetEventDestinationCommandInput
19
20
  extends DeleteConfigurationSetEventDestinationRequest {}
20
21
  export interface DeleteConfigurationSetEventDestinationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetConfigurationSetEventDestinationsCommandInput
19
20
  extends GetConfigurationSetEventDestinationsRequest {}
20
21
  export interface GetConfigurationSetEventDestinationsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListConfigurationSetsCommandInput
19
20
  extends ListConfigurationSetsRequest {}
20
21
  export interface ListConfigurationSetsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface SendVoiceMessageCommandInput extends SendVoiceMessageRequest {}
19
20
  export interface SendVoiceMessageCommandOutput
20
21
  extends SendVoiceMessageResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PinpointSMSVoiceClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateConfigurationSetEventDestinationCommandInput
19
20
  extends UpdateConfigurationSetEventDestinationRequest {}
20
21
  export interface UpdateConfigurationSetEventDestinationCommandOutput
@@ -1,5 +1,5 @@
1
- export * from "./PinpointSMSVoice";
2
1
  export * from "./PinpointSMSVoiceClient";
2
+ export * from "./PinpointSMSVoice";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { PinpointSMSVoiceServiceException } from "./models/PinpointSMSVoiceServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class PinpointSMSVoiceServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pinpoint-sms-voice",
3
3
  "description": "AWS SDK for JavaScript Pinpoint Sms Voice Client for Node.js, Browser and React Native",
4
- "version": "3.337.0",
4
+ "version": "3.338.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.337.0",
25
- "@aws-sdk/config-resolver": "3.337.0",
26
- "@aws-sdk/credential-provider-node": "3.337.0",
27
- "@aws-sdk/fetch-http-handler": "3.337.0",
28
- "@aws-sdk/hash-node": "3.337.0",
29
- "@aws-sdk/invalid-dependency": "3.337.0",
30
- "@aws-sdk/middleware-content-length": "3.337.0",
31
- "@aws-sdk/middleware-endpoint": "3.337.0",
32
- "@aws-sdk/middleware-host-header": "3.337.0",
33
- "@aws-sdk/middleware-logger": "3.337.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.337.0",
35
- "@aws-sdk/middleware-retry": "3.337.0",
36
- "@aws-sdk/middleware-serde": "3.337.0",
37
- "@aws-sdk/middleware-signing": "3.337.0",
38
- "@aws-sdk/middleware-stack": "3.337.0",
39
- "@aws-sdk/middleware-user-agent": "3.337.0",
40
- "@aws-sdk/node-config-provider": "3.337.0",
41
- "@aws-sdk/node-http-handler": "3.337.0",
42
- "@aws-sdk/smithy-client": "3.337.0",
43
- "@aws-sdk/types": "3.337.0",
44
- "@aws-sdk/url-parser": "3.337.0",
24
+ "@aws-sdk/client-sts": "3.338.0",
25
+ "@aws-sdk/config-resolver": "3.338.0",
26
+ "@aws-sdk/credential-provider-node": "3.338.0",
27
+ "@aws-sdk/fetch-http-handler": "3.338.0",
28
+ "@aws-sdk/hash-node": "3.338.0",
29
+ "@aws-sdk/invalid-dependency": "3.338.0",
30
+ "@aws-sdk/middleware-content-length": "3.338.0",
31
+ "@aws-sdk/middleware-endpoint": "3.338.0",
32
+ "@aws-sdk/middleware-host-header": "3.338.0",
33
+ "@aws-sdk/middleware-logger": "3.338.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.338.0",
35
+ "@aws-sdk/middleware-retry": "3.338.0",
36
+ "@aws-sdk/middleware-serde": "3.338.0",
37
+ "@aws-sdk/middleware-signing": "3.338.0",
38
+ "@aws-sdk/middleware-stack": "3.338.0",
39
+ "@aws-sdk/middleware-user-agent": "3.338.0",
40
+ "@aws-sdk/node-config-provider": "3.338.0",
41
+ "@aws-sdk/node-http-handler": "3.338.0",
42
+ "@aws-sdk/smithy-client": "3.338.0",
43
+ "@aws-sdk/types": "3.338.0",
44
+ "@aws-sdk/url-parser": "3.338.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.337.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.337.0",
50
- "@aws-sdk/util-endpoints": "3.337.0",
51
- "@aws-sdk/util-retry": "3.337.0",
52
- "@aws-sdk/util-user-agent-browser": "3.337.0",
53
- "@aws-sdk/util-user-agent-node": "3.337.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.338.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.338.0",
50
+ "@aws-sdk/util-endpoints": "3.338.0",
51
+ "@aws-sdk/util-retry": "3.338.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.338.0",
53
+ "@aws-sdk/util-user-agent-node": "3.338.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",