@aws-sdk/client-chime-sdk-voice 3.299.0 → 3.301.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 (98) hide show
  1. package/README.md +3 -0
  2. package/dist-types/ChimeSDKVoice.d.ts +203 -0
  3. package/dist-types/ChimeSDKVoiceClient.d.ts +2 -0
  4. package/dist-types/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.d.ts +52 -0
  5. package/dist-types/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.d.ts +52 -0
  6. package/dist-types/commands/BatchDeletePhoneNumberCommand.d.ts +54 -0
  7. package/dist-types/commands/BatchUpdatePhoneNumberCommand.d.ts +51 -0
  8. package/dist-types/commands/CreatePhoneNumberOrderCommand.d.ts +51 -0
  9. package/dist-types/commands/CreateProxySessionCommand.d.ts +60 -0
  10. package/dist-types/commands/CreateSipMediaApplicationCallCommand.d.ts +58 -0
  11. package/dist-types/commands/CreateSipMediaApplicationCommand.d.ts +58 -0
  12. package/dist-types/commands/CreateSipRuleCommand.d.ts +62 -0
  13. package/dist-types/commands/CreateVoiceConnectorCommand.d.ts +53 -0
  14. package/dist-types/commands/CreateVoiceConnectorGroupCommand.d.ts +59 -0
  15. package/dist-types/commands/CreateVoiceProfileCommand.d.ts +63 -0
  16. package/dist-types/commands/CreateVoiceProfileDomainCommand.d.ts +68 -0
  17. package/dist-types/commands/DeletePhoneNumberCommand.d.ts +51 -0
  18. package/dist-types/commands/DeleteProxySessionCommand.d.ts +47 -0
  19. package/dist-types/commands/DeleteSipMediaApplicationCommand.d.ts +48 -0
  20. package/dist-types/commands/DeleteSipRuleCommand.d.ts +48 -0
  21. package/dist-types/commands/DeleteVoiceConnectorCommand.d.ts +50 -0
  22. package/dist-types/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +46 -0
  23. package/dist-types/commands/DeleteVoiceConnectorGroupCommand.d.ts +50 -0
  24. package/dist-types/commands/DeleteVoiceConnectorOriginationCommand.d.ts +49 -0
  25. package/dist-types/commands/DeleteVoiceConnectorProxyCommand.d.ts +45 -0
  26. package/dist-types/commands/DeleteVoiceConnectorStreamingConfigurationCommand.d.ts +45 -0
  27. package/dist-types/commands/DeleteVoiceConnectorTerminationCommand.d.ts +49 -0
  28. package/dist-types/commands/DeleteVoiceConnectorTerminationCredentialsCommand.d.ts +49 -0
  29. package/dist-types/commands/DeleteVoiceProfileCommand.d.ts +51 -0
  30. package/dist-types/commands/DeleteVoiceProfileDomainCommand.d.ts +51 -0
  31. package/dist-types/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.d.ts +49 -0
  32. package/dist-types/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.d.ts +49 -0
  33. package/dist-types/commands/GetGlobalSettingsCommand.d.ts +40 -0
  34. package/dist-types/commands/GetPhoneNumberCommand.d.ts +46 -0
  35. package/dist-types/commands/GetPhoneNumberOrderCommand.d.ts +47 -0
  36. package/dist-types/commands/GetPhoneNumberSettingsCommand.d.ts +41 -0
  37. package/dist-types/commands/GetProxySessionCommand.d.ts +46 -0
  38. package/dist-types/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.d.ts +45 -0
  39. package/dist-types/commands/GetSipMediaApplicationCommand.d.ts +46 -0
  40. package/dist-types/commands/GetSipMediaApplicationLoggingConfigurationCommand.d.ts +45 -0
  41. package/dist-types/commands/GetSipRuleCommand.d.ts +46 -0
  42. package/dist-types/commands/GetSpeakerSearchTaskCommand.d.ts +52 -0
  43. package/dist-types/commands/GetVoiceConnectorCommand.d.ts +46 -0
  44. package/dist-types/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +45 -0
  45. package/dist-types/commands/GetVoiceConnectorGroupCommand.d.ts +46 -0
  46. package/dist-types/commands/GetVoiceConnectorLoggingConfigurationCommand.d.ts +46 -0
  47. package/dist-types/commands/GetVoiceConnectorOriginationCommand.d.ts +45 -0
  48. package/dist-types/commands/GetVoiceConnectorProxyCommand.d.ts +46 -0
  49. package/dist-types/commands/GetVoiceConnectorStreamingConfigurationCommand.d.ts +47 -0
  50. package/dist-types/commands/GetVoiceConnectorTerminationCommand.d.ts +45 -0
  51. package/dist-types/commands/GetVoiceConnectorTerminationHealthCommand.d.ts +47 -0
  52. package/dist-types/commands/GetVoiceProfileCommand.d.ts +48 -0
  53. package/dist-types/commands/GetVoiceProfileDomainCommand.d.ts +48 -0
  54. package/dist-types/commands/GetVoiceToneAnalysisTaskCommand.d.ts +53 -0
  55. package/dist-types/commands/ListAvailableVoiceConnectorRegionsCommand.d.ts +40 -0
  56. package/dist-types/commands/ListPhoneNumberOrdersCommand.d.ts +43 -0
  57. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +52 -0
  58. package/dist-types/commands/ListProxySessionsCommand.d.ts +48 -0
  59. package/dist-types/commands/ListSipMediaApplicationsCommand.d.ts +43 -0
  60. package/dist-types/commands/ListSipRulesCommand.d.ts +44 -0
  61. package/dist-types/commands/ListSupportedPhoneNumberCountriesCommand.d.ts +45 -0
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +42 -0
  63. package/dist-types/commands/ListVoiceConnectorGroupsCommand.d.ts +44 -0
  64. package/dist-types/commands/ListVoiceConnectorTerminationCredentialsCommand.d.ts +45 -0
  65. package/dist-types/commands/ListVoiceConnectorsCommand.d.ts +44 -0
  66. package/dist-types/commands/ListVoiceProfileDomainsCommand.d.ts +47 -0
  67. package/dist-types/commands/ListVoiceProfilesCommand.d.ts +47 -0
  68. package/dist-types/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.d.ts +51 -0
  69. package/dist-types/commands/PutSipMediaApplicationLoggingConfigurationCommand.d.ts +48 -0
  70. package/dist-types/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +54 -0
  71. package/dist-types/commands/PutVoiceConnectorLoggingConfigurationCommand.d.ts +49 -0
  72. package/dist-types/commands/PutVoiceConnectorOriginationCommand.d.ts +57 -0
  73. package/dist-types/commands/PutVoiceConnectorProxyCommand.d.ts +54 -0
  74. package/dist-types/commands/PutVoiceConnectorStreamingConfigurationCommand.d.ts +58 -0
  75. package/dist-types/commands/PutVoiceConnectorTerminationCommand.d.ts +59 -0
  76. package/dist-types/commands/PutVoiceConnectorTerminationCredentialsCommand.d.ts +51 -0
  77. package/dist-types/commands/RestorePhoneNumberCommand.d.ts +48 -0
  78. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +52 -0
  79. package/dist-types/commands/StartSpeakerSearchTaskCommand.d.ts +67 -0
  80. package/dist-types/commands/StartVoiceToneAnalysisTaskCommand.d.ts +69 -0
  81. package/dist-types/commands/StopSpeakerSearchTaskCommand.d.ts +55 -0
  82. package/dist-types/commands/StopVoiceToneAnalysisTaskCommand.d.ts +55 -0
  83. package/dist-types/commands/TagResourceCommand.d.ts +51 -0
  84. package/dist-types/commands/UntagResourceCommand.d.ts +45 -0
  85. package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +44 -0
  86. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +57 -0
  87. package/dist-types/commands/UpdatePhoneNumberSettingsCommand.d.ts +45 -0
  88. package/dist-types/commands/UpdateProxySessionCommand.d.ts +50 -0
  89. package/dist-types/commands/UpdateSipMediaApplicationCallCommand.d.ts +54 -0
  90. package/dist-types/commands/UpdateSipMediaApplicationCommand.d.ts +54 -0
  91. package/dist-types/commands/UpdateSipRuleCommand.d.ts +60 -0
  92. package/dist-types/commands/UpdateVoiceConnectorCommand.d.ts +47 -0
  93. package/dist-types/commands/UpdateVoiceConnectorGroupCommand.d.ts +55 -0
  94. package/dist-types/commands/UpdateVoiceProfileCommand.d.ts +64 -0
  95. package/dist-types/commands/UpdateVoiceProfileDomainCommand.d.ts +50 -0
  96. package/dist-types/commands/ValidateE911AddressCommand.d.ts +54 -0
  97. package/dist-types/models/models_0.d.ts +1583 -0
  98. package/package.json +8 -8
