aws-sdk-connect 1.267.0 → 1.268.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e48ba59e0ecd75ec9310fba3b707650c30fe3c867bfe1123ce112530664ea99
4
- data.tar.gz: 705858df2f2dae658064ec4984964e43af66d3895585fa26d5e9a34797858558
3
+ metadata.gz: 2a480f7db53d3955f56634ab74561b23f1f6ea108372d02d757e88c2d1e0cc50
4
+ data.tar.gz: 79008df40d21b0956bf85aa740b45b44028e3d062935e9051ec574f23e5d271c
5
5
  SHA512:
6
- metadata.gz: e340109365daba7f9fdcf516eb75d80131b1239ea785c8b63fe6c98edfec6260596693722ff7e59346ebf49345af9bed900c9a046188b782f707a04e47d83391
7
- data.tar.gz: 2695b93e71ffbda66464c884e1a388783429f850ce8ea2fb60c8cf7c57ca27fc311e8db6db59fe941361543178cb78e454dad5b0caaf45ebbc931107ab3e8591
6
+ metadata.gz: '09caf5b9eea2827c8e315127033465630d6ced21f896a162295ad064f93d8d550c8e099f73c1fc7571acf96942abe072ee816ab40971a9faa432d4060b45e24c'
7
+ data.tar.gz: 96bdcc3ade8e27be795ae18b0f75cc6129dca1ab5902544d9826238bf15784cb7a1bc1ab519e12211977f2175eddf9a478fb1d5ea68b02e66c294d63389452b5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.268.0 (2026-08-07)
5
+ ------------------
6
+
7
+ * Feature - Supports updating the task template associated with in-progress task contacts using the new UpdateContactTaskTemplate API. This enables supervisors and developers to dynamically reassign task templates without creating a new task.
8
+
4
9
  1.267.0 (2026-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.267.0
1
+ 1.268.0
@@ -2020,7 +2020,7 @@ module Aws::Connect
2020
2020
  #
2021
2021
  # @option params [required, String] :associated_resource_arn
2022
2022
  # The resource to which the attached file is (being) uploaded to. The
2023
- # supported resources are [Cases][1] and [Email][2].
2023
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
2024
2024
  #
2025
2025
  # <note markdown="1"> This value must be a valid ARN.
2026
2026
  #
@@ -2030,6 +2030,7 @@ module Aws::Connect
2030
2030
  #
2031
2031
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
2032
2032
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
2033
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
2033
2034
  #
2034
2035
  # @return [Types::BatchGetAttachedFileMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2035
2036
  #
@@ -2429,7 +2430,7 @@ module Aws::Connect
2429
2430
  #
2430
2431
  # @option params [required, String] :associated_resource_arn
2431
2432
  # The resource to which the attached file is (being) uploaded to. The
2432
- # supported resources are [Cases][1] and [Email][2].
2433
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
2433
2434
  #
2434
2435
  # <note markdown="1"> This value must be a valid ARN.
2435
2436
  #
@@ -2439,6 +2440,7 @@ module Aws::Connect
2439
2440
  #
2440
2441
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
2441
2442
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
2443
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
2442
2444
  #
2443
2445
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2444
2446
  #
@@ -6306,8 +6308,8 @@ module Aws::Connect
6306
6308
  # The unique identifier of the attached file resource.
6307
6309
  #
6308
6310
  # @option params [required, String] :associated_resource_arn
6309
- # The resource to which the attached file is (being) uploaded to.
6310
- # [Cases][1] are the only current supported resource.
6311
+ # The resource to which the attached file is (being) uploaded to. The
6312
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
6311
6313
  #
6312
6314
  # <note markdown="1"> This value must be a valid ARN.
6313
6315
  #
@@ -6315,7 +6317,9 @@ module Aws::Connect
6315
6317
  #
6316
6318
  #
6317
6319
  #
6318
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
6320
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
6321
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
6322
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
6319
6323
  #
6320
6324
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6321
6325
  #
@@ -6338,17 +6342,16 @@ module Aws::Connect
6338
6342
 
6339
6343
  # Deletes the specified fields containing personally identifiable
6340
6344
  # information (PII) from a contact in the specified Connect Customer
6341
- # instance. This operation redacts PII (such as customer endpoints,
6342
- # additional email recipients, and the email subject) from the contact
6343
- # and its associated contact trace record (CTR). The contact must be in
6344
- # a terminated state.
6345
+ # instance. We redact PII (such as customer endpoints, additional email
6346
+ # recipients, and the email subject) from the contact and its associated
6347
+ # contact trace record (CTR). The contact must be in a terminated state.
6345
6348
  #
6346
- # This operation performs a hard deletion of the specified PII and
6347
- # cannot be undone. There is no retention period; after the data is
6348
- # deleted, it cannot be recovered. Only fields that Connect Customer
6349
- # identifies and stores as PII are removed. Any PII that you place in
6350
- # fields outside the scope of this operation remains your responsibility
6351
- # to remove.
6349
+ # **This deletion is permanent and cannot be undone.** Performing this
6350
+ # operation permanently deletes the specified PII. There is no retention
6351
+ # period; you cannot recover the data after deletion. We remove only the
6352
+ # fields that Connect Customer identifies and stores as PII. Any PII
6353
+ # that you place in fields outside the scope of this operation remains
6354
+ # your responsibility to remove.
6352
6355
  #
6353
6356
  # @option params [required, String] :instance_id
6354
6357
  # The identifier of the Connect Customer instance. You can [find the
@@ -6359,14 +6362,20 @@ module Aws::Connect
6359
6362
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6360
6363
  #
6361
6364
  # @option params [required, String] :contact_id
6362
- # The identifier of the contact. PII can be deleted only from a contact
6365
+ # The identifier of the contact. You can delete PII only from a contact
6363
6366
  # that has been disconnected (is in a terminated state).
6364
6367
  #
6365
6368
  # @option params [required, Array<String>] :contact_fields
6366
- # The categories of PII to redact from the contact. Valid values are
6367
- # `CUSTOMER_ENDPOINT`, `ADDITIONAL_EMAIL_RECIPIENTS`, and
6368
- # `EMAIL_SUBJECT`. `ADDITIONAL_EMAIL_RECIPIENTS` and `EMAIL_SUBJECT` are
6369
- # supported only for contacts in the email channel.
6369
+ # The categories of PII to redact from the contact. Specify one or more
6370
+ # of the following values:
6371
+ #
6372
+ # * `CUSTOMER_ENDPOINT` The customer's contact endpoint.
6373
+ #
6374
+ # * `ADDITIONAL_EMAIL_RECIPIENTS` – Additional recipients on an email
6375
+ # contact (email channel only).
6376
+ #
6377
+ # * `EMAIL_SUBJECT` – The subject line of an email contact (email
6378
+ # channel only).
6370
6379
  #
6371
6380
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6372
6381
  #
@@ -11131,7 +11140,7 @@ module Aws::Connect
11131
11140
  #
11132
11141
  # @option params [required, String] :associated_resource_arn
11133
11142
  # The resource to which the attached file is (being) uploaded to. The
11134
- # supported resources are [Cases][1] and [Email][2].
11143
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
11135
11144
  #
11136
11145
  # <note markdown="1"> This value must be a valid ARN.
11137
11146
  #
@@ -11141,6 +11150,7 @@ module Aws::Connect
11141
11150
  #
11142
11151
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
11143
11152
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
11153
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
11144
11154
  #
11145
11155
  # @return [Types::GetAttachedFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11146
11156
  #
@@ -23417,13 +23427,14 @@ module Aws::Connect
23417
23427
  # Provides a pre-signed Amazon S3 URL in response for uploading your
23418
23428
  # content.
23419
23429
  #
23420
- # You may only use this API to upload attachments to an [Connect
23421
- # Customer Case][1] or [Connect Customer Email][2].
23430
+ # You may only use this API to upload attachments to a [Connect Customer
23431
+ # Case][1], [Connect Customer Email][2], or [Connect Customer Task][3].
23422
23432
  #
23423
23433
  #
23424
23434
  #
23425
23435
  # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
23426
23436
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
23437
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
23427
23438
  #
23428
23439
  # @option params [String] :client_token
23429
23440
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -23458,7 +23469,7 @@ module Aws::Connect
23458
23469
  #
23459
23470
  # @option params [required, String] :associated_resource_arn
23460
23471
  # The resource to which the attached file is (being) uploaded to. The
23461
- # supported resources are [Cases][1] and [Email][2].
23472
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
23462
23473
  #
23463
23474
  # <note markdown="1"> This value must be a valid ARN.
23464
23475
  #
@@ -23468,6 +23479,7 @@ module Aws::Connect
23468
23479
  #
23469
23480
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
23470
23481
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
23482
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
23471
23483
  #
23472
23484
  # @option params [Types::CreatedByInfo] :created_by
23473
23485
  # Represents the identity that created the file.
@@ -26872,6 +26884,92 @@ module Aws::Connect
26872
26884
  req.send_request(options)
26873
26885
  end
26874
26886
 
26887
+ # Updates the task template association on an existing task contact. You
26888
+ # can update the task template on a contact before assignment to support
26889
+ # tasks that are created without a template (for example [Rules][1] or
26890
+ # [disconnect flows][2]) or change the agent interaction form to
26891
+ # represent the latest task data (for example an initial request that
26892
+ # was submitted as a refund gets updated to an account cancellation and
26893
+ # requires a new template).
26894
+ #
26895
+ # This operation can only be used with task contacts that are in
26896
+ # progress and not connected to an agent. A task template can be updated
26897
+ # a maximum of 5 times per contact.
26898
+ #
26899
+ # The task's references must be compatible with the fields of the
26900
+ # target task template. If the target template has a required field, the
26901
+ # task must have a corresponding reference with a matching name and
26902
+ # compatible type. The following task template field types map to
26903
+ # reference types:
26904
+ #
26905
+ # * `TEXT`, `TEXT_AREA`, `BOOLEAN`, and `SINGLE_SELECT` map to
26906
+ # references of type `STRING`.
26907
+ #
26908
+ # * `NUMBER` maps to references of type `NUMBER`.
26909
+ #
26910
+ # * `DATE_TIME` maps to references of type `DATE`.
26911
+ #
26912
+ # * `URL` maps to references of type `URL`.
26913
+ #
26914
+ # * `EMAIL` maps to references of type `EMAIL`.
26915
+ #
26916
+ # References corresponding to `TEXT` fields must be fewer than 512
26917
+ # characters. `TEXT_AREA` fields must be fewer than 4,096 characters.
26918
+ # `BOOLEAN` fields must have a value of `true` or `false`.
26919
+ #
26920
+ # An `InvalidRequestException` occurs when `UpdateContactTaskTemplate`
26921
+ # is called on a connected or terminated task, when it is called on
26922
+ # non-task contacts, and when the task contact already uses the provided
26923
+ # task template. A `PropertyValidationException` occurs when the task's
26924
+ # references conflict with the task template's fields, for example if
26925
+ # the task is missing a reference that matches a required field, or if
26926
+ # the task has a reference that matches a required field's name but not
26927
+ # its datatype.
26928
+ #
26929
+ #
26930
+ #
26931
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/connect-rules.html
26932
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/set-disconnect-flow.html
26933
+ #
26934
+ # @option params [required, String] :instance_id
26935
+ # The identifier of the Connect Customer instance. You can [find the
26936
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
26937
+ #
26938
+ #
26939
+ #
26940
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
26941
+ #
26942
+ # @option params [required, String] :task_template_id
26943
+ # A unique identifier for the task template. For more information about
26944
+ # task templates, see [Task templates][1] in the *Connect Customer
26945
+ # Administrator Guide*.
26946
+ #
26947
+ #
26948
+ #
26949
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html
26950
+ #
26951
+ # @option params [required, String] :contact_id
26952
+ # The identifier of the contact in this instance of Connect Customer.
26953
+ #
26954
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
26955
+ #
26956
+ # @example Request syntax with placeholder values
26957
+ #
26958
+ # resp = client.update_contact_task_template({
26959
+ # instance_id: "InstanceId", # required
26960
+ # task_template_id: "TaskTemplateId", # required
26961
+ # contact_id: "ContactId", # required
26962
+ # })
26963
+ #
26964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactTaskTemplate AWS API Documentation
26965
+ #
26966
+ # @overload update_contact_task_template(params = {})
26967
+ # @param [Hash] params ({})
26968
+ def update_contact_task_template(params = {}, options = {})
26969
+ req = build_request(:update_contact_task_template, params)
26970
+ req.send_request(options)
26971
+ end
26972
+
26875
26973
  # Updates all properties for an attribute using all properties from
26876
26974
  # CreateDataTableAttribute. There are no other granular update
26877
26975
  # endpoints. It does not act as a patch operation - all properties must
@@ -30193,7 +30291,7 @@ module Aws::Connect
30193
30291
  tracer: tracer
30194
30292
  )
