aws-sdk-lexmodelsv2 1.23.0 → 1.24.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: 9b1bfc65d7d8e385c1304d700dfceb2324ea8ef63a91fefc22d6bb671a2c2508
4
- data.tar.gz: 7b4f66a1c67c0c85991674e475636287c9c545cae3fd53e7c6c9a48a69ae6436
3
+ metadata.gz: 95ad73c4abf7ec677e2c3102d6e6a956392a814a87eccd9944f343cfe904ee82
4
+ data.tar.gz: 51c9c6d7327f104fa7db7409d6c5a9a4eca83c99dee8cdb97457c8ff85753610
5
5
  SHA512:
6
- metadata.gz: e05472c44835ab2c32220dd6c29cb37e6e2058a698568a9ad5c05d9bc234395a492ee6c8e8f550c8335dc59d391b9ec7d532eac722f5fc9a962a236037b17ab7
7
- data.tar.gz: 31cc09c4efa6f9f932eeee32ec81870916c6ab44261c1424b76fb3f7452e964deed41952dc4c18224d0d35ac10209fb2fc6ced2d5e0654cf88c33b20cfa80cf8
6
+ metadata.gz: 253158a1e250f5b7fc1ce65f192288fa3f2101325c8b06ebba61e5966c4cd64ad720f1daa8df45142065cd10ae37f5d72960b2b82feeae00e099dc0abcd19157
7
+ data.tar.gz: a30d758f6a210bd89c7d159b19775826ddb2a2ad4a40002780e2dd4c7b5ce1f76039d0c05c1df55609987f001ef4f70d74fac0703a128fbc72bc36171d4576ab
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.24.0 (2022-07-05)
5
+ ------------------
6
+
7
+ * Feature - This release introduces additional optional parameters "messageSelectionStrategy" to PromptSpecification, which enables the users to configure the bot to play messages in orderly manner.
8
+
4
9
  1.23.0 (2022-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.24.0
@@ -1390,6 +1390,7 @@ module Aws::LexModelsV2
1390
1390
  # ],
1391
1391
  # max_retries: 1, # required
1392
1392
  # allow_interrupt: false,
1393
+ # message_selection_strategy: "Random", # accepts Random, Ordered
1393
1394
  # },
1394
1395
  # declination_response: { # required
1395
1396
  # message_groups: [ # required
@@ -1665,6 +1666,7 @@ module Aws::LexModelsV2
1665
1666
  # resp.intent_confirmation_setting.prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
1666
1667
  # resp.intent_confirmation_setting.prompt_specification.max_retries #=> Integer
1667
1668
  # resp.intent_confirmation_setting.prompt_specification.allow_interrupt #=> Boolean
1669
+ # resp.intent_confirmation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
1668
1670
  # resp.intent_confirmation_setting.declination_response.message_groups #=> Array
1669
1671
  # resp.intent_confirmation_setting.declination_response.message_groups[0].message.plain_text_message.value #=> String
1670
1672
  # resp.intent_confirmation_setting.declination_response.message_groups[0].message.custom_payload.value #=> String
@@ -2020,6 +2022,7 @@ module Aws::LexModelsV2
2020
2022
  # ],
2021
2023
  # max_retries: 1, # required
2022
2024
  # allow_interrupt: false,
2025
+ # message_selection_strategy: "Random", # accepts Random, Ordered
2023
2026
  # },
2024
2027
  # sample_utterances: [
2025
2028
  # {
@@ -2234,6 +2237,7 @@ module Aws::LexModelsV2
2234
2237
  # resp.value_elicitation_setting.prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
2235
2238
  # resp.value_elicitation_setting.prompt_specification.max_retries #=> Integer
2236
2239
  # resp.value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
2240
+ # resp.value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
2237
2241
  # resp.value_elicitation_setting.sample_utterances #=> Array
2238
2242
  # resp.value_elicitation_setting.sample_utterances[0].utterance #=> String
2239
2243
  # resp.value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
@@ -3770,6 +3774,7 @@ module Aws::LexModelsV2
3770
3774
  # resp.intent_confirmation_setting.prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
3771
3775
  # resp.intent_confirmation_setting.prompt_specification.max_retries #=> Integer
3772
3776
  # resp.intent_confirmation_setting.prompt_specification.allow_interrupt #=> Boolean
3777
+ # resp.intent_confirmation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
3773
3778
  # resp.intent_confirmation_setting.declination_response.message_groups #=> Array
3774
3779
  # resp.intent_confirmation_setting.declination_response.message_groups[0].message.plain_text_message.value #=> String
3775
3780
  # resp.intent_confirmation_setting.declination_response.message_groups[0].message.custom_payload.value #=> String
@@ -3951,6 +3956,7 @@ module Aws::LexModelsV2
3951
3956
  # resp.value_elicitation_setting.prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
3952
3957
  # resp.value_elicitation_setting.prompt_specification.max_retries #=> Integer
3953
3958
  # resp.value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
3959
+ # resp.value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
3954
3960
  # resp.value_elicitation_setting.sample_utterances #=> Array
3955
3961
  # resp.value_elicitation_setting.sample_utterances[0].utterance #=> String
3956
3962
  # resp.value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
@@ -5295,6 +5301,7 @@ module Aws::LexModelsV2
5295
5301
  # resp.slot_summaries[0].value_elicitation_prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
5296
5302
  # resp.slot_summaries[0].value_elicitation_prompt_specification.max_retries #=> Integer
5297
5303
  # resp.slot_summaries[0].value_elicitation_prompt_specification.allow_interrupt #=> Boolean
5304
+ # resp.slot_summaries[0].value_elicitation_prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
5298
5305
  # resp.slot_summaries[0].last_updated_date_time #=> Time
5299
5306
  # resp.next_token #=> String
5300
5307
  #
@@ -6556,6 +6563,7 @@ module Aws::LexModelsV2
6556
6563
  # ],
6557
6564
  # max_retries: 1, # required
6558
6565
  # allow_interrupt: false,
6566
+ # message_selection_strategy: "Random", # accepts Random, Ordered
6559
6567
  # },
6560
6568
  # declination_response: { # required
6561
6569
  # message_groups: [ # required
@@ -6834,6 +6842,7 @@ module Aws::LexModelsV2
6834
6842
  # resp.intent_confirmation_setting.prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
6835
6843
  # resp.intent_confirmation_setting.prompt_specification.max_retries #=> Integer
6836
6844
  # resp.intent_confirmation_setting.prompt_specification.allow_interrupt #=> Boolean
6845
+ # resp.intent_confirmation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
6837
6846
  # resp.intent_confirmation_setting.declination_response.message_groups #=> Array
6838
6847
  # resp.intent_confirmation_setting.declination_response.message_groups[0].message.plain_text_message.value #=> String
6839
6848
  # resp.intent_confirmation_setting.declination_response.message_groups[0].message.custom_payload.value #=> String
@@ -7093,6 +7102,7 @@ module Aws::LexModelsV2
7093
7102
  # ],
7094
7103
  # max_retries: 1, # required
7095
7104
  # allow_interrupt: false,
7105
+ # message_selection_strategy: "Random", # accepts Random, Ordered
7096
7106
  # },
7097
7107
  # sample_utterances: [
7098
7108
  # {
@@ -7307,6 +7317,7 @@ module Aws::LexModelsV2
7307
7317
  # resp.value_elicitation_setting.prompt_specification.message_groups[0].variations[0].image_response_card.buttons[0].value #=> String
7308
7318
  # resp.value_elicitation_setting.prompt_specification.max_retries #=> Integer
7309
7319
  # resp.value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
7320
+ # resp.value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
7310
7321
  # resp.value_elicitation_setting.sample_utterances #=> Array
7311
7322
  # resp.value_elicitation_setting.sample_utterances[0].utterance #=> String
7312
7323
  # resp.value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
@@ -7536,7 +7547,7 @@ module Aws::LexModelsV2
7536
7547
  params: params,
7537
7548
  config: config)