@@ -17,6 +17,60 @@ export interface PutVoiceConnectorProxyCommandInput extends PutVoiceConnectorPro
17
17
  */
18
18
  export interface PutVoiceConnectorProxyCommandOutput extends PutVoiceConnectorProxyResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Puts the specified proxy configuration to the specified Amazon Chime SDK Voice Connector.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, PutVoiceConnectorProxyCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, PutVoiceConnectorProxyCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // PutVoiceConnectorProxyRequest
30
+ * VoiceConnectorId: "STRING_VALUE", // required
31
+ * DefaultSessionExpiryMinutes: Number("int"), // required
32
+ * PhoneNumberPoolCountries: [ // CountryList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * FallBackPhoneNumber: "STRING_VALUE",
36
+ * Disabled: true || false,
37
+ * };
38
+ * const command = new PutVoiceConnectorProxyCommand(input);
39
+ * const response = await client.send(command);
40
+ * ```
41
+ *
42
+ * @param PutVoiceConnectorProxyCommandInput - {@link PutVoiceConnectorProxyCommandInput}
43
+ * @returns {@link PutVoiceConnectorProxyCommandOutput}
44
+ * @see {@link PutVoiceConnectorProxyCommandInput} for command's `input` shape.
45
+ * @see {@link PutVoiceConnectorProxyCommandOutput} for command's `response` shape.
46
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
47
+ *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You don't have the permissions needed to run this action.</p>
50
+ *
51
+ * @throws {@link BadRequestException} (client fault)
52
+ * <p>The input parameters don't match the service's restrictions.</p>
53
+ *
54
+ * @throws {@link ForbiddenException} (client fault)
55
+ * <p>The client is permanently forbidden from making the request.</p>
56
+ *
57
+ * @throws {@link NotFoundException} (client fault)
58
+ * <p>The requested resource couldn't be found.</p>
59
+ *
60
+ * @throws {@link ServiceFailureException} (server fault)
61
+ * <p>The service encountered an unexpected error.</p>
62
+ *
63
+ * @throws {@link ServiceUnavailableException} (server fault)
64
+ * <p>The service is currently unavailable.</p>
65
+ *
66
+ * @throws {@link ThrottledClientException} (client fault)
67
+ * <p>The number of customer requests exceeds the request rate limit.</p>
68
+ *
69
+ * @throws {@link UnauthorizedClientException} (client fault)
70
+ * <p>The client isn't authorized to request a resource.</p>
71
+ *
72
+ *
73
+ */
20
74
  export declare class PutVoiceConnectorProxyCommand extends $Command<PutVoiceConnectorProxyCommandInput, PutVoiceConnectorProxyCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
75
  readonly input: PutVoiceConnectorProxyCommandInput;
22
76
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,64 @@ export interface PutVoiceConnectorStreamingConfigurationCommandInput extends Put
17
17
  */
18
18
  export interface PutVoiceConnectorStreamingConfigurationCommandOutput extends PutVoiceConnectorStreamingConfigurationResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Updates a Voice Connector's streaming configuration settings.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, PutVoiceConnectorStreamingConfigurationCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, PutVoiceConnectorStreamingConfigurationCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // PutVoiceConnectorStreamingConfigurationRequest
30
+ * VoiceConnectorId: "STRING_VALUE", // required
31
+ * StreamingConfiguration: { // StreamingConfiguration
32
+ * DataRetentionInHours: Number("int"), // required
33
+ * Disabled: true || false, // required
34
+ * StreamingNotificationTargets: [ // StreamingNotificationTargetList
35
+ * { // StreamingNotificationTarget
36
+ * NotificationTarget: "EventBridge" || "SNS" || "SQS",
37
+ * },
38
+ * ],
39
+ * MediaInsightsConfiguration: { // MediaInsightsConfiguration
40
+ * Disabled: true || false,
41
+ * ConfigurationArn: "STRING_VALUE",
42
+ * },
43
+ * },
44
+ * };
45
+ * const command = new PutVoiceConnectorStreamingConfigurationCommand(input);
46
+ * const response = await client.send(command);
47
+ * ```
48
+ *
49
+ * @param PutVoiceConnectorStreamingConfigurationCommandInput - {@link PutVoiceConnectorStreamingConfigurationCommandInput}
50
+ * @returns {@link PutVoiceConnectorStreamingConfigurationCommandOutput}
51
+ * @see {@link PutVoiceConnectorStreamingConfigurationCommandInput} for command's `input` shape.
52
+ * @see {@link PutVoiceConnectorStreamingConfigurationCommandOutput} for command's `response` shape.
53
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
54
+ *
55
+ * @throws {@link BadRequestException} (client fault)
56
+ * <p>The input parameters don't match the service's restrictions.</p>
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ * <p>The client is permanently forbidden from making the request.</p>
60
+ *
61
+ * @throws {@link NotFoundException} (client fault)
62
+ * <p>The requested resource couldn't be found.</p>
63
+ *
64
+ * @throws {@link ServiceFailureException} (server fault)
65
+ * <p>The service encountered an unexpected error.</p>
66
+ *
67
+ * @throws {@link ServiceUnavailableException} (server fault)
68
+ * <p>The service is currently unavailable.</p>
69
+ *
70
+ * @throws {@link ThrottledClientException} (client fault)
71
+ * <p>The number of customer requests exceeds the request rate limit.</p>
72
+ *
73
+ * @throws {@link UnauthorizedClientException} (client fault)
74
+ * <p>The client isn't authorized to request a resource.</p>
75
+ *
76
+ *
77
+ */
20
78
  export declare class PutVoiceConnectorStreamingConfigurationCommand extends $Command<PutVoiceConnectorStreamingConfigurationCommandInput, PutVoiceConnectorStreamingConfigurationCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