30195
30293
  context[:gem_name] = 'aws-sdk-connect'
30196
- context[:gem_version] = '1.267.0'
30294
+ context[:gem_version] = '1.268.0'
30197
30295
  Seahorse::Client::Request.new(handlers, context)
30198
30296
  end
30199
30297
 
@@ -2038,6 +2038,8 @@ module Aws::Connect
2038
2038
  UpdateContactRoutingDataResponse = Shapes::StructureShape.new(name: 'UpdateContactRoutingDataResponse')
2039
2039
  UpdateContactScheduleRequest = Shapes::StructureShape.new(name: 'UpdateContactScheduleRequest')
2040
2040
  UpdateContactScheduleResponse = Shapes::StructureShape.new(name: 'UpdateContactScheduleResponse')
2041
+ UpdateContactTaskTemplateRequest = Shapes::StructureShape.new(name: 'UpdateContactTaskTemplateRequest')
2042
+ UpdateContactTaskTemplateResponse = Shapes::StructureShape.new(name: 'UpdateContactTaskTemplateResponse')
2041
2043
  UpdateDataTableAttributeRequest = Shapes::StructureShape.new(name: 'UpdateDataTableAttributeRequest')
2042
2044
  UpdateDataTableAttributeResponse = Shapes::StructureShape.new(name: 'UpdateDataTableAttributeResponse')
2043
2045
  UpdateDataTableMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDataTableMetadataRequest')
@@ -8997,6 +8999,13 @@ module Aws::Connect
8997
8999
 
8998
9000
  UpdateContactScheduleResponse.struct_class = Types::UpdateContactScheduleResponse
8999
9001
 
9002
+ UpdateContactTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
9003
+ UpdateContactTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location_name: "TaskTemplateId"))
9004
+ UpdateContactTaskTemplateRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
9005
+ UpdateContactTaskTemplateRequest.struct_class = Types::UpdateContactTaskTemplateRequest
9006
+
9007
+ UpdateContactTaskTemplateResponse.struct_class = Types::UpdateContactTaskTemplateResponse
9008
+
9000
9009
  UpdateDataTableAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
9001
9010
  UpdateDataTableAttributeRequest.add_member(:data_table_id, Shapes::ShapeRef.new(shape: DataTableId, required: true, location: "uri", location_name: "DataTableId"))
9002
9011
  UpdateDataTableAttributeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: DataTableName, required: true, location: "uri", location_name: "AttributeName"))
@@ -14878,6 +14887,21 @@ module Aws::Connect
14878
14887
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
14879
14888
  end)
14880
14889
 
14890
+ api.add_operation(:update_contact_task_template, Seahorse::Model::Operation.new.tap do |o|
14891
+ o.name = "UpdateContactTaskTemplate"
14892
+ o.http_method = "POST"
14893
+ o.http_request_uri = "/contact/task-template"
14894
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactTaskTemplateRequest)
14895
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactTaskTemplateResponse)
14896
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
14897
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
14898
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
14899
+ o.errors << Shapes::ShapeRef.new(shape: PropertyValidationException)
14900
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
14901
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
14902
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
14903
+ end)
14904
+
14881
14905
  api.add_operation(:update_data_table_attribute, Seahorse::Model::Operation.new.tap do |o|
14882
14906
  o.name = "UpdateDataTableAttribute"
14883
14907
  o.http_method = "POST"
@@ -1812,8 +1812,8 @@ module Aws::Connect
1812
1812
  # @return [String]
1813
1813
  #
1814
1814
  # @!attribute [rw] associated_resource_arn
1815
- # The resource to which the attached file is (being) uploaded to.
1816
- # [Cases][1] are the only current supported resource.
1815
+ # The resource to which the attached file is (being) uploaded to. The
1816
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
1817
1817
  #
1818
1818
  # <note markdown="1"> This value must be a valid ARN.
1819
1819
  #
@@ -1821,7 +1821,9 @@ module Aws::Connect
1821
1821
  #
1822
1822
  #
1823
1823
  #
1824
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
1824
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
1825
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
1826
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
1825
1827
  # @return [String]
1826
1828
  #
1827
1829
  # @!attribute [rw] tags
@@ -2825,7 +2827,7 @@ module Aws::Connect
2825
2827
  #
2826
2828
  # @!attribute [rw] associated_resource_arn
2827
2829
  # The resource to which the attached file is (being) uploaded to. The
2828
- # supported resources are [Cases][1] and [Email][2].
2830
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
2829
2831
  #
2830
2832
  # <note markdown="1"> This value must be a valid ARN.
2831
2833
  #
@@ -2835,6 +2837,7 @@ module Aws::Connect
2835
2837
  #
2836
2838
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
2837
2839
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
2840
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
2838
2841
  # @return [String]
2839
2842
  #
2840
2843
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchGetAttachedFileMetadataRequest AWS API Documentation
@@ -3559,7 +3562,7 @@ module Aws::Connect
3559
3562
  #
3560
3563
  # @!attribute [rw] associated_resource_arn
3561
3564
  # The resource to which the attached file is (being) uploaded to. The
3562
- # supported resources are [Cases][1] and [Email][2].
3565
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
3563
3566
  #
3564
3567
  # <note markdown="1"> This value must be a valid ARN.
3565
3568
  #
@@ -3569,6 +3572,7 @@ module Aws::Connect
3569
3572
  #
3570
3573
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
3571
3574
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
3575
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
3572
3576
  # @return [String]
3573
3577
  #
3574
3578
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CompleteAttachedFileUploadRequest AWS API Documentation
@@ -4926,8 +4930,8 @@ module Aws::Connect
4926
4930
  end
4927
4931
 
4928
4932
  # The contact has not been disconnected and is not in a terminated
4929
- # state. PII can be deleted only from a contact that has been
4930
- # disconnected. This error is returned with an HTTP 409 status code.
4933
+ # state. To delete PII, disconnect the contact first. Wait for it to
4934
+ # reach the terminated state, then retry the request.
4931
4935
  #
4932
4936
  # @!attribute [rw] message
4933
4937
  # @return [String]
@@ -9269,8 +9273,8 @@ module Aws::Connect
9269
9273
  # @return [String]
9270
9274
  #
9271
9275
  # @!attribute [rw] associated_resource_arn
9272
- # The resource to which the attached file is (being) uploaded to.
9273
- # [Cases][1] are the only current supported resource.
9276
+ # The resource to which the attached file is (being) uploaded to. The
9277
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
9274
9278
  #
9275
9279
  # <note markdown="1"> This value must be a valid ARN.
9276
9280
  #
@@ -9278,7 +9282,9 @@ module Aws::Connect
9278
9282
  #
9279
9283
  #
9280
9284
  #
9281
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
9285
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
9286
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
9287
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
9282
9288
  # @return [String]
9283
9289
  #
9284
9290
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAttachedFileRequest AWS API Documentation
@@ -9307,15 +9313,21 @@ module Aws::Connect
9307
9313
  # @return [String]
9308
9314
  #
9309
9315
  # @!attribute [rw] contact_id
9310
- # The identifier of the contact. PII can be deleted only from a
9316
+ # The identifier of the contact. You can delete PII only from a
9311
9317
  # contact that has been disconnected (is in a terminated state).
9312
9318
  # @return [String]
9313
9319
  #
9314
9320
  # @!attribute [rw] contact_fields
9315
- # The categories of PII to redact from the contact. Valid values are
9316
- # `CUSTOMER_ENDPOINT`, `ADDITIONAL_EMAIL_RECIPIENTS`, and
9317
- # `EMAIL_SUBJECT`. `ADDITIONAL_EMAIL_RECIPIENTS` and `EMAIL_SUBJECT`
9318
- # are supported only for contacts in the email channel.
9321
+ # The categories of PII to redact from the contact. Specify one or
9322
+ # more of the following values:
9323
+ #
9324
+ # * `CUSTOMER_ENDPOINT` The customer's contact endpoint.
9325
+ #
9326
+ # * `ADDITIONAL_EMAIL_RECIPIENTS` – Additional recipients on an email
9327
+ # contact (email channel only).
9328
+ #
9329
+ # * `EMAIL_SUBJECT` – The subject line of an email contact (email
9330
+ # channel only).
9319
9331
  # @return [Array<String>]
9320
9332
  #
9321
9333
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactDataRequest AWS API Documentation
@@ -15494,7 +15506,7 @@ module Aws::Connect
15494
15506
  #
15495
15507
  # @!attribute [rw] associated_resource_arn
15496
15508
  # The resource to which the attached file is (being) uploaded to. The
15497
- # supported resources are [Cases][1] and [Email][2].
15509
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
15498
15510
  #
15499
15511
  # <note markdown="1"> This value must be a valid ARN.
15500
15512
  #
@@ -15504,6 +15516,7 @@ module Aws::Connect
15504
15516
  #
15505
15517
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
15506
15518
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
15519
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
15507
15520
  # @return [String]
15508
15521
  #
15509
15522
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetAttachedFileRequest AWS API Documentation
@@ -15546,12 +15559,14 @@ module Aws::Connect
15546
15559
  # @return [Integer]
15547
15560
  #
15548
15561
  # @!attribute [rw] associated_resource_arn
15549
- # The resource to which the attached file is (being) uploaded to.
15550
- # [Cases][1] are the only current supported resource.
15562
+ # The resource to which the attached file is (being) uploaded to. The
15563
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
15551
15564
  #
15552
15565
  #
15553
15566
  #
15554
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
15567
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
15568
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
15569
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
15555
15570
  # @return [String]
15556
15571
  #
15557
15572
  # @!attribute [rw] file_use_case_type
@@ -32457,7 +32472,7 @@ module Aws::Connect
32457
32472
  #
32458
32473
  # @!attribute [rw] associated_resource_arn
32459
32474
  # The resource to which the attached file is (being) uploaded to. The
32460
- # supported resources are [Cases][1] and [Email][2].
32475
+ # supported resources are [Cases][1], [Email][2], and [Task][3].
32461
32476
  #
32462
32477
  # <note markdown="1"> This value must be a valid ARN.
32463
32478
  #
@@ -32467,6 +32482,7 @@ module Aws::Connect
32467
32482
  #
32468
32483
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cases.html
32469
32484
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
32485
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
32470
32486
  # @return [String]
32471
32487
  #
32472
32488
  # @!attribute [rw] created_by
@@ -36172,6 +36188,43 @@ module Aws::Connect
36172
36188
  #
36173
36189
  class UpdateContactScheduleResponse < Aws::EmptyStructure; end
36174
36190
 
36191
+ # @!attribute [rw] instance_id
36192
+ # The identifier of the Connect Customer instance. You can [find the
36193
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
36194
+ #
36195
+ #
36196
+ #
36197
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
36198
+ # @return [String]
36199
+ #
36200
+ # @!attribute [rw] task_template_id
36201
+ # A unique identifier for the task template. For more information
36202
+ # about task templates, see [Task templates][1] in the *Connect
36203
+ # Customer Administrator Guide*.
36204
+ #
36205
+ #
36206
+ #
36207
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html
36208
+ # @return [String]
36209
+ #
36210
+ # @!attribute [rw] contact_id
36211
+ # The identifier of the contact in this instance of Connect Customer.
36212
+ # @return [String]
36213
+ #
36214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactTaskTemplateRequest AWS API Documentation
36215
+ #
36216
+ class UpdateContactTaskTemplateRequest < Struct.new(
36217
+ :instance_id,
36218
+ :task_template_id,
36219
+ :contact_id)
36220
+ SENSITIVE = []
36221
+ include Aws::Structure
36222
+ end
36223
+
36224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactTaskTemplateResponse AWS API Documentation
36225
+ #
36226
+ class UpdateContactTaskTemplateResponse < Aws::EmptyStructure; end
36227
+
36175
36228
  # @!attribute [rw] instance_id
36176
36229
  # The unique identifier for the Amazon Connect instance.
36177
36230
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.267.0'
57
+ GEM_VERSION = '1.268.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -5206,6 +5206,17 @@ module Aws
5206
5206
  ) -> _UpdateContactScheduleResponseSuccess
5207
5207
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContactScheduleResponseSuccess
5208
5208
 
5209
+ interface _UpdateContactTaskTemplateResponseSuccess
5210
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContactTaskTemplateResponse]
5211
+ end
5212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#update_contact_task_template-instance_method
5213
+ def update_contact_task_template: (
5214
+ instance_id: ::String,
5215
+ task_template_id: ::String,
5216
+ contact_id: ::String
5217
+ ) -> _UpdateContactTaskTemplateResponseSuccess
5218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContactTaskTemplateResponseSuccess
5219
+
5209
5220
  interface _UpdateDataTableAttributeResponseSuccess
5210
5221
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataTableAttributeResponse]
5211
5222
  def name: () -> ::String
data/sig/types.rbs CHANGED
@@ -6202,7 +6202,7 @@ module Aws::Connect
6202
6202
 
6203
6203
  class PropertyValidationExceptionProperty
6204
6204
  attr_accessor property_path: ::String
6205
- attr_accessor reason: ("INVALID_FORMAT" | "UNIQUE_CONSTRAINT_VIOLATED" | "REFERENCED_RESOURCE_NOT_FOUND" | "RESOURCE_NAME_ALREADY_EXISTS" | "REQUIRED_PROPERTY_MISSING" | "NOT_SUPPORTED")
6205
+ attr_accessor reason: ("INVALID_FORMAT" | "UNIQUE_CONSTRAINT_VIOLATED" | "REFERENCED_RESOURCE_NOT_FOUND" | "RESOURCE_NAME_ALREADY_EXISTS" | "REQUIRED_PROPERTY_MISSING" | "NOT_SUPPORTED" | "TYPE_MISMATCH")
6206
6206
  attr_accessor message: ::String
6207
6207
  SENSITIVE: []
6208
6208
  end
@@ -8432,6 +8432,16 @@ module Aws::Connect
8432
8432
  class UpdateContactScheduleResponse < Aws::EmptyStructure
8433
8433
  end
8434
8434
 
8435
+ class UpdateContactTaskTemplateRequest
8436
+ attr_accessor instance_id: ::String
8437
+ attr_accessor task_template_id: ::String
8438
+ attr_accessor contact_id: ::String
8439
+ SENSITIVE: []
8440
+ end
8441
+
8442
+ class UpdateContactTaskTemplateResponse < Aws::EmptyStructure
8443
+ end
8444
+
8435
8445
  class UpdateDataTableAttributeRequest
8436
8446
  attr_accessor instance_id: ::String
8437
8447
  attr_accessor data_table_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.267.0
4
+ version: 1.268.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services