aws-sdk-transcribeservice 1.69.0 → 1.70.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: c9c82e922887a1d45426f1dfce8169e8998eec9ee752a20bbb9deeff9facb53f
4
- data.tar.gz: fe1a76c24a25d56ea0f32bc92de6052e517aebb07748294a343b10fbfea8f7e5
3
+ metadata.gz: 07af4a675104149f0a77dab6d421b56d9a4d265e61318725f7f32ff88a25a53c
4
+ data.tar.gz: 7cb318035f0568427ffa0d6c9e07b68adcb80392a6e532b9f539a7a9944e8640
5
5
  SHA512:
6
- metadata.gz: b559471e85df2353767793d0480542929fe46628ac7cb63e7ce93dea7e26860be8f5456cea14b10a19b4cedbec117a6011a8d09a4d39868ad318e6cba3a8174b
7
- data.tar.gz: 7545755dc4c9b4c56610d9bfa046c02edb2014afb52f541e44f60dc542aaa0db7e591de3a93023546bf47d87fdb1f9277e6a676624a34ee1a779ea58842ecded
6
+ metadata.gz: 4b3fa1584f91a8c45deccb892c2ecf63cf91275fd2ce1fce746f4dcbfbbeaea3f51e9cd776e0b24bcb98fdfdcabaef6099a8d94567e91b725af1f4e768ca862f
7
+ data.tar.gz: 5a292ade811d134aa5c299e5143cb07494a0065119518f7cf03e2c2fca14399e817c206dc1217f0d56cd0f29e2076436f2aac481a624d02afeed812bc81e26df
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2022-01-21)
5
+ ------------------
6
+
7
+ * Feature - Add support for granular PIIEntityTypes when using Batch ContentRedaction.
8
+
4
9
  1.69.0 (2022-01-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.70.0
@@ -1191,6 +1191,8 @@ module Aws::TranscribeService
1191
1191
  # resp.call_analytics_job.settings.language_model_name #=> String
1192
1192
  # resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
1193
1193
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1194
+ # resp.call_analytics_job.settings.content_redaction.pii_entity_types #=> Array
1195
+ # resp.call_analytics_job.settings.content_redaction.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "ALL"
1194
1196
  # resp.call_analytics_job.settings.language_options #=> Array
1195
1197
  # resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1196
1198
  # resp.call_analytics_job.settings.language_id_settings #=> Hash
@@ -1352,6 +1354,8 @@ module Aws::TranscribeService
1352
1354
  # resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
1353
1355
  # resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
1354
1356
  # resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1357
+ # resp.transcription_job.content_redaction.pii_entity_types #=> Array
1358
+ # resp.transcription_job.content_redaction.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "ALL"
1355
1359
  # resp.transcription_job.identify_language #=> Boolean
1356
1360
  # resp.transcription_job.language_options #=> Array
1357
1361
  # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
@@ -1892,6 +1896,8 @@ module Aws::TranscribeService
1892
1896
  # resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
1893
1897
  # resp.transcription_job_summaries[0].content_redaction.redaction_type #=> String, one of "PII"
1894
1898
  # resp.transcription_job_summaries[0].content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1899
+ # resp.transcription_job_summaries[0].content_redaction.pii_entity_types #=> Array
1900
+ # resp.transcription_job_summaries[0].content_redaction.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "ALL"
1895
1901
  # resp.transcription_job_summaries[0].model_settings.language_model_name #=> String
1896
1902
  # resp.transcription_job_summaries[0].identify_language #=> Boolean
1897
1903
  # resp.transcription_job_summaries[0].identified_language_score #=> Float
@@ -2133,6 +2139,7 @@ module Aws::TranscribeService
2133
2139
  # content_redaction: {
2134
2140
  # redaction_type: "PII", # required, accepts PII
2135
2141
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2142
+ # pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, ALL
2136
2143
  # },
2137
2144
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
2138
2145
  # language_id_settings: {
@@ -2174,6 +2181,8 @@ module Aws::TranscribeService
2174
2181
  # resp.call_analytics_job.settings.language_model_name #=> String
2175
2182
  # resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
2176
2183
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2184
+ # resp.call_analytics_job.settings.content_redaction.pii_entity_types #=> Array
2185
+ # resp.call_analytics_job.settings.content_redaction.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "ALL"
2177
2186
  # resp.call_analytics_job.settings.language_options #=> Array
2178
2187
  # resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
2179
2188
  # resp.call_analytics_job.settings.language_id_settings #=> Hash
@@ -2596,6 +2605,7 @@ module Aws::TranscribeService
2596
2605
  # content_redaction: {
2597
2606
  # redaction_type: "PII", # required, accepts PII
2598
2607
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2608
+ # pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, ALL
2599
2609
  # },
2600
2610
  # identify_language: false,
2601
2611
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
@@ -2645,6 +2655,8 @@ module Aws::TranscribeService
2645
2655
  # resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
2646
2656
  # resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
2647
2657
  # resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2658
+ # resp.transcription_job.content_redaction.pii_entity_types #=> Array
2659
+ # resp.transcription_job.content_redaction.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "ALL"
2648
2660
  # resp.transcription_job.identify_language #=> Boolean
2649
2661
  # resp.transcription_job.language_options #=> Array
2650
2662
  # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
@@ -3122,7 +3134,7 @@ module Aws::TranscribeService
3122
3134
  params: params,
3123
3135
  config: config)