79
  readonly input: PutVoiceConnectorStreamingConfigurationCommandInput;
22
80
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,65 @@ export interface PutVoiceConnectorTerminationCommandInput extends PutVoiceConnec
17
17
  */
18
18
  export interface PutVoiceConnectorTerminationCommandOutput extends PutVoiceConnectorTerminationResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Updates a Voice Connector's termination settings.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, PutVoiceConnectorTerminationCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, PutVoiceConnectorTerminationCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // PutVoiceConnectorTerminationRequest
30
+ * VoiceConnectorId: "STRING_VALUE", // required
31
+ * Termination: { // Termination
32
+ * CpsLimit: Number("int"),
33
+ * DefaultPhoneNumber: "STRING_VALUE",
34
+ * CallingRegions: [ // CallingRegionList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * CidrAllowedList: [ // StringList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * Disabled: true || false,
41
+ * },
42
+ * };
43
+ * const command = new PutVoiceConnectorTerminationCommand(input);
44
+ * const response = await client.send(command);
45
+ * ```
46
+ *
47
+ * @param PutVoiceConnectorTerminationCommandInput - {@link PutVoiceConnectorTerminationCommandInput}
48
+ * @returns {@link PutVoiceConnectorTerminationCommandOutput}
49
+ * @see {@link PutVoiceConnectorTerminationCommandInput} for command's `input` shape.
50
+ * @see {@link PutVoiceConnectorTerminationCommandOutput} for command's `response` shape.
51
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You don't have the permissions needed to run this action.</p>
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The input parameters don't match the service's restrictions.</p>
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ * <p>The client is permanently forbidden from making the request.</p>
61
+ *
62
+ * @throws {@link NotFoundException} (client fault)
63
+ * <p>The requested resource couldn't be found.</p>
64
+ *
65
+ * @throws {@link ServiceFailureException} (server fault)
66
+ * <p>The service encountered an unexpected error.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The service is currently unavailable.</p>
70
+ *
71
+ * @throws {@link ThrottledClientException} (client fault)
72
+ * <p>The number of customer requests exceeds the request rate limit.</p>
73
+ *
74
+ * @throws {@link UnauthorizedClientException} (client fault)
75
+ * <p>The client isn't authorized to request a resource.</p>
76
+ *
77
+ *
78
+ */
20
79
  export declare class PutVoiceConnectorTerminationCommand extends $Command<PutVoiceConnectorTerminationCommandInput, PutVoiceConnectorTerminationCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
80
  readonly input: PutVoiceConnectorTerminationCommandInput;
22
81
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,57 @@ export interface PutVoiceConnectorTerminationCredentialsCommandInput extends Put
17
17
  */
18
18
  export interface PutVoiceConnectorTerminationCredentialsCommandOutput extends __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Updates a Voice Connector's termination credentials.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, PutVoiceConnectorTerminationCredentialsCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, PutVoiceConnectorTerminationCredentialsCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // PutVoiceConnectorTerminationCredentialsRequest
30
+ * VoiceConnectorId: "STRING_VALUE", // required
31
+ * Credentials: [ // CredentialList
32
+ * { // Credential
33
+ * Username: "STRING_VALUE",
34
+ * Password: "STRING_VALUE",
35
+ * },
36
+ * ],
37
+ * };
38
+ * const command = new PutVoiceConnectorTerminationCredentialsCommand(input);
39
+ * const response = await client.send(command);
40
+ * ```
41
+ *
42
+ * @param PutVoiceConnectorTerminationCredentialsCommandInput - {@link PutVoiceConnectorTerminationCredentialsCommandInput}
43
+ * @returns {@link PutVoiceConnectorTerminationCredentialsCommandOutput}
44
+ * @see {@link PutVoiceConnectorTerminationCredentialsCommandInput} for command's `input` shape.
45
+ * @see {@link PutVoiceConnectorTerminationCredentialsCommandOutput} for command's `response` shape.
46
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
47
+ *
48
+ * @throws {@link BadRequestException} (client fault)
49
+ * <p>The input parameters don't match the service's restrictions.</p>
50
+ *
51
+ * @throws {@link ForbiddenException} (client fault)
52
+ * <p>The client is permanently forbidden from making the request.</p>
53
+ *
54
+ * @throws {@link NotFoundException} (client fault)
55
+ * <p>The requested resource couldn't be found.</p>
56
+ *
57
+ * @throws {@link ServiceFailureException} (server fault)
58
+ * <p>The service encountered an unexpected error.</p>
59
+ *
60
+ * @throws {@link ServiceUnavailableException} (server fault)
61
+ * <p>The service is currently unavailable.</p>
62
+ *
63
+ * @throws {@link ThrottledClientException} (client fault)
64
+ * <p>The number of customer requests exceeds the request rate limit.</p>
65
+ *
66
+ * @throws {@link UnauthorizedClientException} (client fault)
67
+ * <p>The client isn't authorized to request a resource.</p>
68
+ *
69
+ *
70
+ */
20
71
  export declare class PutVoiceConnectorTerminationCredentialsCommand extends $Command<PutVoiceConnectorTerminationCredentialsCommandInput, PutVoiceConnectorTerminationCredentialsCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
