aws-sdk-connect 1.66.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +388 -8
- data/lib/aws-sdk-connect/client_api.rb +244 -0
- data/lib/aws-sdk-connect/types.rb +542 -4
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbaafb8d825aecf2b47bb6de469985e767d11659f15117b75cac93ee1a206ad8
|
4
|
+
data.tar.gz: f66298e69d8e13d62eb34923489e0d9371e9d36d2625ad07594176c6943ac823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c493532b2202c2c76191bb89786f1e306659ec2e288c3079178433f63a7c71771b29dd1ef93c1a171ae18df64d45bb23a23632e8f6e8c035b3c0fdcff2066bd2
|
7
|
+
data.tar.gz: 333a38c3b7ff0443ac407b6400ac824db678142fdf92d8d4ed29d61045c161f5ce88cb1f8cde49e351d9cf37fdf1a01a116e59f908a1603ec1ce0896e4b736e5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2022-04-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds APIs to search, claim, release, list, update, and describe phone numbers. You can also use them to associate and disassociate contact flows to phone numbers.
|
8
|
+
|
9
|
+
1.68.0 (2022-04-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release updates these APIs: UpdateInstanceAttribute, DescribeInstanceAttribute and ListInstanceAttributes. You can use it to programmatically enable/disable multi-party conferencing using attribute type MULTI_PARTY_CONFERENCING on the specified Amazon Connect instance.
|
13
|
+
|
14
|
+
1.67.0 (2022-03-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for enabling Rich Messaging when starting a new chat session via the StartChatContact API. Rich Messaging enables the following formatting options: bold, italics, hyperlinks, bulleted lists, and numbered lists.
|
18
|
+
|
4
19
|
1.66.0 (2022-03-04)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -600,6 +600,38 @@ module Aws::Connect
|
|
600
600
|
req.send_request(options)
|
601
601
|
end
|
602
602
|
|
603
|
+
# Associates a contact flow with a phone number claimed to your Amazon
|
604
|
+
# Connect instance.
|
605
|
+
#
|
606
|
+
# @option params [required, String] :phone_number_id
|
607
|
+
# A unique identifier for the phone number.
|
608
|
+
#
|
609
|
+
# @option params [required, String] :instance_id
|
610
|
+
# The identifier of the Amazon Connect instance. You can find the
|
611
|
+
# instanceId in the ARN of the instance.
|
612
|
+
#
|
613
|
+
# @option params [required, String] :contact_flow_id
|
614
|
+
# The identifier of the contact flow.
|
615
|
+
#
|
616
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
617
|
+
#
|
618
|
+
# @example Request syntax with placeholder values
|
619
|
+
#
|
620
|
+
# resp = client.associate_phone_number_contact_flow({
|
621
|
+
# phone_number_id: "PhoneNumberId", # required
|
622
|
+
# instance_id: "InstanceId", # required
|
623
|
+
# contact_flow_id: "ContactFlowId", # required
|
624
|
+
# })
|
625
|
+
#
|
626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociatePhoneNumberContactFlow AWS API Documentation
|
627
|
+
#
|
628
|
+
# @overload associate_phone_number_contact_flow(params = {})
|
629
|
+
# @param [Hash] params ({})
|
630
|
+
def associate_phone_number_contact_flow(params = {}, options = {})
|
631
|
+
req = build_request(:associate_phone_number_contact_flow, params)
|
632
|
+
req.send_request(options)
|
633
|
+
end
|
634
|
+
|
603
635
|
# This API is in preview release for Amazon Connect and is subject to
|
604
636
|
# change.
|
605
637
|
#
|
@@ -710,6 +742,60 @@ module Aws::Connect
|
|
710
742
|
req.send_request(options)
|
711
743
|
end
|
712
744
|
|
745
|
+
# Claims an available phone number to your Amazon Connect instance.
|
746
|
+
#
|
747
|
+
# @option params [required, String] :target_arn
|
748
|
+
# The Amazon Resource Name (ARN) for Amazon Connect instances that phone
|
749
|
+
# numbers are claimed to.
|
750
|
+
#
|
751
|
+
# @option params [required, String] :phone_number
|
752
|
+
# The phone number you want to claim. Phone numbers are formatted `[+]
|
753
|
+
# [country code] [subscriber number including area code]`.
|
754
|
+
#
|
755
|
+
# @option params [String] :phone_number_description
|
756
|
+
# The description of the phone number.
|
757
|
+
#
|
758
|
+
# @option params [Hash<String,String>] :tags
|
759
|
+
# The tags used to organize, track, or control access for this resource.
|
760
|
+
#
|
761
|
+
# @option params [String] :client_token
|
762
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
763
|
+
# idempotency of the request.
|
764
|
+
#
|
765
|
+
# **A suitable default value is auto-generated.** You should normally
|
766
|
+
# not need to pass this option.**
|
767
|
+
#
|
768
|
+
# @return [Types::ClaimPhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
769
|
+
#
|
770
|
+
# * {Types::ClaimPhoneNumberResponse#phone_number_id #phone_number_id} => String
|
771
|
+
# * {Types::ClaimPhoneNumberResponse#phone_number_arn #phone_number_arn} => String
|
772
|
+
#
|
773
|
+
# @example Request syntax with placeholder values
|
774
|
+
#
|
775
|
+
# resp = client.claim_phone_number({
|
776
|
+
# target_arn: "ARN", # required
|
777
|
+
# phone_number: "PhoneNumber", # required
|
778
|
+
# phone_number_description: "PhoneNumberDescription",
|
779
|
+
# tags: {
|
780
|
+
# "TagKey" => "TagValue",
|
781
|
+
# },
|
782
|
+
# client_token: "ClientToken",
|
783
|
+
# })
|
784
|
+
#
|
785
|
+
# @example Response structure
|
786
|
+
#
|
787
|
+
# resp.phone_number_id #=> String
|
788
|
+
# resp.phone_number_arn #=> String
|
789
|
+
#
|
790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimPhoneNumber AWS API Documentation
|
791
|
+
#
|
792
|
+
# @overload claim_phone_number(params = {})
|
793
|
+
# @param [Hash] params ({})
|
794
|
+
def claim_phone_number(params = {}, options = {})
|
795
|
+
req = build_request(:claim_phone_number, params)
|
796
|
+
req.send_request(options)
|
797
|
+
end
|
798
|
+
|
713
799
|
# This API is in preview release for Amazon Connect and is subject to
|
714
800
|
# change.
|
715
801
|
#
|
@@ -2248,12 +2334,12 @@ module Aws::Connect
|
|
2248
2334
|
#
|
2249
2335
|
# resp = client.describe_instance_attribute({
|
2250
2336
|
# instance_id: "InstanceId", # required
|
2251
|
-
# attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA
|
2337
|
+
# attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA, MULTI_PARTY_CONFERENCE
|
2252
2338
|
# })
|
2253
2339
|
#
|
2254
2340
|
# @example Response structure
|
2255
2341
|
#
|
2256
|
-
# resp.attribute.attribute_type #=> String, one of "INBOUND_CALLS", "OUTBOUND_CALLS", "CONTACTFLOW_LOGS", "CONTACT_LENS", "AUTO_RESOLVE_BEST_VOICES", "USE_CUSTOM_TTS_VOICES", "EARLY_MEDIA"
|
2342
|
+
# resp.attribute.attribute_type #=> String, one of "INBOUND_CALLS", "OUTBOUND_CALLS", "CONTACTFLOW_LOGS", "CONTACT_LENS", "AUTO_RESOLVE_BEST_VOICES", "USE_CUSTOM_TTS_VOICES", "EARLY_MEDIA", "MULTI_PARTY_CONFERENCE"
|
2257
2343
|
# resp.attribute.value #=> String
|
2258
2344
|
#
|
2259
2345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceAttribute AWS API Documentation
|
@@ -2318,6 +2404,45 @@ module Aws::Connect
|
|
2318
2404
|
req.send_request(options)
|
2319
2405
|
end
|
2320
2406
|
|
2407
|
+
# Gets details and status of a phone number that’s claimed to your
|
2408
|
+
# Amazon Connect instance
|
2409
|
+
#
|
2410
|
+
# @option params [required, String] :phone_number_id
|
2411
|
+
# The identifier of the phone number.
|
2412
|
+
#
|
2413
|
+
# @return [Types::DescribePhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2414
|
+
#
|
2415
|
+
# * {Types::DescribePhoneNumberResponse#claimed_phone_number_summary #claimed_phone_number_summary} => Types::ClaimedPhoneNumberSummary
|
2416
|
+
#
|
2417
|
+
# @example Request syntax with placeholder values
|
2418
|
+
#
|
2419
|
+
# resp = client.describe_phone_number({
|
2420
|
+
# phone_number_id: "PhoneNumberId", # required
|
2421
|
+
# })
|
2422
|
+
#
|
2423
|
+
# @example Response structure
|
2424
|
+
#
|
2425
|
+
# resp.claimed_phone_number_summary.phone_number_id #=> String
|
2426
|
+
# resp.claimed_phone_number_summary.phone_number_arn #=> String
|
2427
|
+
# resp.claimed_phone_number_summary.phone_number #=> String
|
2428
|
+
# resp.claimed_phone_number_summary.phone_number_country_code #=> String, one of "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"
|
2429
|
+
# resp.claimed_phone_number_summary.phone_number_type #=> String, one of "TOLL_FREE", "DID"
|
2430
|
+
# resp.claimed_phone_number_summary.phone_number_description #=> String
|
2431
|
+
# resp.claimed_phone_number_summary.target_arn #=> String
|
2432
|
+
# resp.claimed_phone_number_summary.tags #=> Hash
|
2433
|
+
# resp.claimed_phone_number_summary.tags["TagKey"] #=> String
|
2434
|
+
# resp.claimed_phone_number_summary.phone_number_status.status #=> String, one of "CLAIMED", "IN_PROGRESS", "FAILED"
|
2435
|
+
# resp.claimed_phone_number_summary.phone_number_status.message #=> String
|
2436
|
+
#
|
2437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumber AWS API Documentation
|
2438
|
+
#
|
2439
|
+
# @overload describe_phone_number(params = {})
|
2440
|
+
# @param [Hash] params ({})
|
2441
|
+
def describe_phone_number(params = {}, options = {})
|
2442
|
+
req = build_request(:describe_phone_number, params)
|
2443
|
+
req.send_request(options)
|
2444
|
+
end
|
2445
|
+
|
2321
2446
|
# This API is in preview release for Amazon Connect and is subject to
|
2322
2447
|
# change.
|
2323
2448
|
#
|
@@ -2858,6 +2983,34 @@ module Aws::Connect
|
|
2858
2983
|
req.send_request(options)
|
2859
2984
|
end
|
2860
2985
|
|
2986
|
+
# Removes the contact flow association from a phone number claimed to
|
2987
|
+
# your Amazon Connect instance, if a contact flow association exists.
|
2988
|
+
#
|
2989
|
+
# @option params [required, String] :phone_number_id
|
2990
|
+
# The identifier of the phone number.
|
2991
|
+
#
|
2992
|
+
# @option params [required, String] :instance_id
|
2993
|
+
# The identifier of the Amazon Connect instance. You can find the
|
2994
|
+
# instanceId in the ARN of the instance.
|
2995
|
+
#
|
2996
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2997
|
+
#
|
2998
|
+
# @example Request syntax with placeholder values
|
2999
|
+
#
|
3000
|
+
# resp = client.disassociate_phone_number_contact_flow({
|
3001
|
+
# phone_number_id: "PhoneNumberId", # required
|
3002
|
+
# instance_id: "InstanceId", # required
|
3003
|
+
# })
|
3004
|
+
#
|
3005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociatePhoneNumberContactFlow AWS API Documentation
|
3006
|
+
#
|
3007
|
+
# @overload disassociate_phone_number_contact_flow(params = {})
|
3008
|
+
# @param [Hash] params ({})
|
3009
|
+
def disassociate_phone_number_contact_flow(params = {}, options = {})
|
3010
|
+
req = build_request(:disassociate_phone_number_contact_flow, params)
|
3011
|
+
req.send_request(options)
|
3012
|
+
end
|
3013
|
+
|
2861
3014
|
# This API is in preview release for Amazon Connect and is subject to
|
2862
3015
|
# change.
|
2863
3016
|
#
|
@@ -4005,7 +4158,7 @@ module Aws::Connect
|
|
4005
4158
|
# @example Response structure
|
4006
4159
|
#
|
4007
4160
|
# resp.attributes #=> Array
|
4008
|
-
# resp.attributes[0].attribute_type #=> String, one of "INBOUND_CALLS", "OUTBOUND_CALLS", "CONTACTFLOW_LOGS", "CONTACT_LENS", "AUTO_RESOLVE_BEST_VOICES", "USE_CUSTOM_TTS_VOICES", "EARLY_MEDIA"
|
4161
|
+
# resp.attributes[0].attribute_type #=> String, one of "INBOUND_CALLS", "OUTBOUND_CALLS", "CONTACTFLOW_LOGS", "CONTACT_LENS", "AUTO_RESOLVE_BEST_VOICES", "USE_CUSTOM_TTS_VOICES", "EARLY_MEDIA", "MULTI_PARTY_CONFERENCE"
|
4009
4162
|
# resp.attributes[0].value #=> String
|
4010
4163
|
# resp.next_token #=> String
|
4011
4164
|
#
|
@@ -4353,6 +4506,78 @@ module Aws::Connect
|
|
4353
4506
|
req.send_request(options)
|
4354
4507
|
end
|
4355
4508
|
|
4509
|
+
# Lists phone numbers claimed to your Amazon Connect instance.
|
4510
|
+
#
|
4511
|
+
# For more information about phone numbers, see [Set Up Phone Numbers
|
4512
|
+
# for Your Contact Center][1] in the *Amazon Connect Administrator
|
4513
|
+
# Guide*.
|
4514
|
+
#
|
4515
|
+
#
|
4516
|
+
#
|
4517
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html
|
4518
|
+
#
|
4519
|
+
# @option params [String] :target_arn
|
4520
|
+
# The Amazon Resource Name (ARN) for Amazon Connect instances that phone
|
4521
|
+
# numbers are claimed to. If `TargetArn` input is not provided, this API
|
4522
|
+
# lists numbers claimed to all the Amazon Connect instances belonging to
|
4523
|
+
# your account.
|
4524
|
+
#
|
4525
|
+
# @option params [Integer] :max_results
|
4526
|
+
# The maximum number of results to return per page.
|
4527
|
+
#
|
4528
|
+
# @option params [String] :next_token
|
4529
|
+
# The token for the next set of results. Use the value returned in the
|
4530
|
+
# previous response in the next request to retrieve the next set of
|
4531
|
+
# results.
|
4532
|
+
#
|
4533
|
+
# @option params [Array<String>] :phone_number_country_codes
|
4534
|
+
# The ISO country code.
|
4535
|
+
#
|
4536
|
+
# @option params [Array<String>] :phone_number_types
|
4537
|
+
# The type of phone number.
|
4538
|
+
#
|
4539
|
+
# @option params [String] :phone_number_prefix
|
4540
|
+
# The prefix of the phone number. If provided, it must contain `+` as
|
4541
|
+
# part of the country code.
|
4542
|
+
#
|
4543
|
+
# @return [Types::ListPhoneNumbersV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4544
|
+
#
|
4545
|
+
# * {Types::ListPhoneNumbersV2Response#next_token #next_token} => String
|
4546
|
+
# * {Types::ListPhoneNumbersV2Response#list_phone_numbers_summary_list #list_phone_numbers_summary_list} => Array<Types::ListPhoneNumbersSummary>
|
4547
|
+
#
|
4548
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4549
|
+
#
|
4550
|
+
# @example Request syntax with placeholder values
|
4551
|
+
#
|
4552
|
+
# resp = client.list_phone_numbers_v2({
|
4553
|
+
# target_arn: "ARN",
|
4554
|
+
# max_results: 1,
|
4555
|
+
# next_token: "LargeNextToken",
|
4556
|
+
# phone_number_country_codes: ["AF"], # accepts 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
|
4557
|
+
# phone_number_types: ["TOLL_FREE"], # accepts TOLL_FREE, DID
|
4558
|
+
# phone_number_prefix: "PhoneNumberPrefix",
|
4559
|
+
# })
|
4560
|
+
#
|
4561
|
+
# @example Response structure
|
4562
|
+
#
|
4563
|
+
# resp.next_token #=> String
|
4564
|
+
# resp.list_phone_numbers_summary_list #=> Array
|
4565
|
+
# resp.list_phone_numbers_summary_list[0].phone_number_id #=> String
|
4566
|
+
# resp.list_phone_numbers_summary_list[0].phone_number_arn #=> String
|
4567
|
+
# resp.list_phone_numbers_summary_list[0].phone_number #=> String
|
4568
|
+
# resp.list_phone_numbers_summary_list[0].phone_number_country_code #=> String, one of "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"
|
4569
|
+
# resp.list_phone_numbers_summary_list[0].phone_number_type #=> String, one of "TOLL_FREE", "DID"
|
4570
|
+
# resp.list_phone_numbers_summary_list[0].target_arn #=> String
|
4571
|
+
#
|
4572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbersV2 AWS API Documentation
|
4573
|
+
#
|
4574
|
+
# @overload list_phone_numbers_v2(params = {})
|
4575
|
+
# @param [Hash] params ({})
|
4576
|
+
def list_phone_numbers_v2(params = {}, options = {})
|
4577
|
+
req = build_request(:list_phone_numbers_v2, params)
|
4578
|
+
req.send_request(options)
|
4579
|
+
end
|
4580
|
+
|
4356
4581
|
# Provides information about the prompts for the specified Amazon
|
4357
4582
|
# Connect instance.
|
4358
4583
|
#
|
@@ -5023,6 +5248,37 @@ module Aws::Connect
|
|
5023
5248
|
req.send_request(options)
|
5024
5249
|
end
|
5025
5250
|
|
5251
|
+
# Releases a phone number previously claimed to an Amazon Connect
|
5252
|
+
# instance.
|
5253
|
+
#
|
5254
|
+
# @option params [required, String] :phone_number_id
|
5255
|
+
# The identifier of the phone number.
|
5256
|
+
#
|
5257
|
+
# @option params [String] :client_token
|
5258
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
5259
|
+
# idempotency of the request.
|
5260
|
+
#
|
5261
|
+
# **A suitable default value is auto-generated.** You should normally
|
5262
|
+
# not need to pass this option.**
|
5263
|
+
#
|
5264
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5265
|
+
#
|
5266
|
+
# @example Request syntax with placeholder values
|
5267
|
+
#
|
5268
|
+
# resp = client.release_phone_number({
|
5269
|
+
# phone_number_id: "PhoneNumberId", # required
|
5270
|
+
# client_token: "ClientToken",
|
5271
|
+
# })
|
5272
|
+
#
|
5273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReleasePhoneNumber AWS API Documentation
|
5274
|
+
#
|
5275
|
+
# @overload release_phone_number(params = {})
|
5276
|
+
# @param [Hash] params ({})
|
5277
|
+
def release_phone_number(params = {}, options = {})
|
5278
|
+
req = build_request(:release_phone_number, params)
|
5279
|
+
req.send_request(options)
|
5280
|
+
end
|
5281
|
+
|
5026
5282
|
# When a contact is being recorded, and the recording has been suspended
|
5027
5283
|
# using SuspendContactRecording, this API resumes recording the call.
|
5028
5284
|
#
|
@@ -5058,6 +5314,66 @@ module Aws::Connect
|
|
5058
5314
|
req.send_request(options)
|
5059
5315
|
end
|
5060
5316
|
|
5317
|
+
# Searches for available phone numbers that you can claim to your Amazon
|
5318
|
+
# Connect instance.
|
5319
|
+
#
|
5320
|
+
# @option params [required, String] :target_arn
|
5321
|
+
# The Amazon Resource Name (ARN) for Amazon Connect instances that phone
|
5322
|
+
# numbers are claimed to.
|
5323
|
+
#
|
5324
|
+
# @option params [required, String] :phone_number_country_code
|
5325
|
+
# The ISO country code.
|
5326
|
+
#
|
5327
|
+
# @option params [required, String] :phone_number_type
|
5328
|
+
# The type of phone number.
|
5329
|
+
#
|
5330
|
+
# @option params [String] :phone_number_prefix
|
5331
|
+
# The prefix of the phone number. If provided, it must contain `+` as
|
5332
|
+
# part of the country code.
|
5333
|
+
#
|
5334
|
+
# @option params [Integer] :max_results
|
5335
|
+
# The maximum number of results to return per page.
|
5336
|
+
#
|
5337
|
+
# @option params [String] :next_token
|
5338
|
+
# The token for the next set of results. Use the value returned in the
|
5339
|
+
# previous response in the next request to retrieve the next set of
|
5340
|
+
# results.
|
5341
|
+
#
|
5342
|
+
# @return [Types::SearchAvailablePhoneNumbersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5343
|
+
#
|
5344
|
+
# * {Types::SearchAvailablePhoneNumbersResponse#next_token #next_token} => String
|
5345
|
+
# * {Types::SearchAvailablePhoneNumbersResponse#available_numbers_list #available_numbers_list} => Array<Types::AvailableNumberSummary>
|
5346
|
+
#
|
5347
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5348
|
+
#
|
5349
|
+
# @example Request syntax with placeholder values
|
5350
|
+
#
|
5351
|
+
# resp = client.search_available_phone_numbers({
|
5352
|
+
# target_arn: "ARN", # required
|
5353
|
+
# phone_number_country_code: "AF", # required, accepts 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
|
5354
|
+
# phone_number_type: "TOLL_FREE", # required, accepts TOLL_FREE, DID
|
5355
|
+
# phone_number_prefix: "PhoneNumberPrefix",
|
5356
|
+
# max_results: 1,
|
5357
|
+
# next_token: "LargeNextToken",
|
5358
|
+
# })
|
5359
|
+
#
|
5360
|
+
# @example Response structure
|
5361
|
+
#
|
5362
|
+
# resp.next_token #=> String
|
5363
|
+
# resp.available_numbers_list #=> Array
|
5364
|
+
# resp.available_numbers_list[0].phone_number #=> String
|
5365
|
+
# resp.available_numbers_list[0].phone_number_country_code #=> String, one of "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"
|
5366
|
+
# resp.available_numbers_list[0].phone_number_type #=> String, one of "TOLL_FREE", "DID"
|
5367
|
+
#
|
5368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchAvailablePhoneNumbers AWS API Documentation
|
5369
|
+
#
|
5370
|
+
# @overload search_available_phone_numbers(params = {})
|
5371
|
+
# @param [Hash] params ({})
|
5372
|
+
def search_available_phone_numbers(params = {}, options = {})
|
5373
|
+
req = build_request(:search_available_phone_numbers, params)
|
5374
|
+
req.send_request(options)
|
5375
|
+
end
|
5376
|
+
|
5061
5377
|
# Searches for vocabularies within a specific Amazon Connect instance
|
5062
5378
|
# using `State`, `NameStartsWith`, and `LanguageCode`.
|
5063
5379
|
#
|
@@ -5202,6 +5518,10 @@ module Aws::Connect
|
|
5202
5518
|
# configurable time is 60 minutes. The maximum configurable time is
|
5203
5519
|
# 10,080 minutes (7 days).
|
5204
5520
|
#
|
5521
|
+
# @option params [Array<String>] :supported_messaging_content_types
|
5522
|
+
# The supported chat message content types. Content types can be
|
5523
|
+
# text/plain or both text/plain and text/markdown.
|
5524
|
+
#
|
5205
5525
|
# @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5206
5526
|
#
|
5207
5527
|
# * {Types::StartChatContactResponse#contact_id #contact_id} => String
|
@@ -5225,6 +5545,7 @@ module Aws::Connect
|
|
5225
5545
|
# },
|
5226
5546
|
# client_token: "ClientToken",
|
5227
5547
|
# chat_duration_in_minutes: 1,
|
5548
|
+
# supported_messaging_content_types: ["SupportedMessagingContentType"],
|
5228
5549
|
# })
|
5229
5550
|
#
|
5230
5551
|
# @example Response structure
|
@@ -5242,7 +5563,14 @@ module Aws::Connect
|
|
5242
5563
|
req.send_request(options)
|
5243
5564
|
end
|
5244
5565
|
|
5245
|
-
# Starts recording the contact
|
5566
|
+
# Starts recording the contact:
|
5567
|
+
#
|
5568
|
+
# * If the API is called *before* the agent joins the call, recording
|
5569
|
+
# starts when the agent joins the call.
|
5570
|
+
#
|
5571
|
+
# * If the API is called *after* the agent joins the call, recording
|
5572
|
+
# starts at the time of the API call.
|
5573
|
+
#
|
5246
5574
|
# StartContactRecording is a one-time action. For example, if you use
|
5247
5575
|
# StopContactRecording to stop recording an ongoing call, you can't use
|
5248
5576
|
# StartContactRecording to restart it. For scenarios where the recording
|
@@ -5567,7 +5895,14 @@ module Aws::Connect
|
|
5567
5895
|
req.send_request(options)
|
5568
5896
|
end
|
5569
5897
|
|
5570
|
-
# Ends the specified contact.
|
5898
|
+
# Ends the specified contact. This call does not work for the following
|
5899
|
+
# initiation methods:
|
5900
|
+
#
|
5901
|
+
# * DISCONNECT
|
5902
|
+
#
|
5903
|
+
# * TRANSFER
|
5904
|
+
#
|
5905
|
+
# * QUEUE\_TRANSFER
|
5571
5906
|
#
|
5572
5907
|
# @option params [required, String] :contact_id
|
5573
5908
|
# The ID of the contact.
|
@@ -5714,7 +6049,8 @@ module Aws::Connect
|
|
5714
6049
|
# Adds the specified tags to the specified resource.
|
5715
6050
|
#
|
5716
6051
|
# The supported resource types are users, routing profiles, queues,
|
5717
|
-
# quick connects, contact flows, agent status,
|
6052
|
+
# quick connects, contact flows, agent status, hours of operation, and
|
6053
|
+
# phone number.
|
5718
6054
|
#
|
5719
6055
|
# For sample policies that use tags, see [Amazon Connect Identity-Based
|
5720
6056
|
# Policy Examples][1] in the *Amazon Connect Administrator Guide*.
|
@@ -6261,7 +6597,7 @@ module Aws::Connect
|
|
6261
6597
|
#
|
6262
6598
|
# resp = client.update_instance_attribute({
|
6263
6599
|
# instance_id: "InstanceId", # required
|
6264
|
-
# attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA
|
6600
|
+
# attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA, MULTI_PARTY_CONFERENCE
|
6265
6601
|
# value: "InstanceAttributeValue", # required
|
6266
6602
|
# })
|
6267
6603
|
#
|
@@ -6339,6 +6675,50 @@ module Aws::Connect
|
|
6339
6675
|
req.send_request(options)
|
6340
6676
|
end
|
6341
6677
|
|
6678
|
+
# Updates your claimed phone number from its current Amazon Connect
|
6679
|
+
# instance to another Amazon Connect instance in the same Region.
|
6680
|
+
#
|
6681
|
+
# @option params [required, String] :phone_number_id
|
6682
|
+
# The identifier of the phone number.
|
6683
|
+
#
|
6684
|
+
# @option params [required, String] :target_arn
|
6685
|
+
# The Amazon Resource Name (ARN) for Amazon Connect instances that phone
|
6686
|
+
# numbers are claimed to.
|
6687
|
+
#
|
6688
|
+
# @option params [String] :client_token
|
6689
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
6690
|
+
# idempotency of the request.
|
6691
|
+
#
|
6692
|
+
# **A suitable default value is auto-generated.** You should normally
|
6693
|
+
# not need to pass this option.**
|
6694
|
+
#
|
6695
|
+
# @return [Types::UpdatePhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6696
|
+
#
|
6697
|
+
# * {Types::UpdatePhoneNumberResponse#phone_number_id #phone_number_id} => String
|
6698
|
+
# * {Types::UpdatePhoneNumberResponse#phone_number_arn #phone_number_arn} => String
|
6699
|
+
#
|
6700
|
+
# @example Request syntax with placeholder values
|
6701
|
+
#
|
6702
|
+
# resp = client.update_phone_number({
|
6703
|
+
# phone_number_id: "PhoneNumberId", # required
|
6704
|
+
# target_arn: "ARN", # required
|
6705
|
+
# client_token: "ClientToken",
|
6706
|
+
# })
|
6707
|
+
#
|
6708
|
+
# @example Response structure
|
6709
|
+
#
|
6710
|
+
# resp.phone_number_id #=> String
|
6711
|
+
# resp.phone_number_arn #=> String
|
6712
|
+
#
|
6713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumber AWS API Documentation
|
6714
|
+
#
|
6715
|
+
# @overload update_phone_number(params = {})
|
6716
|
+
# @param [Hash] params ({})
|
6717
|
+
def update_phone_number(params = {}, options = {})
|
6718
|
+
req = build_request(:update_phone_number, params)
|
6719
|
+
req.send_request(options)
|
6720
|
+
end
|
6721
|
+
|
6342
6722
|
# This API is in preview release for Amazon Connect and is subject to
|
6343
6723
|
# change.
|
6344
6724
|
#
|
@@ -7054,7 +7434,7 @@ module Aws::Connect
|
|
7054
7434
|
params: params,
|
7055
7435
|
config: config)
|
7056
7436
|
context[:gem_name] = 'aws-sdk-connect'
|
7057
|
-
context[:gem_version] = '1.
|
7437
|
+
context[:gem_version] = '1.69.0'
|
7058
7438
|
Seahorse::Client::Request.new(handlers, context)
|
7059
7439
|
end
|
7060
7440
|
|