3124
3136
  context[:gem_name] = 'aws-sdk-transcribeservice'
3125
- context[:gem_version] = '1.69.0'
3137
+ context[:gem_version] = '1.70.0'
3126
3138
  Seahorse::Client::Request.new(handlers, context)
3127
3139
  end
3128
3140
 
@@ -129,6 +129,8 @@ module Aws::TranscribeService
129
129
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
130
130
  Phrase = Shapes::StringShape.new(name: 'Phrase')
131
131
  Phrases = Shapes::ListShape.new(name: 'Phrases')
132
+ PiiEntityType = Shapes::StringShape.new(name: 'PiiEntityType')
133
+ PiiEntityTypes = Shapes::ListShape.new(name: 'PiiEntityTypes')
132
134
  RedactionOutput = Shapes::StringShape.new(name: 'RedactionOutput')
133
135
  RedactionType = Shapes::StringShape.new(name: 'RedactionType')
134
136
  RelativeTimeRange = Shapes::StructureShape.new(name: 'RelativeTimeRange')
@@ -257,6 +259,7 @@ module Aws::TranscribeService
257
259
 
258
260
  ContentRedaction.add_member(:redaction_type, Shapes::ShapeRef.new(shape: RedactionType, required: true, location_name: "RedactionType"))
259
261
  ContentRedaction.add_member(:redaction_output, Shapes::ShapeRef.new(shape: RedactionOutput, required: true, location_name: "RedactionOutput"))
262
+ ContentRedaction.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: PiiEntityTypes, location_name: "PiiEntityTypes"))
260
263
  ContentRedaction.struct_class = Types::ContentRedaction
261
264
 
262
265
  CreateCallAnalyticsCategoryRequest.add_member(:category_name, Shapes::ShapeRef.new(shape: CategoryName, required: true, location_name: "CategoryName"))
@@ -607,6 +610,8 @@ module Aws::TranscribeService
607
610
 
608
611
  Phrases.member = Shapes::ShapeRef.new(shape: Phrase)
609
612
 
613
+ PiiEntityTypes.member = Shapes::ShapeRef.new(shape: PiiEntityType)
614
+
610
615
  RelativeTimeRange.add_member(:start_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "StartPercentage"))
611
616
  RelativeTimeRange.add_member(:end_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "EndPercentage"))
612
617
  RelativeTimeRange.add_member(:first, Shapes::ShapeRef.new(shape: Percentage, location_name: "First"))
@@ -245,6 +245,7 @@ module Aws::TranscribeService
245
245
  # content_redaction: {
246
246
  # redaction_type: "PII", # required, accepts PII
247
247
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
248
+ # pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, ALL
248
249
  # },
249
250
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
250
251
  # language_id_settings: {
@@ -450,6 +451,7 @@ module Aws::TranscribeService
450
451
  # {
451
452
  # redaction_type: "PII", # required, accepts PII
452
453
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
454
+ # pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, ALL
453
455
  # }
454
456
  #
455
457
  # @!attribute [rw] redaction_type
@@ -468,11 +470,17 @@ module Aws::TranscribeService
468
470
  # both the redacted and unredacted transcripts.
469
471
  # @return [String]
470
472
  #
473
+ # @!attribute [rw] pii_entity_types
474
+ # The types of personally identifiable information (PII) you want to
475
+ # redact in your transcript.
476
+ # @return [Array<String>]
477
+ #
471
478
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ContentRedaction AWS API Documentation
472
479
  #
473
480
  class ContentRedaction < Struct.new(
474
481
  :redaction_type,
475
- :redaction_output)
482
+ :redaction_output,
483
+ :pii_entity_types)
476
484
  SENSITIVE = []
477
485
  include Aws::Structure
478
486
  end
@@ -3152,6 +3160,7 @@ module Aws::TranscribeService
3152
3160
  # content_redaction: {
3153
3161
  # redaction_type: "PII", # required, accepts PII
3154
3162
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
3163
+ # pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, ALL
3155
3164
  # },
3156
3165
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
3157
3166
  # language_id_settings: {
@@ -3544,6 +3553,7 @@ module Aws::TranscribeService
3544
3553
  # content_redaction: {
3545
3554
  # redaction_type: "PII", # required, accepts PII
3546
3555
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
3556
+ # pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, ALL
3547
3557
  # },
3548
3558
  # identify_language: false,
3549
3559
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
48
48
  # @!group service
49
49
  module Aws::TranscribeService
50
50
 
51
- GEM_VERSION = '1.69.0'
51
+ GEM_VERSION = '1.70.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transcribeservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.69.0
4
+ version: 1.70.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core