72
  readonly input: PutVoiceConnectorTerminationCredentialsCommandInput;
22
73
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,54 @@ export interface RestorePhoneNumberCommandInput extends RestorePhoneNumberReques
17
17
  */
18
18
  export interface RestorePhoneNumberCommandOutput extends RestorePhoneNumberResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Restores a deleted phone number.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, RestorePhoneNumberCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, RestorePhoneNumberCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // RestorePhoneNumberRequest
30
+ * PhoneNumberId: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new RestorePhoneNumberCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @param RestorePhoneNumberCommandInput - {@link RestorePhoneNumberCommandInput}
37
+ * @returns {@link RestorePhoneNumberCommandOutput}
38
+ * @see {@link RestorePhoneNumberCommandInput} for command's `input` shape.
39
+ * @see {@link RestorePhoneNumberCommandOutput} for command's `response` shape.
40
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
41
+ *
42
+ * @throws {@link BadRequestException} (client fault)
43
+ * <p>The input parameters don't match the service's restrictions.</p>
44
+ *
45
+ * @throws {@link ForbiddenException} (client fault)
46
+ * <p>The client is permanently forbidden from making the request.</p>
47
+ *
48
+ * @throws {@link NotFoundException} (client fault)
49
+ * <p>The requested resource couldn't be found.</p>
50
+ *
51
+ * @throws {@link ResourceLimitExceededException} (client fault)
52
+ * <p>The request exceeds the resource limit.</p>
53
+ *
54
+ * @throws {@link ServiceFailureException} (server fault)
55
+ * <p>The service encountered an unexpected error.</p>
56
+ *
57
+ * @throws {@link ServiceUnavailableException} (server fault)
58
+ * <p>The service is currently unavailable.</p>
59
+ *
60
+ * @throws {@link ThrottledClientException} (client fault)
61
+ * <p>The number of customer requests exceeds the request rate limit.</p>
62
+ *
63
+ * @throws {@link UnauthorizedClientException} (client fault)
64
+ * <p>The client isn't authorized to request a resource.</p>
65
+ *
66
+ *
67
+ */
20
68
  export declare class RestorePhoneNumberCommand extends $Command<RestorePhoneNumberCommandInput, RestorePhoneNumberCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
