aws-sdk-connect 1.263.0 → 1.264.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: 98973c8953106c3db7c134e85d803967b69f5c51c69cbf0537205d9fdcc9ec39
4
- data.tar.gz: 8167576d46102beacfb8aea71a8f483b102a0ca0d10e542d22ce7449d33a1802
3
+ metadata.gz: 6a8db1c604cc515d991b3c5af794d28cda49e20a96a2456bd70acdfba97e62e6
4
+ data.tar.gz: 13c71fb381cac38fea19b9a3d957352510808aef359a9b2160f9fb27a1cba33a
5
5
  SHA512:
6
- metadata.gz: 11fc0e27fca5e3c5c617ce2c7017c77393e6f7254e249983dab70eea078cbddaaecde37a716a9c6ee880013fcdb1fa0c188678c523d6e4136f2517ae6e603849
7
- data.tar.gz: 71c92ae22a5ded7fdee9b8878f7c56702643f59af02dd9ad3c1c63b51a444956dbb5fa43a155951937d89555f23530da1bb4a41a2ad6d9587426866a59f6e572
6
+ metadata.gz: c8797f50452cb034fcbad2cc3fe1fc3bac4d479a03e5a4d7ad1a87356c6a6e83e2175ccce233aefe1d63832d8ebc0bae465908a332f4a654b37e90c64bfecbdf
7
+ data.tar.gz: 8705cb6108ee374e528a858b0814a462f609c29a85f7110e19e306ecdd30925c4de51dc8e715225374b93cfeddcd110a1c149d41b1922480ff74e70ee0ad44c2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.264.0 (2026-07-09)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect - Added DeleteContactData API to support PII deletion of customer endpoint, additional email recipients and email subject.
8
+
4
9
  1.263.0 (2026-07-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.263.0
1
+ 1.264.0
@@ -6317,6 +6317,57 @@ module Aws::Connect
6317
6317
  req.send_request(options)
6318
6318
  end
6319
6319
 
6320
+ # Deletes the specified fields containing personally identifiable
6321
+ # information (PII) from a contact in the specified Connect Customer
6322
+ # instance. This operation redacts PII (such as customer endpoints,
6323
+ # additional email recipients, and the email subject) from the contact
6324
+ # and its associated contact trace record (CTR). The contact must be in
6325
+ # a terminated state.
6326
+ #
6327
+ # This operation performs a hard deletion of the specified PII and
6328
+ # cannot be undone. There is no retention period; after the data is
6329
+ # deleted, it cannot be recovered. Only fields that Connect Customer
6330
+ # identifies and stores as PII are removed. Any PII that you place in
6331
+ # fields outside the scope of this operation remains your responsibility
6332
+ # to remove.
6333
+ #
6334
+ # @option params [required, String] :instance_id
6335
+ # The identifier of the Connect Customer instance. You can [find the
6336
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
6337
+ #
6338
+ #
6339
+ #
6340
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6341
+ #
6342
+ # @option params [required, String] :contact_id
6343
+ # The identifier of the contact. PII can be deleted only from a contact
6344
+ # that has been disconnected (is in a terminated state).
6345
+ #
6346
+ # @option params [required, Array<String>] :contact_fields
6347
+ # The categories of PII to redact from the contact. Valid values are
6348
+ # `CUSTOMER_ENDPOINT`, `ADDITIONAL_EMAIL_RECIPIENTS`, and
6349
+ # `EMAIL_SUBJECT`. `ADDITIONAL_EMAIL_RECIPIENTS` and `EMAIL_SUBJECT` are
6350
+ # supported only for contacts in the email channel.
6351
+ #
6352
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6353
+ #
6354
+ # @example Request syntax with placeholder values
6355
+ #
6356
+ # resp = client.delete_contact_data({
6357
+ # instance_id: "InstanceId", # required
6358
+ # contact_id: "ContactId", # required
6359
+ # contact_fields: ["CUSTOMER_ENDPOINT"], # required, accepts CUSTOMER_ENDPOINT, ADDITIONAL_EMAIL_RECIPIENTS, EMAIL_SUBJECT
6360
+ # })
6361
+ #
6362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactData AWS API Documentation
6363
+ #
6364
+ # @overload delete_contact_data(params = {})
6365
+ # @param [Hash] params ({})
6366
+ def delete_contact_data(params = {}, options = {})
6367
+ req = build_request(:delete_contact_data, params)
6368
+ req.send_request(options)
6369
+ end
6370
+
6320
6371
  # Deletes a contact evaluation in the specified Connect Customer
6321
6372
  # instance.
6322
6373
  #
@@ -29940,7 +29991,7 @@ module Aws::Connect
29940
29991
  tracer: tracer
29941
29992
  )
