aws-sdk-connect 1.129.0 → 1.130.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31decf9eea36ce0b7cf6764fc2f4564eaa64bc58bc77a21c63ab008289174b85
4
- data.tar.gz: f8309e2f83d518e27e216bd1260f749873bbf4ae781eb6e156059567b50b5432
3
+ metadata.gz: ea0017a55ed2e3aaace982671f7b021bba3ce1382da6500a4031f91673593ba8
4
+ data.tar.gz: 031742ed5742c7a2173bc5f35aa14feb6d190175aa2f0ef6773d660418a51c06
5
5
  SHA512:
6
- metadata.gz: bbc6189991f6ddd7d1fd04dfc3fe492dcda85a16531cf8cf3c81a0affbc2c054652083bdb4f2846412c53bf631aac961b73fcbb21a2181b198c0e46fbdd53790
7
- data.tar.gz: bd95d68caaa1ac40e88be4e12e7f1ba42f2f2e9e3e1a01477a13d2c4206f6f102453008b47d41793d82042f8e965bf67bc299abd87d684cbc161171f00310c59
6
+ metadata.gz: 323c2323d8f42ef79d96d57b79dc146b1006c726bb4bb8ae360a7038707ca1d859f1e53fd556925cfb9f0fb26c1bf3d09707a10e0139d17f202473da5e87c337
7
+ data.tar.gz: 32e7852c07d1ef57a84282d5befe452e86d4295ceb0e4734c3570391c9c95d709ac2f75dd98618acfb3eb2ea714ae2ddb42f353b7f879958dab7ed569abb7ac0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.130.0 (2023-10-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for updating phone number metadata, such as phone number description.
8
+
4
9
  1.129.0 (2023-10-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.129.0
1
+ 1.130.0
@@ -1112,8 +1112,7 @@ module Aws::Connect
1112
1112
  #
1113
1113
  # @option params [required, String] :content
1114
1114
  # The JSON string that represents the content of the flow. For an
1115
- # example, see [Example contact flow in Amazon Connect Flow
1116
- # language][1].
1115
+ # example, see [Example flow in Amazon Connect Flow language][1].
1117
1116
  #
1118
1117
  # Length Constraints: Minimum length of 1. Maximum length of 256000.
1119
1118
  #
@@ -1175,7 +1174,12 @@ module Aws::Connect
1175
1174
  # The description of the flow module.
1176
1175
  #
1177
1176
  # @option params [required, String] :content
1178
- # The content of the flow module.
1177
+ # The JSON string that represents the content of the flow. For an
1178
+ # example, see [Example flow in Amazon Connect Flow language][1].
1179
+ #
1180
+ #
1181
+ #
1182
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html
1179
1183
  #
1180
1184
  # @option params [Hash<String,String>] :tags
1181
1185
  # The tags used to organize, track, or control access for this resource.
@@ -2295,7 +2299,7 @@ module Aws::Connect
2295
2299
  # Creates a traffic distribution group given an Amazon Connect instance
2296
2300
  # that has been replicated.
2297
2301
  #
2298
- # <note markdown="1"> You can change the `SignInConfig` distribution only for a default
2302
+ # <note markdown="1"> The `SignInConfig` distribution is available only on a default
2299
2303
  # `TrafficDistributionGroup` (see the `IsDefault` parameter in the
2300
2304
  # [TrafficDistributionGroup][1] data type). If you call
2301
2305
  # `UpdateTrafficDistribution` with a modified `SignInConfig` and a
@@ -2426,13 +2430,19 @@ module Aws::Connect
2426
2430
 
2427
2431
  # Creates a user account for the specified Amazon Connect instance.
2428
2432
  #
2433
+ # Certain [UserIdentityInfo][1] parameters are required in some
2434
+ # situations. For example, `Email` is required if you are using SAML for
2435
+ # identity management. `FirstName` and `LastName` are required if you
2436
+ # are using Amazon Connect or SAML for identity management.
2437
+ #
2429
2438
  # For information about how to create user accounts using the Amazon
2430
- # Connect console, see [Add Users][1] in the *Amazon Connect
2439
+ # Connect console, see [Add Users][2] in the *Amazon Connect
2431
2440
  # Administrator Guide*.
2432
2441
  #
2433
2442
  #
2434
2443
  #
2435
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html
2444
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UserIdentityInfo.html
2445
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html
2436
2446
  #
2437
2447
  # @option params [required, String] :username
2438
2448
  # The user name for the account. For instances not using SAML for
@@ -5658,7 +5668,13 @@ module Aws::Connect
5658
5668
  req.send_request(options)
5659
5669
  end
5660
5670
 
5661
- # Retrieves a token for federation.
5671
+ # Supports SAML sign-in for Amazon Connect. Retrieves a token for
5672
+ # federation. The token is for the Amazon Connect user which corresponds
5673
+ # to the IAM credentials that were used to invoke this action.
5674
+ #
5675
+ # For more information about how SAML sign-in works in Amazon Connect,
5676
+ # see [Configure SAML with IAM for Amazon Connect in the *Amazon Connect
5677
+ # Administrator Guide*.][1]
5662
5678
  #
5663
5679
  # <note markdown="1"> This API doesn't support root users. If you try to invoke
5664
5680
  # GetFederationToken with root credentials, an error message similar to
@@ -5669,6 +5685,10 @@ module Aws::Connect
5669
5685
  #
5670
5686
  # </note>
5671
5687
  #
5688
+ #
5689
+ #
5690
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/configure-saml.html
5691
+ #
5672
5692
  # @option params [required, String] :instance_id
5673
5693
  # The identifier of the Amazon Connect instance. You can [find the
5674
5694
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -5715,9 +5735,21 @@ module Aws::Connect
5715
5735
  # For a description of each historical metric, see [Historical Metrics
5716
5736
  # Definitions][1] in the *Amazon Connect Administrator Guide*.
5717
5737
  #
5738
+ # <note markdown="1"> We recommend using the [GetMetricDataV2][2] API. It provides more
5739
+ # flexibility, features, and the ability to query longer time ranges
5740
+ # than `GetMetricData`. Use it to retrieve historical agent and contact
5741
+ # metrics for the last 3 months, at varying intervals. You can also use
5742
+ # it to build custom dashboards to measure historical queue and agent
5743
+ # performance. For example, you can track the number of incoming
5744
+ # contacts for the last 7 days, with data split by day, to see how
5745
+ # contact volume changed per day of the week.
5746
+ #
5747
+ # </note>
5748
+ #
5718
5749
  #
5719
5750
  #
5720
5751
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html
5752
+ # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricDataV2.html
5721
5753
  #
5722
5754
  # @option params [required, String] :instance_id
5723
5755
  # The identifier of the Amazon Connect instance. You can [find the
@@ -10173,6 +10205,11 @@ module Aws::Connect
10173
10205
  # The identifier of the Amazon Connect instance. You can [find the
10174
10206
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
10175
10207
  #
10208
+ # <note markdown="1"> InstanceID is a required field. The "Required: No" below is
10209
+ # incorrect.
10210
+ #
10211
+ # </note>
10212
+ #
10176
10213
  #
10177
10214
  #
10178
10215
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
@@ -10866,7 +10903,52 @@ module Aws::Connect
10866
10903
  req.send_request(options)
10867
10904
  end
10868
10905
 
10869
- # Initiates a flow to start a new task.
10906
+ # Initiates a flow to start a new task contact. For more information
10907
+ # about task contacts, see [Concepts: Tasks in Amazon Connect][1] in the
10908
+ # *Amazon Connect Administrator Guide*.
10909
+ #
10910
+ # When using `PreviousContactId` and `RelatedContactId` input
10911
+ # parameters, note the following:
10912
+ #
10913
+ # * `PreviousContactId`
10914
+ #
10915
+ # * Any updates to user-defined task contact attributes on any contact
10916
+ # linked through the same `PreviousContactId` will affect every
10917
+ # contact in the chain.
10918
+ #
10919
+ # * There can be a maximum of 12 linked task contacts in a chain. That
10920
+ # is, 12 task contacts can be created that share the same
10921
+ # `PreviousContactId`.
10922
+ #
10923
+ # * `RelatedContactId`
10924
+ #
10925
+ # * Copies contact attributes from the related task contact to the new
10926
+ # contact.
10927
+ #
10928
+ # * Any update on attributes in a new task contact does not update
10929
+ # attributes on previous contact.
10930
+ #
10931
+ # * There’s no limit on the number of task contacts that can be
10932
+ # created that use the same `RelatedContactId`.
10933
+ #
10934
+ # In addition, when calling StartTaskContact include only one of these
10935
+ # parameters: `ContactFlowID`, `QuickConnectID`, or `TaskTemplateID`.
10936
+ # Only one parameter is required as long as the task template has a flow
10937
+ # configured to run it. If more than one parameter is specified, or only
10938
+ # the `TaskTemplateID` is specified but it does not have a flow
10939
+ # configured, the request returns an error because Amazon Connect cannot
10940
+ # identify the unique flow to run when the task is created.
10941
+ #
10942
+ # A `ServiceQuotaExceededException` occurs when the number of open tasks
10943
+ # exceeds the active tasks quota or there are already 12 tasks
10944
+ # referencing the same `PreviousContactId`. For more information about
10945
+ # service quotas for task contacts, see [Amazon Connect service
10946
+ # quotas][2] in the *Amazon Connect Administrator Guide*.
10947
+ #
10948
+ #
10949
+ #
10950
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html
10951
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html
10870
10952
  #
10871
10953
  # @option params [required, String] :instance_id
10872
10954
  # The identifier of the Amazon Connect instance. You can [find the
@@ -10877,7 +10959,10 @@ module Aws::Connect
10877
10959
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
10878
10960
  #
10879
10961
  # @option params [String] :previous_contact_id
10880
- # The identifier of the previous chat, voice, or task contact.
10962
+ # The identifier of the previous chat, voice, or task contact. Any
10963
+ # updates to user-defined attributes to task contacts linked using the
10964
+ # same `PreviousContactID` will affect every contact in the chain. There
10965
+ # can be a maximum of 12 linked task contacts in a chain.
10881
10966
  #
10882
10967
  # @option params [String] :contact_flow_id
10883
10968
  # The identifier of the flow for initiating the tasks. To see the
@@ -10904,7 +10989,9 @@ module Aws::Connect
10904
10989
  #
10905
10990
  # @option params [Hash<String,Types::Reference>] :references
10906
10991
  # A formatted URL that is shown to an agent in the Contact Control Panel
10907
- # (CCP).
10992
+ # (CCP). Tasks can have the following reference types at the time of
10993
+ # creation: `URL` \| `NUMBER` \| `STRING` \| `DATE` \| `EMAIL`.
10994
+ # `ATTACHMENT` is not a supported reference type during task creation.
10908
10995
  #
10909
10996
  # @option params [String] :description
10910
10997
  # A description of the task that is shown to an agent in the Contact
@@ -10929,13 +11016,32 @@ module Aws::Connect
10929
11016
  # within up to 6 days in future.
10930
11017
  #
10931
11018
  # @option params [String] :task_template_id
10932
- # A unique identifier for the task template.
11019
+ # A unique identifier for the task template. For more information about
11020
+ # task templates, see [Create task templates][1] in the *Amazon Connect
11021
+ # Administrator Guide*.
11022
+ #
11023
+ #
11024
+ #
11025
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html
10933
11026
  #
10934
11027
  # @option params [String] :quick_connect_id
10935
- # The identifier for the quick connect.
11028
+ # The identifier for the quick connect. Tasks that are created by using
11029
+ # `QuickConnectId` will use the flow that is defined on agent or queue
11030
+ # quick connect. For more information about quick connects, see [Create
11031
+ # quick connects][1].
11032
+ #
11033
+ #
11034
+ #
11035
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/quick-connects.html
10936
11036
  #
10937
11037
  # @option params [String] :related_contact_id
10938
- # The contactId that is [related][1] to this contact.
11038
+ # The contactId that is [related][1] to this contact. Linking tasks
11039
+ # together by using `RelatedContactID` copies over contact attributes
11040
+ # from the related task contact to the new task contact. All updates to
11041
+ # user-defined attributes in the new task contact are limited to the
11042
+ # individual contact ID, unlike what happens when tasks are linked by
11043
+ # using `PreviousContactID`. There are no limits to the number of
11044
+ # contacts that can be linked by using `RelatedContactId`.
10939
11045
  #
10940
11046
  #
10941
11047
  #
@@ -11628,8 +11734,7 @@ module Aws::Connect
11628
11734
  #
11629
11735
  # @option params [required, String] :content
11630
11736
  # The JSON string that represents the content of the flow. For an
11631
- # example, see [Example contact flow in Amazon Connect Flow
11632
- # language][1].
11737
+ # example, see [Example flow in Amazon Connect Flow language][1].
11633
11738
  #
11634
11739
  # Length Constraints: Minimum length of 1. Maximum length of 256000.
11635
11740
  #
@@ -11715,8 +11820,7 @@ module Aws::Connect
11715
11820
  #
11716
11821
  # @option params [required, String] :content
11717
11822
  # The JSON string that represents the content of the flow. For an
11718
- # example, see [Example contact flow in Amazon Connect Flow
11719
- # language][1].
11823
+ # example, see [Example flow in Amazon Connect Flow language][1].
11720
11824
  #
11721
11825
  #
11722
11826
  #
@@ -12320,6 +12424,53 @@ module Aws::Connect
12320
12424
  req.send_request(options)
12321
12425
  end
12322
12426
 
12427
+ # Updates a phone number’s metadata.
12428
+ #
12429
+ # To verify the status of a previous UpdatePhoneNumberMetadata
12430
+ # operation, call the [DescribePhoneNumber][1] API.
12431
+ #
12432
+ #
12433
+ #
12434
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html
12435
+ #
12436
+ # @option params [required, String] :phone_number_id
12437
+ # The Amazon Resource Name (ARN) or resource ID of the phone number.
12438
+ #
12439
+ # @option params [String] :phone_number_description
12440
+ # The description of the phone number.
12441
+ #
12442
+ # @option params [String] :client_token
12443
+ # A unique, case-sensitive identifier that you provide to ensure the
12444
+ # idempotency of the request. If not provided, the Amazon Web Services
12445
+ # SDK populates this field. For more information about idempotency, see
12446
+ # [Making retries safe with idempotent APIs][1].
12447
+ #
12448
+ # **A suitable default value is auto-generated.** You should normally
12449
+ # not need to pass this option.**
12450
+ #
12451
+ #
12452
+ #
12453
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
12454
+ #
12455
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12456
+ #
12457
+ # @example Request syntax with placeholder values
12458
+ #
12459
+ # resp = client.update_phone_number_metadata({
12460
+ # phone_number_id: "PhoneNumberId", # required
12461
+ # phone_number_description: "PhoneNumberDescription",
12462
+ # client_token: "ClientToken",
12463
+ # })
12464
+ #
12465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumberMetadata AWS API Documentation
12466
+ #
12467
+ # @overload update_phone_number_metadata(params = {})
12468
+ # @param [Hash] params ({})
12469
+ def update_phone_number_metadata(params = {}, options = {})
12470
+ req = build_request(:update_phone_number_metadata, params)
12471
+ req.send_request(options)
12472
+ end
12473
+
12323
12474
  # Updates a prompt.
12324
12475
  #
12325
12476
  # @option params [required, String] :instance_id
@@ -13202,7 +13353,7 @@ module Aws::Connect
13202
13353
  # Updates the traffic distribution for a given traffic distribution
13203
13354
  # group.
13204
13355
  #
13205
- # <note markdown="1"> You can change the `SignInConfig` distribution only for a default
13356
+ # <note markdown="1"> The `SignInConfig` distribution is available only on a default
13206
13357
  # `TrafficDistributionGroup` (see the `IsDefault` parameter in the
13207
13358
  # [TrafficDistributionGroup][1] data type). If you call
13208
13359
  # `UpdateTrafficDistribution` with a modified `SignInConfig` and a
@@ -13230,7 +13381,8 @@ module Aws::Connect
13230
13381
  # The distribution of traffic between the instance and its replica(s).
13231
13382
  #
13232
13383
  # @option params [Types::SignInConfig] :sign_in_config
13233
- # The distribution of allowing signing in to the instance and its
13384
+ # The distribution that determines which Amazon Web Services Regions
13385
+ # should be used to sign in agents in to both the instance and its
13234
13386
  # replica(s).
13235
13387
  #
13236
13388
  # @option params [Types::AgentConfig] :agent_config
@@ -13678,7 +13830,7 @@ module Aws::Connect
13678
13830
  params: params,
13679
13831
  config: config)
13680
13832
  context[:gem_name] = 'aws-sdk-connect'
13681
- context[:gem_version] = '1.129.0'
13833
+ context[:gem_version] = '1.130.0'
13682
13834
  Seahorse::Client::Request.new(handlers, context)
13683
13835
  end
13684
13836
 
@@ -911,6 +911,7 @@ module Aws::Connect
911
911
  UpdateParticipantRoleConfigChannelInfo = Shapes::UnionShape.new(name: 'UpdateParticipantRoleConfigChannelInfo')
912
912
  UpdateParticipantRoleConfigRequest = Shapes::StructureShape.new(name: 'UpdateParticipantRoleConfigRequest')
913
913
  UpdateParticipantRoleConfigResponse = Shapes::StructureShape.new(name: 'UpdateParticipantRoleConfigResponse')
914
+ UpdatePhoneNumberMetadataRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberMetadataRequest')
914
915
  UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
915
916
  UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
916
917
  UpdatePromptRequest = Shapes::StructureShape.new(name: 'UpdatePromptRequest')
@@ -1629,7 +1630,7 @@ module Aws::Connect
1629
1630
 
1630
1631
  DeleteEvaluationFormRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1631
1632
  DeleteEvaluationFormRequest.add_member(:evaluation_form_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "EvaluationFormId"))