69
  readonly input: RestorePhoneNumberCommandInput;
22
70
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,58 @@ export interface SearchAvailablePhoneNumbersCommandInput extends SearchAvailable
17
17
  */
18
18
  export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailablePhoneNumbersResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Searches the provisioned phone numbers in an organization.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, SearchAvailablePhoneNumbersCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, SearchAvailablePhoneNumbersCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // SearchAvailablePhoneNumbersRequest
30
+ * AreaCode: "STRING_VALUE",
31
+ * City: "STRING_VALUE",
32
+ * Country: "STRING_VALUE",
33
+ * State: "STRING_VALUE",
34
+ * TollFreePrefix: "STRING_VALUE",
35
+ * PhoneNumberType: "Local" || "TollFree",
36
+ * MaxResults: Number("int"),
37
+ * NextToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new SearchAvailablePhoneNumbersCommand(input);
40
+ * const response = await client.send(command);
41
+ * ```
42
+ *
43
+ * @param SearchAvailablePhoneNumbersCommandInput - {@link SearchAvailablePhoneNumbersCommandInput}
44
+ * @returns {@link SearchAvailablePhoneNumbersCommandOutput}
45
+ * @see {@link SearchAvailablePhoneNumbersCommandInput} for command's `input` shape.
46
+ * @see {@link SearchAvailablePhoneNumbersCommandOutput} for command's `response` shape.
47
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You don't have the permissions needed to run this action.</p>
51
+ *
52
+ * @throws {@link BadRequestException} (client fault)
53
+ * <p>The input parameters don't match the service's restrictions.</p>
54
+ *
55
+ * @throws {@link ForbiddenException} (client fault)
56
+ * <p>The client is permanently forbidden from making the request.</p>
57
+ *
58
+ * @throws {@link ServiceFailureException} (server fault)
59
+ * <p>The service encountered an unexpected error.</p>
60
+ *
61
+ * @throws {@link ServiceUnavailableException} (server fault)
62
+ * <p>The service is currently unavailable.</p>
63
+ *
64
+ * @throws {@link ThrottledClientException} (client fault)
65
+ * <p>The number of customer requests exceeds the request rate limit.</p>
66
+ *
67
+ * @throws {@link UnauthorizedClientException} (client fault)
68
+ * <p>The client isn't authorized to request a resource.</p>
69
+ *
70
+ *
71
+ */
20
72
  export declare class SearchAvailablePhoneNumbersCommand extends $Command<SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
73
  readonly input: SearchAvailablePhoneNumbersCommandInput;
22
74
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,73 @@ export interface StartSpeakerSearchTaskCommandInput extends StartSpeakerSearchTa
17
17
  */
18
18
  export interface StartSpeakerSearchTaskCommandOutput extends StartSpeakerSearchTaskResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Starts a speaker search task.</p>
23
+ * <important>
24
+ * <p>Before starting any speaker search tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the
25
+ * <a href="https://aws.amazon.com/service-terms/">AWS service terms</a> for the Amazon Chime SDK.</p>
26
+ * </important>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ChimeSDKVoiceClient, StartSpeakerSearchTaskCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
31
+ * // const { ChimeSDKVoiceClient, StartSpeakerSearchTaskCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
32
+ * const client = new ChimeSDKVoiceClient(config);
33
+ * const input = { // StartSpeakerSearchTaskRequest
34
+ * VoiceConnectorId: "STRING_VALUE", // required
35
+ * TransactionId: "STRING_VALUE", // required
36
+ * VoiceProfileDomainId: "STRING_VALUE", // required
37
+ * ClientRequestToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new StartSpeakerSearchTaskCommand(input);
40
+ * const response = await client.send(command);
41
+ * ```
42
+ *
43
+ * @param StartSpeakerSearchTaskCommandInput - {@link StartSpeakerSearchTaskCommandInput}
44
+ * @returns {@link StartSpeakerSearchTaskCommandOutput}
45
+ * @see {@link StartSpeakerSearchTaskCommandInput} for command's `input` shape.
46
+ * @see {@link StartSpeakerSearchTaskCommandOutput} for command's `response` shape.
47
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You don't have the permissions needed to run this action.</p>
51
+ *
52
+ * @throws {@link BadRequestException} (client fault)
53
+ * <p>The input parameters don't match the service's restrictions.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>Multiple instances of the same request were made simultaneously.</p>
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ * <p>The client is permanently forbidden from making the request.</p>
60
+ *
61
+ * @throws {@link GoneException} (client fault)
62
+ * <p>Access to the target resource is no longer available at the origin server. This condition is likely to be permanent.</p>
63
+ *
64
+ * @throws {@link NotFoundException} (client fault)
65
+ * <p>The requested resource couldn't be found.</p>
66
+ *
67
+ * @throws {@link ResourceLimitExceededException} (client fault)
68
+ * <p>The request exceeds the resource limit.</p>
69
+ *
70
+ * @throws {@link ServiceFailureException} (server fault)
71
+ * <p>The service encountered an unexpected error.</p>
72
+ *
73
+ * @throws {@link ServiceUnavailableException} (server fault)
74
+ * <p>The service is currently unavailable.</p>
75
+ *
76
+ * @throws {@link ThrottledClientException} (client fault)
77
+ * <p>The number of customer requests exceeds the request rate limit.</p>
78
+ *
79
+ * @throws {@link UnauthorizedClientException} (client fault)
80
+ * <p>The client isn't authorized to request a resource.</p>
81
+ *
82
+ * @throws {@link UnprocessableEntityException} (client fault)
83
+ * <p>A well-formed request couldn't be followed due to semantic errors.</p>
84
+ *
85
+ *
86
+ */
20
87
  export declare class StartSpeakerSearchTaskCommand extends $Command<StartSpeakerSearchTaskCommandInput, StartSpeakerSearchTaskCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