29942
29993
  context[:gem_name] = 'aws-sdk-connect'
29943
- context[:gem_version] = '1.263.0'
29994
+ context[:gem_version] = '1.264.0'
29944
29995
  Seahorse::Client::Request.new(handlers, context)
29945
29996
  end
29946
29997
 
@@ -290,6 +290,8 @@ module Aws::Connect
290
290
  ContactEvaluationAttributeOrConditionList = Shapes::ListShape.new(name: 'ContactEvaluationAttributeOrConditionList')
291
291
  ContactEvaluationAttributeValue = Shapes::StructureShape.new(name: 'ContactEvaluationAttributeValue')
292
292
  ContactEvaluations = Shapes::MapShape.new(name: 'ContactEvaluations')
293
+ ContactField = Shapes::StringShape.new(name: 'ContactField')
294
+ ContactFields = Shapes::ListShape.new(name: 'ContactFields')
293
295
  ContactFilter = Shapes::StructureShape.new(name: 'ContactFilter')
294
296
  ContactFlow = Shapes::StructureShape.new(name: 'ContactFlow')
295
297
  ContactFlowAttributeAndCondition = Shapes::StructureShape.new(name: 'ContactFlowAttributeAndCondition')
@@ -343,6 +345,7 @@ module Aws::Connect
343
345
  ContactMetricValue = Shapes::UnionShape.new(name: 'ContactMetricValue')
344
346
  ContactMetrics = Shapes::ListShape.new(name: 'ContactMetrics')
345
347
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
348
+ ContactNotTerminatedException = Shapes::StructureShape.new(name: 'ContactNotTerminatedException')
346
349
  ContactParticipantRole = Shapes::StringShape.new(name: 'ContactParticipantRole')
347
350
  ContactRecordingType = Shapes::StringShape.new(name: 'ContactRecordingType')
348
351
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
@@ -514,6 +517,8 @@ module Aws::Connect
514
517
  Delay = Shapes::IntegerShape.new(name: 'Delay')
515
518
  DeleteAttachedFileRequest = Shapes::StructureShape.new(name: 'DeleteAttachedFileRequest')
516
519
  DeleteAttachedFileResponse = Shapes::StructureShape.new(name: 'DeleteAttachedFileResponse')
520
+ DeleteContactDataRequest = Shapes::StructureShape.new(name: 'DeleteContactDataRequest')
521
+ DeleteContactDataResponse = Shapes::StructureShape.new(name: 'DeleteContactDataResponse')
517
522
  DeleteContactEvaluationRequest = Shapes::StructureShape.new(name: 'DeleteContactEvaluationRequest')
518
523
  DeleteContactFlowModuleAliasRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleAliasRequest')
519
524
  DeleteContactFlowModuleAliasResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleAliasResponse')
@@ -3097,6 +3102,8 @@ module Aws::Connect
3097
3102
  ContactEvaluations.key = Shapes::ShapeRef.new(shape: EvaluationId)
3098
3103
  ContactEvaluations.value = Shapes::ShapeRef.new(shape: ContactEvaluation)
3099
3104
 
3105
+ ContactFields.member = Shapes::ShapeRef.new(shape: ContactField)
3106
+
3100
3107
  ContactFilter.add_member(:contact_states, Shapes::ShapeRef.new(shape: ContactStates, location_name: "ContactStates"))
3101
3108
  ContactFilter.struct_class = Types::ContactFilter
3102
3109
 
@@ -3253,6 +3260,9 @@ module Aws::Connect
3253
3260
  ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
3254
3261
  ContactNotFoundException.struct_class = Types::ContactNotFoundException
3255
3262
 
