@aws-sdk/client-connect 3.437.0 → 3.439.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.
package/README.md CHANGED
@@ -12,9 +12,9 @@ manage a customer contact center and provide reliable customer engagement at any
12
12
  contact routing. You can also resolve customer issues more efficiently by getting customers in
13
13
  touch with the appropriate agents.</p>
14
14
  <p>There are limits to the number of Amazon Connect resources that you can create. There
15
- are also limits to the number of requests that you can make per second. For more information,
16
- seeP98941055 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service
17
- Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
15
+ are also limits to the number of requests that you can make per second. For more information, see
16
+ <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
17
+ Guide</i>.</p>
18
18
  <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
19
19
  a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
20
20
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const ruleset_1 = require("./ruleset");
6
6
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
7
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
package/dist-cjs/index.js CHANGED
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./Connect"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
9
  tslib_1.__exportStar(require("./models"), exports);
10
+ require("@aws-sdk/util-endpoints");
10
11
  var ConnectServiceException_1 = require("./models/ConnectServiceException");
11
12
  Object.defineProperty(exports, "ConnectServiceException", { enumerable: true, get: function () { return ConnectServiceException_1.ConnectServiceException; } });
@@ -304,6 +304,7 @@ const se_ClaimPhoneNumberCommand = async (input, context) => {
304
304
  let body;
305
305
  body = JSON.stringify((0, smithy_client_1.take)(input, {
306
306
  ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
307
+ InstanceId: [],
307
308
  PhoneNumber: [],
308
309
  PhoneNumberDescription: [],
309
310
  Tags: (_) => (0, smithy_client_1._json)(_),
@@ -2632,6 +2633,7 @@ const se_ListPhoneNumbersV2Command = async (input, context) => {
2632
2633
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/list";
2633
2634
  let body;
2634
2635
  body = JSON.stringify((0, smithy_client_1.take)(input, {
2636
+ InstanceId: [],
2635
2637
  MaxResults: [],
2636
2638
  NextToken: [],
2637
2639
  PhoneNumberCountryCodes: (_) => (0, smithy_client_1._json)(_),
@@ -3232,6 +3234,7 @@ const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
3232
3234
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/search-available";
3233
3235
  let body;
3234
3236
  body = JSON.stringify((0, smithy_client_1.take)(input, {
3237
+ InstanceId: [],
3235
3238
  MaxResults: [],
3236
3239
  NextToken: [],
3237
3240
  PhoneNumberCountryCode: [],
@@ -4220,6 +4223,7 @@ const se_UpdatePhoneNumberCommand = async (input, context) => {
4220
4223
  let body;
4221
4224
  body = JSON.stringify((0, smithy_client_1.take)(input, {
4222
4225
  ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
4226
+ InstanceId: [],
4223
4227
  TargetArn: [],
4224
4228
  }));
4225
4229
  return new protocol_http_1.HttpRequest({
@@ -1,4 +1,4 @@
1
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
2
  import { ruleSet } from "./ruleset";
3
3
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
4
  return resolveEndpoint(ruleSet, {
package/dist-es/index.js CHANGED
@@ -3,4 +3,5 @@ export * from "./Connect";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
+ import "@aws-sdk/util-endpoints";
6
7
  export { ConnectServiceException } from "./models/ConnectServiceException";
@@ -281,6 +281,7 @@ export const se_ClaimPhoneNumberCommand = async (input, context) => {
281
281
  let body;
282
282
  body = JSON.stringify(take(input, {
283
283
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
284
+ InstanceId: [],
284
285
  PhoneNumber: [],
285
286
  PhoneNumberDescription: [],
286
287
  Tags: (_) => _json(_),
@@ -2503,6 +2504,7 @@ export const se_ListPhoneNumbersV2Command = async (input, context) => {
2503
2504
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/list";
2504
2505
  let body;
2505
2506
  body = JSON.stringify(take(input, {
2507
+ InstanceId: [],
2506
2508
  MaxResults: [],
2507
2509
  NextToken: [],
2508
2510
  PhoneNumberCountryCodes: (_) => _json(_),
@@ -3077,6 +3079,7 @@ export const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
3077
3079
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/search-available";
3078
3080
  let body;
3079
3081
  body = JSON.stringify(take(input, {
3082
+ InstanceId: [],
3080
3083
  MaxResults: [],
3081
3084
  NextToken: [],
3082
3085
  PhoneNumberCountryCode: [],
@@ -4026,6 +4029,7 @@ export const se_UpdatePhoneNumberCommand = async (input, context) => {
4026
4029
  let body;
4027
4030
  body = JSON.stringify(take(input, {
4028
4031
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
4032
+ InstanceId: [],
4029
4033
  TargetArn: [],
4030
4034
  }));
4031
4035
  return new __HttpRequest({
@@ -1487,9 +1487,9 @@ export interface Connect {
1487
1487
  * contact routing. You can also resolve customer issues more efficiently by getting customers in
1488
1488
  * touch with the appropriate agents.</p>
1489
1489
  * <p>There are limits to the number of Amazon Connect resources that you can create. There
1490
- * are also limits to the number of requests that you can make per second. For more information,
1491
- * seeP98941055 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service
1492
- * Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
1490
+ * are also limits to the number of requests that you can make per second. For more information, see
1491
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
1492
+ * Guide</i>.</p>
1493
1493
  * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
1494
1494
  * a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
1495
1495
  */
@@ -369,9 +369,9 @@ export interface ConnectClientResolvedConfig extends ConnectClientResolvedConfig
369
369
  * contact routing. You can also resolve customer issues more efficiently by getting customers in
370
370
  * touch with the appropriate agents.</p>
371
371
  * <p>There are limits to the number of Amazon Connect resources that you can create. There
372
- * are also limits to the number of requests that you can make per second. For more information,
373
- * seeP98941055 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service
374
- * Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
372
+ * are also limits to the number of requests that you can make per second. For more information, see
373
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
374
+ * Guide</i>.</p>
375
375
  * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
376
376
  * a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
377
377
  */
@@ -54,7 +54,8 @@ export interface ClaimPhoneNumberCommandOutput extends ClaimPhoneNumberResponse,
54
54
  * // const { ConnectClient, ClaimPhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
55
55
  * const client = new ConnectClient(config);
56
56
  * const input = { // ClaimPhoneNumberRequest
57
- * TargetArn: "STRING_VALUE", // required
57
+ * TargetArn: "STRING_VALUE",
58
+ * InstanceId: "STRING_VALUE",
58
59
  * PhoneNumber: "STRING_VALUE", // required
59
60
  * PhoneNumberDescription: "STRING_VALUE",
60
61
  * Tags: { // TagMap
@@ -55,6 +55,7 @@ export interface DescribePhoneNumberCommandOutput extends DescribePhoneNumberRes
55
55
  * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
56
56
  * // PhoneNumberDescription: "STRING_VALUE",
57
57
  * // TargetArn: "STRING_VALUE",
58
+ * // InstanceId: "STRING_VALUE",
58
59
  * // Tags: { // TagMap
59
60
  * // "<keys>": "STRING_VALUE",
60
61
  * // },
@@ -49,6 +49,7 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
49
49
  * const client = new ConnectClient(config);
50
50
  * const input = { // ListPhoneNumbersV2Request
51
51
  * TargetArn: "STRING_VALUE",
52
+ * InstanceId: "STRING_VALUE",
52
53
  * MaxResults: Number("int"),
53
54
  * NextToken: "STRING_VALUE",
54
55
  * PhoneNumberCountryCodes: [ // PhoneNumberCountryCodes
@@ -71,6 +72,7 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
71
72
  * // PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
72
73
  * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
73
74
  * // TargetArn: "STRING_VALUE",
75
+ * // InstanceId: "STRING_VALUE",
74
76
  * // },
75
77
  * // ],
76
78
  * // };
@@ -23,7 +23,7 @@ export interface ListSecurityProfileApplicationsCommandOutput extends ListSecuri
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns a list of third party applications in a specific security profile.</p>
26
+ * <p>Returns a list of third-party applications in a specific security profile.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -24,7 +24,9 @@ export interface ResumeContactRecordingCommandOutput extends ResumeContactRecord
24
24
  /**
25
25
  * @public
26
26
  * <p>When a contact is being recorded, and the recording has been suspended using
27
- * SuspendContactRecording, this API resumes recording the call or screen.</p>
27
+ * SuspendContactRecording, this API resumes recording whatever recording is selected in the flow
28
+ * configuration: call, screen, or both. If only call recording or only screen recording is enabled,
29
+ * then it would resume.</p>
28
30
  * <p>Voice and screen recordings are supported.</p>
29
31
  * @example
30
32
  * Use a bare-bones client and the command you need to make an API call.
@@ -33,7 +33,8 @@ export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailabl
33
33
  * // const { ConnectClient, SearchAvailablePhoneNumbersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
34
  * const client = new ConnectClient(config);
35
35
  * const input = { // SearchAvailablePhoneNumbersRequest
36
- * TargetArn: "STRING_VALUE", // required
36
+ * TargetArn: "STRING_VALUE",
37
+ * InstanceId: "STRING_VALUE",
37
38
  * PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required
38
39
  * PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID", // required
39
40
  * PhoneNumberPrefix: "STRING_VALUE",
@@ -23,9 +23,11 @@ export interface SuspendContactRecordingCommandOutput extends SuspendContactReco
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>When a contact is being recorded, this API suspends recording the call or screen. For
27
- * example, you might suspend the call or screen recording while collecting sensitive information,
28
- * such as a credit card number. Then use ResumeContactRecording to restart recording.</p>
26
+ * <p>When a contact is being recorded, this API suspends recording whatever is selected in the
27
+ * flow configuration: call, screen, or both. If only call recording or only screen recording is
28
+ * enabled, then it would be suspended. For example, you might suspend the screen
29
+ * recording while collecting sensitive information, such as a credit card number. Then use
30
+ * ResumeContactRecording to restart recording the screen.</p>
29
31
  * <p>The period of time that the recording is suspended is filled with silence in the final
30
32
  * recording.</p>
31
33
  * <p>Voice and screen recordings are supported.</p>
@@ -42,7 +42,8 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
42
42
  * const client = new ConnectClient(config);
43
43
  * const input = { // UpdatePhoneNumberRequest
44
44
  * PhoneNumberId: "STRING_VALUE", // required
45
- * TargetArn: "STRING_VALUE", // required
45
+ * TargetArn: "STRING_VALUE",
46
+ * InstanceId: "STRING_VALUE",
46
47
  * ClientToken: "STRING_VALUE",
47
48
  * };
48
49
  * const command = new UpdatePhoneNumberCommand(input);
@@ -5,9 +5,9 @@
5
5
  * contact routing. You can also resolve customer issues more efficiently by getting customers in
6
6
  * touch with the appropriate agents.</p>
7
7
  * <p>There are limits to the number of Amazon Connect resources that you can create. There
8
- * are also limits to the number of requests that you can make per second. For more information,
9
- * seeP98941055 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service
10
- * Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
8
+ * are also limits to the number of requests that you can make per second. For more information, see
9
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
10
+ * Guide</i>.</p>
11
11
  * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
12
12
  * a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
13
13
  *
@@ -19,4 +19,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
19
19
  export * from "./commands";
20
20
  export * from "./pagination";
21
21
  export * from "./models";
22
+ import "@aws-sdk/util-endpoints";
22
23
  export { ConnectServiceException } from "./models/ConnectServiceException";
@@ -1012,9 +1012,16 @@ export interface AssociateTrafficDistributionGroupUserResponse {
1012
1012
  export interface ClaimPhoneNumberRequest {
1013
1013
  /**
1014
1014
  * @public
1015
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.</p>
1015
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
1016
1016
  */
1017
- TargetArn: string | undefined;
1017
+ TargetArn?: string;
1018
+ /**
1019
+ * @public
1020
+ * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
1021
+ * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
1022
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
1023
+ */
1024
+ InstanceId?: string;
1018
1025
  /**
1019
1026
  * @public
1020
1027
  * <p>The phone number you want to claim. Phone numbers are formatted <code>[+] [country code]
@@ -2782,7 +2789,7 @@ export interface CreateRuleResponse {
2782
2789
  /**
2783
2790
  * @public
2784
2791
  * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
2785
- * <p>A third party application's metadata.</p>
2792
+ * <p>A third-party application's metadata.</p>
2786
2793
  */
2787
2794
  export interface Application {
2788
2795
  /**
@@ -2842,7 +2849,7 @@ export interface CreateSecurityProfileRequest {
2842
2849
  /**
2843
2850
  * @public
2844
2851
  * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
2845
- * <p>A list of third party applications that the security profile will give access to.</p>
2852
+ * <p>A list of third-party applications that the security profile will give access to.</p>
2846
2853
  */
2847
2854
  Applications?: Application[];
2848
2855
  }
@@ -5470,9 +5477,16 @@ export interface ClaimedPhoneNumberSummary {
5470
5477
  PhoneNumberDescription?: string;
5471
5478
  /**
5472
5479
  * @public
5473
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.</p>
5480
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.</p>
5474
5481
  */
5475
5482
  TargetArn?: string;
5483
+ /**
5484
+ * @public
5485
+ * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
5486
+ * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
5487
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
5488
+ */
5489
+ InstanceId?: string;
5476
5490
  /**
5477
5491
  * @public
5478
5492
  * <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
@@ -1422,10 +1422,10 @@ export interface IntervalDetails {
1422
1422
  * @public
1423
1423
  * <p>
1424
1424
  * <code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid
1425
- * <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> |
1426
- * <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>. </p>
1425
+ * <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> |
1426
+ * <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>. </p>
1427
1427
  * <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
1428
- * <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect
1428
+ * <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect
1429
1429
  * returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By
1430
1430
  * default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period. </p>
1431
1431
  * <p>The following list describes restrictions on <code>StartTime</code> and <code>EndTime</code>
@@ -1434,12 +1434,12 @@ export interface IntervalDetails {
1434
1434
  * <li>
1435
1435
  * <p>
1436
1436
  * <code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and
1437
- * <code>EndTime</code> must be less than 3 days.</p>
1437
+ * <code>EndTime</code> must be less than 3 days.</p>
1438
1438
  * </li>
1439
1439
  * <li>
1440
1440
  * <p>
1441
1441
  * <code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and
1442
- * <code>EndTime</code> must be less than 3 days.</p>
1442
+ * <code>EndTime</code> must be less than 3 days.</p>
1443
1443
  * </li>
1444
1444
  * <li>
1445
1445
  * <p>
@@ -2036,7 +2036,7 @@ export interface MetricInterval {
2036
2036
  * @public
2037
2037
  * <p>The timestamp, in UNIX Epoch time format. End time is based on the interval period selected.
2038
2038
  * For example, If <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
2039
- * <code>StartTime</code> and <code>EndTime</code> in the API request differs by 1 day, then 48
2039
+ * <code>StartTime</code> and <code>EndTime</code> in the API request differs by 1 day, then 48
2040
2040
  * results are returned in the response. Each result is aggregated by the 30 minutes period, with
2041
2041
  * each <code>StartTime</code> and <code>EndTime</code> differing by 30 minutes. </p>
2042
2042
  */
@@ -3676,10 +3676,20 @@ export interface ListPhoneNumbersResponse {
3676
3676
  export interface ListPhoneNumbersV2Request {
3677
3677
  /**
3678
3678
  * @public
3679
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to. If <code>TargetArn</code> input is not provided, this API lists numbers claimed
3680
- * to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.</p>
3679
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. If both <code>TargetArn</code> and <code>InstanceId</code> input are not
3680
+ * provided, this API lists numbers claimed to all the Amazon Connect instances belonging to
3681
+ * your account in the same Amazon Web Services Region as the request.</p>
3681
3682
  */
3682
3683
  TargetArn?: string;
3684
+ /**
3685
+ * @public
3686
+ * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
3687
+ * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
3688
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance. If both <code>TargetArn</code> and <code>InstanceId</code> are not provided, this API lists numbers
3689
+ * claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as
3690
+ * the request.</p>
3691
+ */
3692
+ InstanceId?: string;
3683
3693
  /**
3684
3694
  * @public
3685
3695
  * <p>The maximum number of results to return per page.</p>
@@ -3740,9 +3750,16 @@ export interface ListPhoneNumbersSummary {
3740
3750
  PhoneNumberType?: PhoneNumberType;
3741
3751
  /**
3742
3752
  * @public
3743
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.</p>
3753
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.</p>
3744
3754
  */
3745
3755
  TargetArn?: string;
3756
+ /**
3757
+ * @public
3758
+ * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
3759
+ * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
3760
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
3761
+ */
3762
+ InstanceId?: string;
3746
3763
  }
3747
3764
  /**
3748
3765
  * @public
@@ -4299,18 +4316,18 @@ export interface ListSecurityKeysResponse {
4299
4316
  export interface ListSecurityProfileApplicationsRequest {
4300
4317
  /**
4301
4318
  * @public
4302
- * <p>The security profile identifier.</p>
4319
+ * <p>The identifier for the security profle.</p>
4303
4320
  */
4304
4321
  SecurityProfileId: string | undefined;
4305
4322
  /**
4306
4323
  * @public
4307
- * <p>The instance identifier.</p>
4324
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
4308
4325
  */
4309
4326
  InstanceId: string | undefined;
4310
4327
  /**
4311
4328
  * @public
4312
- * <p>The token for the next set of results. The next set of results can be retrieved by using the
4313
- * token value returned in the previous response when making the next request.</p>
4329
+ * <p>The token for the next set of results. Use the value returned in the previous
4330
+ * response in the next request to retrieve the next set of results.</p>
4314
4331
  */
4315
4332
  NextToken?: string;
4316
4333
  /**
@@ -4326,13 +4343,12 @@ export interface ListSecurityProfileApplicationsResponse {
4326
4343
  /**
4327
4344
  * @public
4328
4345
  * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
4329
- * <p>A list of the third party application's metadata.</p>
4346
+ * <p>A list of the third-party application's metadata.</p>
4330
4347
  */
4331
4348
  Applications?: Application[];
4332
4349
  /**
4333
4350
  * @public
4334
- * <p>The token for the next set of results. The next set of results can be retrieved by using the
4335
- * token value returned in the previous response when making the next request.</p>
4351
+ * <p>If there are additional results, this is the token for the next set of results.</p>
4336
4352
  */
4337
4353
  NextToken?: string;
4338
4354
  }
@@ -5208,9 +5224,16 @@ export interface ResumeContactRecordingResponse {
5208
5224
  export interface SearchAvailablePhoneNumbersRequest {
5209
5225
  /**
5210
5226
  * @public
5211
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.</p>
5227
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
5212
5228
  */
5213
- TargetArn: string | undefined;
5229
+ TargetArn?: string;
5230
+ /**
5231
+ * @public
5232
+ * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
5233
+ * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
5234
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
5235
+ */
5236
+ InstanceId?: string;
5214
5237
  /**
5215
5238
  * @public
5216
5239
  * <p>The ISO country code.</p>
@@ -66,9 +66,16 @@ export interface UpdatePhoneNumberRequest {
66
66
  PhoneNumberId: string | undefined;
67
67
  /**
68
68
  * @public
69
- * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.</p>
69
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
70
70
  */
71
- TargetArn: string | undefined;
71
+ TargetArn?: string;
72
+ /**
73
+ * @public
74
+ * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
75
+ * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
76
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
77
+ */
78
+ InstanceId?: string;
72
79
  /**
73
80
  * @public
74
81
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
@@ -496,7 +503,7 @@ export interface UpdateSecurityProfileRequest {
496
503
  /**
497
504
  * @public
498
505
  * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
499
- * <p>A list of the third party application's metadata.</p>
506
+ * <p>A list of the third-party application's metadata.</p>
500
507
  */
501
508
  Applications?: Application[];
502
509
  }
@@ -4,4 +4,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export * from "./commands";
5
5
  export * from "./pagination";
6
6
  export * from "./models";
7
+ import "@aws-sdk/util-endpoints";
7
8
  export { ConnectServiceException } from "./models/ConnectServiceException";
@@ -350,7 +350,8 @@ export interface AssociateTrafficDistributionGroupUserRequest {
350
350
  }
351
351
  export interface AssociateTrafficDistributionGroupUserResponse {}
352
352
  export interface ClaimPhoneNumberRequest {
353
- TargetArn: string | undefined;
353
+ TargetArn?: string;
354
+ InstanceId?: string;
354
355
  PhoneNumber: string | undefined;
355
356
  PhoneNumberDescription?: string;
356
357
  Tags?: Record<string, string>;
@@ -1836,6 +1837,7 @@ export interface ClaimedPhoneNumberSummary {
1836
1837
  PhoneNumberType?: PhoneNumberType;
1837
1838
  PhoneNumberDescription?: string;
1838
1839
  TargetArn?: string;
1840
+ InstanceId?: string;
1839
1841
  Tags?: Record<string, string>;
1840
1842
  PhoneNumberStatus?: PhoneNumberStatus;
1841
1843
  }
@@ -850,6 +850,7 @@ export interface ListPhoneNumbersResponse {
850
850
  }
851
851
  export interface ListPhoneNumbersV2Request {
852
852
  TargetArn?: string;
853
+ InstanceId?: string;
853
854
  MaxResults?: number;
854
855
  NextToken?: string;
855
856
  PhoneNumberCountryCodes?: PhoneNumberCountryCode[];
@@ -863,6 +864,7 @@ export interface ListPhoneNumbersSummary {
863
864
  PhoneNumberCountryCode?: PhoneNumberCountryCode;
864
865
  PhoneNumberType?: PhoneNumberType;
865
866
  TargetArn?: string;
867
+ InstanceId?: string;
866
868
  }
867
869
  export interface ListPhoneNumbersV2Response {
868
870
  NextToken?: string;
@@ -1198,7 +1200,8 @@ export interface ResumeContactRecordingRequest {
1198
1200
  }
1199
1201
  export interface ResumeContactRecordingResponse {}
1200
1202
  export interface SearchAvailablePhoneNumbersRequest {
1201
- TargetArn: string | undefined;
1203
+ TargetArn?: string;
1204
+ InstanceId?: string;
1202
1205
  PhoneNumberCountryCode: PhoneNumberCountryCode | undefined;
1203
1206
  PhoneNumberType: PhoneNumberType | undefined;
1204
1207
  PhoneNumberPrefix?: string;
@@ -67,7 +67,8 @@ export interface UpdateParticipantRoleConfigRequest {
67
67
  export interface UpdateParticipantRoleConfigResponse {}
68
68
  export interface UpdatePhoneNumberRequest {
69
69
  PhoneNumberId: string | undefined;
70
- TargetArn: string | undefined;
70
+ TargetArn?: string;
71
+ InstanceId?: string;
71
72
  ClientToken?: string;
72
73
  }
73
74
  export interface UpdatePhoneNumberResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.437.0",
4
+ "version": "3.439.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,17 +21,17 @@
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.437.0",
24
+ "@aws-sdk/client-sts": "3.438.0",
25
25
  "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.437.0",
26
+ "@aws-sdk/credential-provider-node": "3.438.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
30
  "@aws-sdk/middleware-signing": "3.433.0",
31
- "@aws-sdk/middleware-user-agent": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.438.0",
32
32
  "@aws-sdk/region-config-resolver": "3.433.0",
33
33
  "@aws-sdk/types": "3.433.0",
34
- "@aws-sdk/util-endpoints": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.438.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.433.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.437.0",
37
37
  "@smithy/config-resolver": "^2.0.16",
@@ -54,6 +54,7 @@
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.16",
56
56
  "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-endpoints": "^1.0.2",
57
58
  "@smithy/util-retry": "^2.0.5",
58
59
  "@smithy/util-utf8": "^2.0.0",
59
60
  "tslib": "^2.5.0",