88
  readonly input: StartSpeakerSearchTaskCommandInput;
22
89
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,75 @@ export interface StartVoiceToneAnalysisTaskCommandInput extends StartVoiceToneAn
17
17
  */
18
18
  export interface StartVoiceToneAnalysisTaskCommandOutput extends StartVoiceToneAnalysisTaskResponse, __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Starts a voice tone analysis task. For more information about voice tone analysis, see
23
+ * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/pstn-voice-analytics.html">Using Amazon Chime SDK voice analytics</a>
24
+ * in the <i>Amazon Chime SDK Developer Guide</i>.</p>
25
+ * <important>
26
+ * <p>Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the
27
+ * <a href="https://aws.amazon.com/service-terms/">AWS service terms</a> for the Amazon Chime SDK.</p>
28
+ * </important>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { ChimeSDKVoiceClient, StartVoiceToneAnalysisTaskCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
33
+ * // const { ChimeSDKVoiceClient, StartVoiceToneAnalysisTaskCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
34
+ * const client = new ChimeSDKVoiceClient(config);
35
+ * const input = { // StartVoiceToneAnalysisTaskRequest
36
+ * VoiceConnectorId: "STRING_VALUE", // required
37
+ * TransactionId: "STRING_VALUE", // required
38
+ * LanguageCode: "en-US", // required
39
+ * ClientRequestToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new StartVoiceToneAnalysisTaskCommand(input);
42
+ * const response = await client.send(command);
43
+ * ```
44
+ *
45
+ * @param StartVoiceToneAnalysisTaskCommandInput - {@link StartVoiceToneAnalysisTaskCommandInput}
46
+ * @returns {@link StartVoiceToneAnalysisTaskCommandOutput}
47
+ * @see {@link StartVoiceToneAnalysisTaskCommandInput} for command's `input` shape.
48
+ * @see {@link StartVoiceToneAnalysisTaskCommandOutput} for command's `response` shape.
49
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You don't have the permissions needed to run this action.</p>
53
+ *
54
+ * @throws {@link BadRequestException} (client fault)
55
+ * <p>The input parameters don't match the service's restrictions.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>Multiple instances of the same request were made simultaneously.</p>
59
+ *
60
+ * @throws {@link ForbiddenException} (client fault)
61
+ * <p>The client is permanently forbidden from making the request.</p>
62
+ *
63
+ * @throws {@link GoneException} (client fault)
64
+ * <p>Access to the target resource is no longer available at the origin server. This condition is likely to be permanent.</p>
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * <p>The requested resource couldn't be found.</p>
68
+ *
69
+ * @throws {@link ResourceLimitExceededException} (client fault)
70
+ * <p>The request exceeds the resource limit.</p>
71
+ *
72
+ * @throws {@link ServiceFailureException} (server fault)
73
+ * <p>The service encountered an unexpected error.</p>
74
+ *
75
+ * @throws {@link ServiceUnavailableException} (server fault)
76
+ * <p>The service is currently unavailable.</p>
77
+ *
78
+ * @throws {@link ThrottledClientException} (client fault)
79
+ * <p>The number of customer requests exceeds the request rate limit.</p>
80
+ *
81
+ * @throws {@link UnauthorizedClientException} (client fault)
82
+ * <p>The client isn't authorized to request a resource.</p>
83
+ *
84
+ * @throws {@link UnprocessableEntityException} (client fault)
85
+ * <p>A well-formed request couldn't be followed due to semantic errors.</p>
86
+ *
87
+ *
88
+ */
20
89
  export declare class StartVoiceToneAnalysisTaskCommand extends $Command<StartVoiceToneAnalysisTaskCommandInput, StartVoiceToneAnalysisTaskCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
90
  readonly input: StartVoiceToneAnalysisTaskCommandInput;
22
91
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,61 @@ export interface StopSpeakerSearchTaskCommandInput extends StopSpeakerSearchTask
17
17
  */
18
18
  export interface StopSpeakerSearchTaskCommandOutput extends __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Stops a speaker search task.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, StopSpeakerSearchTaskCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, StopSpeakerSearchTaskCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // StopSpeakerSearchTaskRequest
30
+ * VoiceConnectorId: "STRING_VALUE", // required
31
+ * SpeakerSearchTaskId: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new StopSpeakerSearchTaskCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param StopSpeakerSearchTaskCommandInput - {@link StopSpeakerSearchTaskCommandInput}
38
+ * @returns {@link StopSpeakerSearchTaskCommandOutput}
39
+ * @see {@link StopSpeakerSearchTaskCommandInput} for command's `input` shape.
40
+ * @see {@link StopSpeakerSearchTaskCommandOutput} for command's `response` shape.
41
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have the permissions needed to run this action.</p>
45
+ *
46
+ * @throws {@link BadRequestException} (client fault)
47
+ * <p>The input parameters don't match the service's restrictions.</p>
48
+ *
49
+ * @throws {@link ConflictException} (client fault)
50
+ * <p>Multiple instances of the same request were made simultaneously.</p>
51
+ *
52
+ * @throws {@link ForbiddenException} (client fault)
53
+ * <p>The client is permanently forbidden from making the request.</p>
54
+ *
55
+ * @throws {@link NotFoundException} (client fault)
56
+ * <p>The requested resource couldn't be found.</p>
57
+ *
58
+ * @throws {@link ServiceFailureException} (server fault)
59
+ * <p>The service encountered an unexpected error.</p>
60
+ *
61
+ * @throws {@link ServiceUnavailableException} (server fault)
62
+ * <p>The service is currently unavailable.</p>
63
+ *
64
+ * @throws {@link ThrottledClientException} (client fault)
65
+ * <p>The number of customer requests exceeds the request rate limit.</p>
66
+ *
67
+ * @throws {@link UnauthorizedClientException} (client fault)
68
+ * <p>The client isn't authorized to request a resource.</p>
69
+ *
70
+ * @throws {@link UnprocessableEntityException} (client fault)
71
+ * <p>A well-formed request couldn't be followed due to semantic errors.</p>
72
+ *
73
+ *
74
+ */
20
75
  export declare class StopSpeakerSearchTaskCommand extends $Command<StopSpeakerSearchTaskCommandInput, StopSpeakerSearchTaskCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
76
  readonly input: StopSpeakerSearchTaskCommandInput;
22
77
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -17,6 +17,61 @@ export interface StopVoiceToneAnalysisTaskCommandInput extends StopVoiceToneAnal
17
17
  */
18
18
  export interface StopVoiceToneAnalysisTaskCommandOutput extends __MetadataBearer {
19
19
  }
20
+ /**
21
+ * @public
22
+ * <p>Stops a voice tone analysis task.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ChimeSDKVoiceClient, StopVoiceToneAnalysisTaskCommand } from "@aws-sdk/client-chime-sdk-voice"; // ES Modules import
27
+ * // const { ChimeSDKVoiceClient, StopVoiceToneAnalysisTaskCommand } = require("@aws-sdk/client-chime-sdk-voice"); // CommonJS import
28
+ * const client = new ChimeSDKVoiceClient(config);
29
+ * const input = { // StopVoiceToneAnalysisTaskRequest
30
+ * VoiceConnectorId: "STRING_VALUE", // required
31
+ * VoiceToneAnalysisTaskId: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new StopVoiceToneAnalysisTaskCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param StopVoiceToneAnalysisTaskCommandInput - {@link StopVoiceToneAnalysisTaskCommandInput}
38
+ * @returns {@link StopVoiceToneAnalysisTaskCommandOutput}
39
+ * @see {@link StopVoiceToneAnalysisTaskCommandInput} for command's `input` shape.
40
+ * @see {@link StopVoiceToneAnalysisTaskCommandOutput} for command's `response` shape.
41
+ * @see {@link ChimeSDKVoiceClientResolvedConfig | config} for ChimeSDKVoiceClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have the permissions needed to run this action.</p>
45
+ *
46
+ * @throws {@link BadRequestException} (client fault)
47
+ * <p>The input parameters don't match the service's restrictions.</p>
48
+ *
49
+ * @throws {@link ConflictException} (client fault)
50
+ * <p>Multiple instances of the same request were made simultaneously.</p>
51
+ *
52
+ * @throws {@link ForbiddenException} (client fault)
53
+ * <p>The client is permanently forbidden from making the request.</p>
54
+ *
55
+ * @throws {@link NotFoundException} (client fault)
56
+ * <p>The requested resource couldn't be found.</p>
57
+ *
58
+ * @throws {@link ServiceFailureException} (server fault)
59
+ * <p>The service encountered an unexpected error.</p>
60
+ *
61
+ * @throws {@link ServiceUnavailableException} (server fault)
62
+ * <p>The service is currently unavailable.</p>
63
+ *
64
+ * @throws {@link ThrottledClientException} (client fault)
65
+ * <p>The number of customer requests exceeds the request rate limit.</p>
66
+ *
67
+ * @throws {@link UnauthorizedClientException} (client fault)
68
+ * <p>The client isn't authorized to request a resource.</p>
69
+ *
70
+ * @throws {@link UnprocessableEntityException} (client fault)
71
+ * <p>A well-formed request couldn't be followed due to semantic errors.</p>
72
+ *
73
+ *
74
+ */
20
75
  export declare class StopVoiceToneAnalysisTaskCommand extends $Command<StopVoiceToneAnalysisTaskCommandInput, StopVoiceToneAnalysisTaskCommandOutput, ChimeSDKVoiceClientResolvedConfig> {
21
76
  readonly input: StopVoiceToneAnalysisTaskCommandInput;
22
77
  static getEndpointParameterInstructions(): EndpointParameterInstructions;