3263
+ ContactNotTerminatedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
3264
+ ContactNotTerminatedException.struct_class = Types::ContactNotTerminatedException
3265
+
3256
3266
  ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
3257
3267
  ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
3258
3268
 
@@ -4051,6 +4061,13 @@ module Aws::Connect
4051
4061
 
4052
4062
  DeleteAttachedFileResponse.struct_class = Types::DeleteAttachedFileResponse
4053
4063
 
4064
+ DeleteContactDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
4065
+ DeleteContactDataRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
4066
+ DeleteContactDataRequest.add_member(:contact_fields, Shapes::ShapeRef.new(shape: ContactFields, required: true, location_name: "ContactFields"))
4067
+ DeleteContactDataRequest.struct_class = Types::DeleteContactDataRequest
4068
+
4069
+ DeleteContactDataResponse.struct_class = Types::DeleteContactDataResponse
4070
+
4054
4071
  DeleteContactEvaluationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
4055
4072
  DeleteContactEvaluationRequest.add_member(:evaluation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "EvaluationId"))
4056
4073
  DeleteContactEvaluationRequest.struct_class = Types::DeleteContactEvaluationRequest
@@ -10837,6 +10854,20 @@ module Aws::Connect
10837
10854
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
10838
10855
  end)
10839
10856
 
10857
+ api.add_operation(:delete_contact_data, Seahorse::Model::Operation.new.tap do |o|
10858
+ o.name = "DeleteContactData"
10859
+ o.http_method = "POST"
10860
+ o.http_request_uri = "/contact/delete/{InstanceId}/{ContactId}"
10861
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactDataRequest)
10862
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactDataResponse)
10863
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
10864
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
10865
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
10866
+ o.errors << Shapes::ShapeRef.new(shape: ContactNotTerminatedException)
10867
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
10868
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
10869
+ end)
10870
+
10840
10871
  api.add_operation(:delete_contact_evaluation, Seahorse::Model::Operation.new.tap do |o|
10841
10872
  o.name = "DeleteContactEvaluation"
10842
10873
  o.http_method = "DELETE"
@@ -32,6 +32,7 @@ module Aws::Connect
32
32
  # * {ConflictException}
33
33
  # * {ContactFlowNotPublishedException}
34
34
  # * {ContactNotFoundException}
35
+ # * {ContactNotTerminatedException}
35
36
  # * {DestinationNotAllowedException}
36
37
  # * {DuplicateResourceException}
37
38
  # * {IdempotencyException}
@@ -137,6 +138,21 @@ module Aws::Connect
137
138
  end
138
139
  end
139
140
 
141
+ class ContactNotTerminatedException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::Connect::Types::ContactNotTerminatedException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+ end
155
+
140
156
  class DestinationNotAllowedException < ServiceError
141
157
 
142
158
  # @param [Seahorse::Client::RequestContext] context
@@ -4922,6 +4922,21 @@ module Aws::Connect
4922
4922
  include Aws::Structure
4923
4923
  end
4924
4924
 
4925
+ # The contact has not been disconnected and is not in a terminated
4926
+ # state. PII can be deleted only from a contact that has been
4927
+ # disconnected. This error is returned with an HTTP 409 status code.
4928
+ #
4929
+ # @!attribute [rw] message
4930
+ # @return [String]
4931
+ #
4932
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactNotTerminatedException AWS API Documentation
4933
+ #
4934
+ class ContactNotTerminatedException < Struct.new(
4935
+ :message)
4936
+ SENSITIVE = []
4937
+ include Aws::Structure
4938
+ end
4939
+
4925
4940
  # Information of returned contact.
4926
4941
  #
4927
4942
  # @!attribute [rw] arn
@@ -9264,6 +9279,41 @@ module Aws::Connect
9264
9279
  #
9265
9280
  class DeleteAttachedFileResponse < Aws::EmptyStructure; end
9266
9281
 
9282
+ # @!attribute [rw] instance_id
9283
+ # The identifier of the Connect Customer instance. You can [find the
9284
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
9285
+ #
9286
+ #
9287
+ #
9288
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
9289
+ # @return [String]
9290
+ #
9291
+ # @!attribute [rw] contact_id
9292
+ # The identifier of the contact. PII can be deleted only from a
9293
+ # contact that has been disconnected (is in a terminated state).
9294
+ # @return [String]
9295
+ #
9296
+ # @!attribute [rw] contact_fields
9297
+ # The categories of PII to redact from the contact. Valid values are
9298
+ # `CUSTOMER_ENDPOINT`, `ADDITIONAL_EMAIL_RECIPIENTS`, and
9299
+ # `EMAIL_SUBJECT`. `ADDITIONAL_EMAIL_RECIPIENTS` and `EMAIL_SUBJECT`
9300
+ # are supported only for contacts in the email channel.
9301
+ # @return [Array<String>]
9302
+ #
9303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactDataRequest AWS API Documentation
9304
+ #
9305
+ class DeleteContactDataRequest < Struct.new(
9306
+ :instance_id,
9307
+ :contact_id,
9308
+ :contact_fields)
9309
+ SENSITIVE = []
9310
+ include Aws::Structure
9311
+ end
9312
+
9313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactDataResponse AWS API Documentation
9314
+ #
9315
+ class DeleteContactDataResponse < Aws::EmptyStructure; end
9316
+
9267
9317
  # @!attribute [rw] instance_id
9268
9318
  # The identifier of the Connect Customer instance. You can [find the
9269
9319
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -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.263.0'
57
+ GEM_VERSION = '1.264.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1340,6 +1340,17 @@ module Aws
1340
1340
  ) -> _DeleteAttachedFileResponseSuccess