7538
7549
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
7539
- context[:gem_version] = '1.23.0'
7550
+ context[:gem_version] = '1.24.0'
7540
7551
  Seahorse::Client::Request.new(handlers, context)
7541
7552
  end
7542
7553
 
@@ -296,6 +296,7 @@ module Aws::LexModelsV2
296
296
  Message = Shapes::StructureShape.new(name: 'Message')
297
297
  MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
298
298
  MessageGroupsList = Shapes::ListShape.new(name: 'MessageGroupsList')
299
+ MessageSelectionStrategy = Shapes::StringShape.new(name: 'MessageSelectionStrategy')
299
300
  MessageVariationsList = Shapes::ListShape.new(name: 'MessageVariationsList')
300
301
  MissedCount = Shapes::IntegerShape.new(name: 'MissedCount')
301
302
  MultipleValuesSetting = Shapes::StructureShape.new(name: 'MultipleValuesSetting')
@@ -1632,6 +1633,7 @@ module Aws::LexModelsV2
1632
1633
  PromptSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
1633
1634
  PromptSpecification.add_member(:max_retries, Shapes::ShapeRef.new(shape: PromptMaxRetries, required: true, location_name: "maxRetries"))
1634
1635
  PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1636
+ PromptSpecification.add_member(:message_selection_strategy, Shapes::ShapeRef.new(shape: MessageSelectionStrategy, location_name: "messageSelectionStrategy"))
1635
1637
  PromptSpecification.struct_class = Types::PromptSpecification
1636
1638
 
1637
1639
  RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
@@ -162,7 +162,7 @@ module Aws::LexModelsV2
162
162
  #
163
163
  #
164
164
  #
165
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/designing-output-format.html
165
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/designing-output-format.html
166
166
  # @return [String]
167
167
  #
168
168
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AssociatedTranscript AWS API Documentation
@@ -784,7 +784,7 @@ module Aws::LexModelsV2
784
784
  end
785
785
 
786
786
  # The object representing the URL of the bot definition, the URL of the
787
- # associated transcript and a statistical summary of the bot
787
+ # associated transcript, and a statistical summary of the bot
788
788
  # recommendation results.
789
789
  #
790
790
  # @!attribute [rw] bot_locale_export_url
@@ -1962,7 +1962,7 @@ module Aws::LexModelsV2
1962
1962
  #
1963
1963
  #
1964
1964
  #
1965
- # [1]: https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html
1965
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
1966
1966
  # @return [String]
1967
1967
  #
1968
1968
  # @!attribute [rw] creation_date_time
@@ -2326,6 +2326,7 @@ module Aws::LexModelsV2
2326
2326
  # ],
2327
2327
  # max_retries: 1, # required
2328
2328
  # allow_interrupt: false,
2329
+ # message_selection_strategy: "Random", # accepts Random, Ordered
2329
2330
  # },
2330
2331
  # declination_response: { # required
2331
2332
  # message_groups: [ # required
@@ -2937,6 +2938,7 @@ module Aws::LexModelsV2
2937
2938
  # ],
2938
2939
  # max_retries: 1, # required
2939
2940
  # allow_interrupt: false,
2941
+ # message_selection_strategy: "Random", # accepts Random, Ordered
2940
2942
  # },
2941
2943
  # sample_utterances: [
2942
2944
  # {
@@ -6835,6 +6837,7 @@ module Aws::LexModelsV2
6835
6837
  # ],
6836
6838
  # max_retries: 1, # required
6837
6839
  # allow_interrupt: false,
6840
+ # message_selection_strategy: "Random", # accepts Random, Ordered
6838
6841
  # },
6839
6842
  # declination_response: { # required
6840
6843
  # message_groups: [ # required
@@ -9250,6 +9253,7 @@ module Aws::LexModelsV2
9250
9253
  # ],
9251
9254
  # max_retries: 1, # required
9252
9255
  # allow_interrupt: false,
9256
+ # message_selection_strategy: "Random", # accepts Random, Ordered
9253
9257
  # }
9254
9258
  #
9255
9259
  # @!attribute [rw] message_groups
@@ -9267,12 +9271,18 @@ module Aws::LexModelsV2
9267
9271
  # bot.
9268
9272
  # @return [Boolean]
9269
9273
  #
9274
+ # @!attribute [rw] message_selection_strategy
9275
+ # Indicates how a message is selected from a message group among
9276
+ # retries.
9277
+ # @return [String]
9278
+ #
9270
9279
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PromptSpecification AWS API Documentation
9271
9280
  #
9272
9281
  class PromptSpecification < Struct.new(
9273
9282
  :message_groups,
9274
9283
  :max_retries,
9275
- :allow_interrupt)
9284
+ :allow_interrupt,
9285
+ :message_selection_strategy)
9276
9286
  SENSITIVE = []
9277
9287
  include Aws::Structure
9278
9288
  end
@@ -10213,6 +10223,7 @@ module Aws::LexModelsV2
10213
10223
  # ],
10214
10224
  # max_retries: 1, # required
10215
10225
  # allow_interrupt: false,
10226
+ # message_selection_strategy: "Random", # accepts Random, Ordered
10216
10227
  # },
10217
10228
  # sample_utterances: [
10218
10229
  # {
@@ -12024,6 +12035,7 @@ module Aws::LexModelsV2
12024
12035
  # ],
12025
12036
  # max_retries: 1, # required
12026
12037
  # allow_interrupt: false,
12038
+ # message_selection_strategy: "Random", # accepts Random, Ordered
12027
12039
  # },
12028
12040
  # declination_response: { # required
12029
12041
  # message_groups: [ # required
@@ -12504,6 +12516,7 @@ module Aws::LexModelsV2
12504
12516
  # ],
12505
12517
  # max_retries: 1, # required
12506
12518
  # allow_interrupt: false,
12519
+ # message_selection_strategy: "Random", # accepts Random, Ordered
12507
12520
  # },
12508
12521
  # sample_utterances: [
12509
12522
  # {
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
49
49
  # @!group service
50
50
  module Aws::LexModelsV2
51
51
 
52
- GEM_VERSION = '1.23.0'
52
+ GEM_VERSION = '1.24.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.24.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-03-10 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core