1632
- DeleteEvaluationFormRequest.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, location: "querystring", location_name: "version"))
1633
+ DeleteEvaluationFormRequest.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, location: "querystring", location_name: "version", metadata: {"box"=>true}))
1633
1634
  DeleteEvaluationFormRequest.struct_class = Types::DeleteEvaluationFormRequest
1634
1635
 
1635
1636
  DeleteHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -1751,7 +1752,7 @@ module Aws::Connect
1751
1752
 
1752
1753
  DescribeEvaluationFormRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1753
1754
  DescribeEvaluationFormRequest.add_member(:evaluation_form_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "EvaluationFormId"))
1754
- DescribeEvaluationFormRequest.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, location: "querystring", location_name: "version"))
1755
+ DescribeEvaluationFormRequest.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, location: "querystring", location_name: "version", metadata: {"box"=>true}))
1755
1756
  DescribeEvaluationFormRequest.struct_class = Types::DescribeEvaluationFormRequest
1756
1757
 
1757
1758
  DescribeEvaluationFormResponse.add_member(:evaluation_form, Shapes::ShapeRef.new(shape: EvaluationForm, required: true, location_name: "EvaluationForm"))
@@ -2109,7 +2110,7 @@ module Aws::Connect
2109
2110
  EvaluationFormSummary.add_member(:last_activated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastActivatedTime"))
2110
2111
  EvaluationFormSummary.add_member(:last_activated_by, Shapes::ShapeRef.new(shape: ARN, location_name: "LastActivatedBy"))
2111
2112
  EvaluationFormSummary.add_member(:latest_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "LatestVersion"))
2112
- EvaluationFormSummary.add_member(:active_version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "ActiveVersion"))
2113
+ EvaluationFormSummary.add_member(:active_version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "ActiveVersion", metadata: {"box"=>true}))
2113
2114
  EvaluationFormSummary.struct_class = Types::EvaluationFormSummary
2114
2115
 
2115
2116
  EvaluationFormSummaryList.member = Shapes::ShapeRef.new(shape: EvaluationFormSummary)
@@ -3875,7 +3876,7 @@ module Aws::Connect
3875
3876
  UpdateEvaluationFormRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
3876
3877
  UpdateEvaluationFormRequest.add_member(:evaluation_form_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "EvaluationFormId"))
3877
3878
  UpdateEvaluationFormRequest.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "EvaluationFormVersion"))
3878
- UpdateEvaluationFormRequest.add_member(:create_new_version, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "CreateNewVersion"))
3879
+ UpdateEvaluationFormRequest.add_member(:create_new_version, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "CreateNewVersion", metadata: {"box"=>true}))
3879
3880
  UpdateEvaluationFormRequest.add_member(:title, Shapes::ShapeRef.new(shape: EvaluationFormTitle, required: true, location_name: "Title"))
3880
3881
  UpdateEvaluationFormRequest.add_member(:description, Shapes::ShapeRef.new(shape: EvaluationFormDescription, location_name: "Description"))
3881
3882
  UpdateEvaluationFormRequest.add_member(:items, Shapes::ShapeRef.new(shape: EvaluationFormItemsList, required: true, location_name: "Items"))
@@ -3920,6 +3921,11 @@ module Aws::Connect
3920
3921
 
3921
3922
  UpdateParticipantRoleConfigResponse.struct_class = Types::UpdateParticipantRoleConfigResponse
3922
3923
 
3924
+ UpdatePhoneNumberMetadataRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
3925
+ UpdatePhoneNumberMetadataRequest.add_member(:phone_number_description, Shapes::ShapeRef.new(shape: PhoneNumberDescription, location_name: "PhoneNumberDescription"))
3926
+ UpdatePhoneNumberMetadataRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3927
+ UpdatePhoneNumberMetadataRequest.struct_class = Types::UpdatePhoneNumberMetadataRequest
3928
+
3923
3929
  UpdatePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
3924
3930
  UpdatePhoneNumberRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
3925
3931
  UpdatePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
@@ -7082,6 +7088,22 @@ module Aws::Connect
7082
7088
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7083
7089
  end)
7084
7090
 
7091
+ api.add_operation(:update_phone_number_metadata, Seahorse::Model::Operation.new.tap do |o|
7092
+ o.name = "UpdatePhoneNumberMetadata"
7093
+ o.http_method = "PUT"
7094
+ o.http_request_uri = "/phone-number/{PhoneNumberId}/metadata"
7095
+ o.input = Shapes::ShapeRef.new(shape: UpdatePhoneNumberMetadataRequest)
7096
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
7097
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7098
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7099
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7100
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7101
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
7102
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
7103
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7104
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7105
+ end)
7106
+
7085
7107
  api.add_operation(:update_prompt, Seahorse::Model::Operation.new.tap do |o|
7086
7108
  o.name = "UpdatePrompt"
7087
7109
  o.http_method = "POST"
@@ -32,8 +32,8 @@ module Aws::Connect
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -2588,6 +2588,20 @@ module Aws::Connect
2588
2588
  end
2589
2589
  end
2590
2590
 
2591
+ class UpdatePhoneNumberMetadata
2592
+ def self.build(context)
2593
+ unless context.config.regional_endpoint
2594
+ endpoint = context.config.endpoint.to_s
2595
+ end
2596
+ Aws::Connect::EndpointParameters.new(
2597
+ region: context.config.region,
2598
+ use_dual_stack: context.config.use_dualstack_endpoint,
2599
+ use_fips: context.config.use_fips_endpoint,
2600
+ endpoint: endpoint,
2601
+ )
2602
+ end
2603
+ end
2604
+
2591
2605
  class UpdatePrompt
2592
2606
  def self.build(context)
2593
2607
  unless context.config.regional_endpoint
@@ -424,6 +424,8 @@ module Aws::Connect
424
424
  Aws::Connect::Endpoints::UpdateParticipantRoleConfig.build(context)
425
425
  when :update_phone_number
426
426
  Aws::Connect::Endpoints::UpdatePhoneNumber.build(context)
427
+ when :update_phone_number_metadata
428
+ Aws::Connect::Endpoints::UpdatePhoneNumberMetadata.build(context)
427
429
  when :update_prompt
428
430
  Aws::Connect::Endpoints::UpdatePrompt.build(context)
429
431
  when :update_queue_hours_of_operation
@@ -899,15 +899,16 @@ module Aws::Connect
899
899
  # @!attribute [rw] phone_number_status
900
900
  # The status of the phone number.
901
901
  #
902
- # * `CLAIMED` means the previous [ClaimedPhoneNumber][1] or
902
+ # * `CLAIMED` means the previous [ClaimPhoneNumber][1] or
903
903
  # [UpdatePhoneNumber][2] operation succeeded.
904
904
  #
905
- # * `IN_PROGRESS` means a [ClaimedPhoneNumber][1] or
906
- # [UpdatePhoneNumber][2] operation is still in progress and has not
907
- # yet completed. You can call [DescribePhoneNumber][3] at a later
908
- # time to verify if the previous operation has completed.
905
+ # * `IN_PROGRESS` means a [ClaimPhoneNumber][1],
906
+ # [UpdatePhoneNumber][2], or [UpdatePhoneNumberMetadata][3]
907
+ # operation is still in progress and has not yet completed. You can
908
+ # call [DescribePhoneNumber][4] at a later time to verify if the
909
+ # previous operation has completed.
909
910
  #
910
- # * `FAILED` indicates that the previous [ClaimedPhoneNumber][1] or
911
+ # * `FAILED` indicates that the previous [ClaimPhoneNumber][1] or
911
912
  # [UpdatePhoneNumber][2] operation has failed. It will include a
912
913
  # message indicating the failure reason. A common reason for a
913
914
  # failure may be that the `TargetArn` value you are claiming or
@@ -924,9 +925,10 @@ module Aws::Connect
924
925
  #
925
926
  #
926
927
  #
927
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html
928
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html
928
929
  # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html
929
- # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html
930
+ # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html
931
+ # [4]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html
930
932
  # @return [Types::PhoneNumberStatus]
931
933
  #
932
934
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimedPhoneNumberSummary AWS API Documentation
@@ -1106,8 +1108,9 @@ module Aws::Connect
1106
1108
  #
1107
1109
  # @!attribute [rw] content
1108
1110
  # The JSON string that represents the content of the flow. For an
1109
- # example, see [Example contact flow in Amazon Connect Flow
1110
- # language][1].
1111
+ # example, see [Example flow in Amazon Connect Flow language][1].
1112
+ #
1113
+ # Length Constraints: Minimum length of 1. Maximum length of 256000.
1111
1114
  #
1112
1115
  #
1113
1116
  #
@@ -1151,10 +1154,7 @@ module Aws::Connect
1151
1154
  #
1152
1155
  # @!attribute [rw] content
1153
1156
  # The JSON string that represents the content of the flow. For an
1154
- # example, see [Example contact flow in Amazon Connect Flow
1155
- # language][1].
1156
- #
1157
- # Length Constraints: Minimum length of 1. Maximum length of 256000.
1157
+ # example, see [Example flow in Amazon Connect Flow language][1].
1158
1158
  #
1159
1159
  #
1160
1160
  #
@@ -1405,7 +1405,12 @@ module Aws::Connect
1405
1405
  # @return [String]
1406
1406
  #
1407
1407
  # @!attribute [rw] content
1408
- # The content of the flow module.
1408
+ # The JSON string that represents the content of the flow. For an
1409
+ # example, see [Example flow in Amazon Connect Flow language][1].
1410
+ #
1411
+ #
1412
+ #
1413
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html
1409
1414
  # @return [String]
1410
1415
  #
1411
1416
  # @!attribute [rw] tags
@@ -1481,8 +1486,7 @@ module Aws::Connect
1481
1486
  #
1482
1487
  # @!attribute [rw] content
1483
1488
  # The JSON string that represents the content of the flow. For an
1484
- # example, see [Example contact flow in Amazon Connect Flow
1485
- # language][1].
1489
+ # example, see [Example flow in Amazon Connect Flow language][1].
1486
1490
  #
1487
1491
  # Length Constraints: Minimum length of 1. Maximum length of 256000.
1488
1492
  #
@@ -7097,7 +7101,8 @@ module Aws::Connect
7097
7101
  # @return [String]
7098
7102
  #
7099
7103
  # @!attribute [rw] sign_in_config
7100
- # The distribution of allowing signing in to the instance and its
7104
+ # The distribution that determines which Amazon Web Services Regions
7105
+ # should be used to sign in agents in to both the instance and its
7101
7106
  # replica(s).
7102
7107
  # @return [Types::SignInConfig]
7103
7108
  #
@@ -10741,15 +10746,15 @@ module Aws::Connect
10741
10746
 
10742
10747
  # The status of the phone number.
10743
10748
  #
10744
- # * `CLAIMED` means the previous [ClaimedPhoneNumber][1] or
10749
+ # * `CLAIMED` means the previous [ClaimPhoneNumber][1] or
10745
10750
  # [UpdatePhoneNumber][2] operation succeeded.
10746
10751
  #
10747
- # * `IN_PROGRESS` means a [ClaimedPhoneNumber][1] or
10748
- # [UpdatePhoneNumber][2] operation is still in progress and has not
10749
- # yet completed. You can call [DescribePhoneNumber][3] at a later time
10750
- # to verify if the previous operation has completed.
10752
+ # * `IN_PROGRESS` means a [ClaimPhoneNumber][1], [UpdatePhoneNumber][2],
10753
+ # or [UpdatePhoneNumberMetadata][3] operation is still in progress and
10754
+ # has not yet completed. You can call [DescribePhoneNumber][4] at a
10755
+ # later time to verify if the previous operation has completed.
10751
10756
  #
10752
- # * `FAILED` indicates that the previous [ClaimedPhoneNumber][1] or
10757
+ # * `FAILED` indicates that the previous [ClaimPhoneNumber][1] or
10753
10758
  # [UpdatePhoneNumber][2] operation has failed. It will include a
10754
10759
  # message indicating the failure reason. A common reason for a failure
10755
10760
  # may be that the `TargetArn` value you are claiming or updating a
@@ -10761,9 +10766,10 @@ module Aws::Connect
10761
10766
  #
10762
10767
  #
10763
10768
  #
10764
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html
10769
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html
10765
10770
  # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html
10766
- # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html
10771
+ # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html
10772
+ # [4]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html
10767
10773
  #
10768
10774
  # @!attribute [rw] status
10769
10775
  # The status.
@@ -12720,6 +12726,11 @@ module Aws::Connect
12720
12726
  # The identifier of the Amazon Connect instance. You can [find the
12721
12727
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
12722
12728
  #
12729
+ # <note markdown="1"> InstanceID is a required field. The "Required: No" below is
12730
+ # incorrect.
12731
+ #
12732
+ # </note>
12733
+ #
12723
12734
  #
12724
12735
  #
12725
12736
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
@@ -13110,7 +13121,8 @@ module Aws::Connect
13110
13121
  include Aws::Structure
13111
13122
  end
13112
13123
 
13113
- # The distribution of allowing signing in to the instance and its
13124
+ # The distribution that determines which Amazon Web Services Regions
13125
+ # should be used to sign in agents in to both the instance and its
13114
13126
  # replica(s).
13115
13127
  #
13116
13128
  # @!attribute [rw] distributions
@@ -13598,7 +13610,10 @@ module Aws::Connect
13598
13610
  # @return [String]
13599
13611
  #
13600
13612
  # @!attribute [rw] previous_contact_id
13601
- # The identifier of the previous chat, voice, or task contact.
13613
+ # The identifier of the previous chat, voice, or task contact. Any
13614
+ # updates to user-defined attributes to task contacts linked using the
13615
+ # same `PreviousContactID` will affect every contact in the chain.
13616
+ # There can be a maximum of 12 linked task contacts in a chain.
13602
13617
  # @return [String]
13603
13618
  #
13604
13619
  # @!attribute [rw] contact_flow_id
@@ -13629,7 +13644,10 @@ module Aws::Connect
13629
13644
  #
13630
13645
  # @!attribute [rw] references
13631
13646
  # A formatted URL that is shown to an agent in the Contact Control
13632
- # Panel (CCP).
13647
+ # Panel (CCP). Tasks can have the following reference types at the
13648
+ # time of creation: `URL` \| `NUMBER` \| `STRING` \| `DATE` \|
13649
+ # `EMAIL`. `ATTACHMENT` is not a supported reference type during task
13650
+ # creation.
13633
13651
  # @return [Hash<String,Types::Reference>]
13634
13652
  #
13635
13653
  # @!attribute [rw] description
@@ -13658,15 +13676,34 @@ module Aws::Connect
13658
13676
  # @return [Time]
13659
13677
  #
13660
13678
  # @!attribute [rw] task_template_id
13661
- # A unique identifier for the task template.
13679
+ # A unique identifier for the task template. For more information
13680
+ # about task templates, see [Create task templates][1] in the *Amazon
13681
+ # Connect Administrator Guide*.
13682
+ #
13683
+ #
13684
+ #
13685
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html
13662
13686
  # @return [String]
13663
13687
  #
13664
13688
  # @!attribute [rw] quick_connect_id
13665
- # The identifier for the quick connect.
13689
+ # The identifier for the quick connect. Tasks that are created by
13690
+ # using `QuickConnectId` will use the flow that is defined on agent or
13691
+ # queue quick connect. For more information about quick connects, see
13692
+ # [Create quick connects][1].
13693
+ #
13694
+ #
13695
+ #
13696
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/quick-connects.html
13666
13697
  # @return [String]
13667
13698
  #
13668
13699
  # @!attribute [rw] related_contact_id
13669
- # The contactId that is [related][1] to this contact.
13700
+ # The contactId that is [related][1] to this contact. Linking tasks
13701
+ # together by using `RelatedContactID` copies over contact attributes
13702
+ # from the related task contact to the new task contact. All updates
13703
+ # to user-defined attributes in the new task contact are limited to
13704
+ # the individual contact ID, unlike what happens when tasks are linked
13705
+ # by using `PreviousContactID`. There are no limits to the number of
13706
+ # contacts that can be linked by using `RelatedContactId`.
13670
13707
  #
13671
13708
  #
13672
13709
  #
@@ -14325,14 +14362,14 @@ module Aws::Connect
14325
14362
  # [DeleteTrafficDistributionGroup][2] operation has failed.
14326
14363
  #
14327
14364
  # * `UPDATE_IN_PROGRESS` means the previous
14328
- # [UpdateTrafficDistributionGroup][3] operation is still in progress
14329
- # and has not yet completed.
14365
+ # [UpdateTrafficDistribution][3] operation is still in progress and
14366
+ # has not yet completed.
14330
14367
  #
14331
14368
  #
14332
14369
  #
14333
14370
  # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html
14334
14371
  # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html
14335
- # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html
14372
+ # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistribution.html
14336
14373
  # @return [String]
14337
14374
  #
14338
14375
  # @!attribute [rw] tags
@@ -14348,18 +14385,13 @@ module Aws::Connect
14348
14385
  # default traffic distribution group is deleted as part of the process
14349
14386
  # for deleting a replica.
14350
14387
  #
14351
- # <note markdown="1"> You can change the `SignInConfig` distribution only for a default
14352
- # `TrafficDistributionGroup` (see the `IsDefault` parameter in the
14353
- # [TrafficDistributionGroup][1] data type). If you call
14354
- # `UpdateTrafficDistribution` with a modified `SignInConfig` and a
14355
- # non-default `TrafficDistributionGroup`, an `InvalidRequestException`
14356
- # is returned.
14388
+ # <note markdown="1"> The `SignInConfig` distribution is available only on the default
14389
+ # `TrafficDistributionGroup`. If you call `UpdateTrafficDistribution`
14390
+ # with a modified `SignInConfig` and a non-default
14391
+ # `TrafficDistributionGroup`, an `InvalidRequestException` is
14392
+ # returned.
14357
14393
  #
14358
14394
  # </note>
14359
- #
14360
- #
14361
- #
14362
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html
14363
14395
  # @return [Boolean]
14364
14396
  #
14365
14397
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TrafficDistributionGroup AWS API Documentation
@@ -14695,8 +14727,7 @@ module Aws::Connect
14695
14727
  #
14696
14728
  # @!attribute [rw] content
14697
14729
  # The JSON string that represents the content of the flow. For an
14698
- # example, see [Example contact flow in Amazon Connect Flow
14699
- # language][1].
14730
+ # example, see [Example flow in Amazon Connect Flow language][1].
14700
14731
  #
14701
14732
  # Length Constraints: Minimum length of 1. Maximum length of 256000.
14702
14733
  #
@@ -14775,8 +14806,7 @@ module Aws::Connect
14775
14806
  #
14776
14807
  # @!attribute [rw] content
14777
14808
  # The JSON string that represents the content of the flow. For an
14778
- # example, see [Example contact flow in Amazon Connect Flow
14779
- # language][1].
14809
+ # example, see [Example flow in Amazon Connect Flow language][1].
14780
14810
  #
14781
14811
  #
14782
14812
  #
@@ -15196,6 +15226,38 @@ module Aws::Connect
15196
15226
  #
15197
15227
  class UpdateParticipantRoleConfigResponse < Aws::EmptyStructure; end
15198
15228
 
15229
+ # @!attribute [rw] phone_number_id
15230
+ # The Amazon Resource Name (ARN) or resource ID of the phone number.
15231
+ # @return [String]
15232
+ #
15233
+ # @!attribute [rw] phone_number_description
15234
+ # The description of the phone number.
15235
+ # @return [String]
15236
+ #
15237
+ # @!attribute [rw] client_token
15238
+ # A unique, case-sensitive identifier that you provide to ensure the
15239
+ # idempotency of the request. If not provided, the Amazon Web Services
15240
+ # SDK populates this field. For more information about idempotency,
15241
+ # see [Making retries safe with idempotent APIs][1].
15242
+ #
15243
+ # **A suitable default value is auto-generated.** You should normally
15244
+ # not need to pass this option.
15245
+ #
15246
+ #
15247
+ #
15248
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
15249
+ # @return [String]
15250
+ #
15251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumberMetadataRequest AWS API Documentation
15252
+ #
15253
+ class UpdatePhoneNumberMetadataRequest < Struct.new(
15254
+ :phone_number_id,
15255
+ :phone_number_description,
15256
+ :client_token)
15257
+ SENSITIVE = []
15258
+ include Aws::Structure
15259
+ end
15260
+
15199
15261
  # @!attribute [rw] phone_number_id
15200
15262
  # A unique identifier for the phone number.
15201
15263
  # @return [String]
@@ -15900,7 +15962,8 @@ module Aws::Connect
15900
15962
  # @return [Types::TelephonyConfig]
15901
15963
  #
15902
15964
  # @!attribute [rw] sign_in_config
15903
- # The distribution of allowing signing in to the instance and its
15965
+ # The distribution that determines which Amazon Web Services Regions
15966
+ # should be used to sign in agents in to both the instance and its
15904
15967
  # replica(s).
15905
15968
  # @return [Types::SignInConfig]
15906
15969
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.129.0'
55
+ GEM_VERSION = '1.130.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.129.0
4
+ version: 1.130.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-03 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core