1341
1341
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAttachedFileResponseSuccess
1342
1342
 
1343
+ interface _DeleteContactDataResponseSuccess
1344
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteContactDataResponse]
1345
+ end
1346
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_contact_data-instance_method
1347
+ def delete_contact_data: (
1348
+ instance_id: ::String,
1349
+ contact_id: ::String,
1350
+ contact_fields: Array[("CUSTOMER_ENDPOINT" | "ADDITIONAL_EMAIL_RECIPIENTS" | "EMAIL_SUBJECT")]
1351
+ ) -> _DeleteContactDataResponseSuccess
1352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContactDataResponseSuccess
1353
+
1343
1354
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_contact_evaluation-instance_method
1344
1355
  def delete_contact_evaluation: (
1345
1356
  instance_id: ::String,
data/sig/errors.rbs CHANGED
@@ -26,6 +26,9 @@ module Aws
26
26
  class ContactNotFoundException < ::Aws::Errors::ServiceError
27
27
  def message: () -> ::String
28
28
  end
29
+ class ContactNotTerminatedException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
29
32
  class DestinationNotAllowedException < ::Aws::Errors::ServiceError
30
33
  def message: () -> ::String
31
34
  end
data/sig/types.rbs CHANGED
@@ -1200,6 +1200,11 @@ module Aws::Connect
1200
1200
  SENSITIVE: []
1201
1201
  end
1202
1202
 
1203
+ class ContactNotTerminatedException
1204
+ attr_accessor message: ::String
1205
+ SENSITIVE: []
1206
+ end
1207
+
1203
1208
  class ContactSearchSummary
1204
1209
  attr_accessor arn: ::String
1205
1210
  attr_accessor id: ::String
@@ -2191,6 +2196,16 @@ module Aws::Connect
2191
2196
  class DeleteAttachedFileResponse < Aws::EmptyStructure
2192
2197
  end
2193
2198
 
2199
+ class DeleteContactDataRequest
2200
+ attr_accessor instance_id: ::String
2201
+ attr_accessor contact_id: ::String
2202
+ attr_accessor contact_fields: ::Array[("CUSTOMER_ENDPOINT" | "ADDITIONAL_EMAIL_RECIPIENTS" | "EMAIL_SUBJECT")]
2203
+ SENSITIVE: []
2204
+ end
2205
+
2206
+ class DeleteContactDataResponse < Aws::EmptyStructure
2207
+ end
2208
+
2194
2209
  class DeleteContactEvaluationRequest
2195
2210
  attr_accessor instance_id: ::String
2196
2211
  attr_accessor evaluation_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.263.0
4
+ version: 1.264.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.248.0
21
+ version: 3.254.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.248.0
31
+ version: 3.254.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement