aws-sdk-lexmodelbuildingservice 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: b6568fadfd8f8f7065be8fb934f4463e0ffb587f
4
- data.tar.gz: df3e32e7e25d43d93044ccfc47e99caa0c50ec57
3
+ metadata.gz: 1bd18c7e63b4fde1e5ac611f7ed900a88ea44c10
4
+ data.tar.gz: e34166ca12a8427ebecf6d2912bd2026882e1e4f
5
5
  SHA512:
6
- metadata.gz: 3eb2d223e5ce041d94ab4c1b5596c5ad23daf3c6a4e9f6da2038270c5f2f9f21bc478aef570bd8b05299dcd07e48560c6000945b1a689dd83648c34d83dccedc
7
- data.tar.gz: 2c4fcb8945f8617c3ed66a4632557c098ae3ebb936adc61855b7973d662bc61af78b5565d45be1c2761454984e0b36cb1835738e0a86b75853bfb03f984e58ab
6
+ metadata.gz: f355a7130e007d7bd5c804f7289fbc9395c1d524fdaf980a0eb6eee869715441f397e009f8900822ace7d84751f03d9546a84dbef9fce5d4f748cdd62194d376
7
+ data.tar.gz: 09a2503509045424abc50f60e96d2189128061aba6370e385318a0cd6f258347d99fb2362eb0cf841f731495ec3b8d6e7beb9b43a450df0f02f8330125bf3b73
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lexmodelbuildingservice/customizations'
42
42
  # @service
43
43
  module Aws::LexModelBuildingService
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -708,7 +708,7 @@ module Aws::LexModelBuildingService
708
708
  # Amazon Lex stores the utterances that users send to your bot unless
709
709
  # the `childDirected` field in the bot is set to `true`. Utterances are
710
710
  # stored for 15 days for use with the GetUtterancesView operation, and
711
- # then stored indefinately for use in improving the ability of your bot
711
+ # then stored indefinitely for use in improving the ability of your bot
712
712
  # to respond to user input.
713
713
  #
714
714
  # Use the `DeleteStoredUtterances` operation to manually delete stored
@@ -1006,6 +1006,8 @@ module Aws::LexModelBuildingService
1006
1006
  # * {Types::GetBotChannelAssociationResponse#created_date #created_date} => Time
1007
1007
  # * {Types::GetBotChannelAssociationResponse#type #type} => String
1008
1008
  # * {Types::GetBotChannelAssociationResponse#bot_configuration #bot_configuration} => Hash<String,String>
1009
+ # * {Types::GetBotChannelAssociationResponse#status #status} => String
1010
+ # * {Types::GetBotChannelAssociationResponse#failure_reason #failure_reason} => String
1009
1011
  #
1010
1012
  # @example Request syntax with placeholder values
1011
1013
  #
@@ -1025,6 +1027,8 @@ module Aws::LexModelBuildingService
1025
1027
  # resp.type #=> String, one of "Facebook", "Slack", "Twilio-Sms"
1026
1028
  # resp.bot_configuration #=> Hash
1027
1029
  # resp.bot_configuration["String"] #=> String
1030
+ # resp.status #=> String, one of "IN_PROGRESS", "CREATED", "FAILED"
1031
+ # resp.failure_reason #=> String
1028
1032
  #
1029
1033
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation AWS API Documentation
1030
1034
  #
@@ -1091,6 +1095,8 @@ module Aws::LexModelBuildingService
1091
1095
  # resp.bot_channel_associations[0].type #=> String, one of "Facebook", "Slack", "Twilio-Sms"
1092
1096
  # resp.bot_channel_associations[0].bot_configuration #=> Hash
1093
1097
  # resp.bot_channel_associations[0].bot_configuration["String"] #=> String
1098
+ # resp.bot_channel_associations[0].status #=> String, one of "IN_PROGRESS", "CREATED", "FAILED"
1099
+ # resp.bot_channel_associations[0].failure_reason #=> String
1094
1100
  # resp.next_token #=> String
1095
1101
  #
1096
1102
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations AWS API Documentation
@@ -2586,10 +2592,12 @@ module Aws::LexModelBuildingService
2586
2592
  # example, asking "Do you want to order a drink with your pizza?"
2587
2593
  #
2588
2594
  # If you specify an existing intent name to update the intent, Amazon
2589
- # Lex replaces the values in the `$LATEST` version of the slot type with
2595
+ # Lex replaces the values in the `$LATEST` version of the intent with
2590
2596
  # the values in the request. Amazon Lex removes fields that you don't
2591
2597
  # provide in the request. If you don't specify the required fields,
2592
- # Amazon Lex throws an exception.
2598
+ # Amazon Lex throws an exception. When you update the `$LATEST` version
2599
+ # of an intent, the `status` field of any bot that uses the `$LATEST`
2600
+ # version of the intent is set to `NOT_BUILT`.
2593
2601
  #
2594
2602
  # For more information, see how-it-works.
2595
2603
  #
@@ -3183,7 +3191,9 @@ module Aws::LexModelBuildingService
3183
3191
  # request replace the existing values in the `$LATEST` version of the
3184
3192
  # slot type. Amazon Lex removes the fields that you don't provide in
3185
3193
  # the request. If you don't specify required fields, Amazon Lex throws
3186
- # an exception.
3194
+ # an exception. When you update the `$LATEST` version of a slot type, if
3195
+ # a bot uses the `$LATEST` version of an intent that contains the slot
3196
+ # type, the bot's `status` field is set to `NOT_BUILT`.
3187
3197
  #
3188
3198
  # This operation requires permissions for the `lex:PutSlotType` action.
3189
3199
  #
@@ -3343,7 +3353,7 @@ module Aws::LexModelBuildingService
3343
3353
  params: params,
3344
3354
  config: config)
3345
3355
  context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
3346
- context[:gem_version] = '1.2.0'
3356
+ context[:gem_version] = '1.3.0'
3347
3357
  Seahorse::Client::Request.new(handlers, context)
3348
3358
  end
3349
3359
 
@@ -33,6 +33,7 @@ module Aws::LexModelBuildingService
33
33
  BuiltinSlotTypeMetadataList = Shapes::ListShape.new(name: 'BuiltinSlotTypeMetadataList')
34
34
  BuiltinSlotTypeSignature = Shapes::StringShape.new(name: 'BuiltinSlotTypeSignature')
35
35
  ChannelConfigurationMap = Shapes::MapShape.new(name: 'ChannelConfigurationMap')
36
+ ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
36
37
  ChannelType = Shapes::StringShape.new(name: 'ChannelType')
37
38
  CodeHook = Shapes::StructureShape.new(name: 'CodeHook')
38
39
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -180,6 +181,8 @@ module Aws::LexModelBuildingService
180
181
  BotChannelAssociation.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
181
182
  BotChannelAssociation.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
182
183
  BotChannelAssociation.add_member(:bot_configuration, Shapes::ShapeRef.new(shape: ChannelConfigurationMap, location_name: "botConfiguration"))
184
+ BotChannelAssociation.add_member(:status, Shapes::ShapeRef.new(shape: ChannelStatus, location_name: "status"))
185
+ BotChannelAssociation.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "failureReason"))
183
186
  BotChannelAssociation.struct_class = Types::BotChannelAssociation
184
187
 
185
188
  BotChannelAssociationList.member = Shapes::ShapeRef.new(shape: BotChannelAssociation)
@@ -359,6 +362,8 @@ module Aws::LexModelBuildingService
359
362
  GetBotChannelAssociationResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
360
363
  GetBotChannelAssociationResponse.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
361
364
  GetBotChannelAssociationResponse.add_member(:bot_configuration, Shapes::ShapeRef.new(shape: ChannelConfigurationMap, location_name: "botConfiguration"))
365
+ GetBotChannelAssociationResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelStatus, location_name: "status"))
366
+ GetBotChannelAssociationResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "failureReason"))
362
367
  GetBotChannelAssociationResponse.struct_class = Types::GetBotChannelAssociationResponse
363
368
 
364
369
  GetBotChannelAssociationsRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "botName"))
@@ -94,6 +94,23 @@ module Aws::LexModelBuildingService
94
94
  # platform.
95
95
  # @return [Hash<String,String>]
96
96
  #
97
+ # @!attribute [rw] status
98
+ # The status of the bot channel.
99
+ #
100
+ # * `CREATED` - The channel has been created and is ready for use.
101
+ #
102
+ # * `IN_PROGRESS` - Channel creation is in progress.
103
+ #
104
+ # * `FAILED` - There was an error creating the channel. For
105
+ # information about the reason for the failure, see the
106
+ # `failureReason` field.
107
+ # @return [String]
108
+ #
109
+ # @!attribute [rw] failure_reason
110
+ # If `status` is `FAILED`, Amazon Lex provides the reason that it
111
+ # failed to create the association.
112
+ # @return [String]
113
+ #
97
114
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotChannelAssociation AWS API Documentation
98
115
  #
99
116
  class BotChannelAssociation < Struct.new(
@@ -103,7 +120,9 @@ module Aws::LexModelBuildingService
103
120
  :bot_name,
104
121
  :created_date,
105
122
  :type,
106
- :bot_configuration)
123
+ :bot_configuration,
124
+ :status,
125
+ :failure_reason)
107
126
  include Aws::Structure
108
127
  end
109
128
 
@@ -1125,6 +1144,23 @@ module Aws::LexModelBuildingService
1125
1144
  # communicate with the Amazon Lex bot.
1126
1145
  # @return [Hash<String,String>]
1127
1146
  #
1147
+ # @!attribute [rw] status
1148
+ # The status of the bot channel.
1149
+ #
1150
+ # * `CREATED` - The channel has been created and is ready for use.
1151
+ #
1152
+ # * `IN_PROGRESS` - Channel creation is in progress.
1153
+ #
1154
+ # * `FAILED` - There was an error creating the channel. For
1155
+ # information about the reason for the failure, see the
1156
+ # `failureReason` field.
1157
+ # @return [String]
1158
+ #
1159
+ # @!attribute [rw] failure_reason
1160
+ # If `status` is `FAILED`, Amazon Lex provides the reason that it
1161
+ # failed to create the association.
1162
+ # @return [String]
1163
+ #
1128
1164
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationResponse AWS API Documentation
1129
1165
  #
1130
1166
  class GetBotChannelAssociationResponse < Struct.new(
@@ -1134,7 +1170,9 @@ module Aws::LexModelBuildingService
1134
1170
  :bot_name,
1135
1171
  :created_date,
1136
1172
  :type,
1137
- :bot_configuration)
1173
+ :bot_configuration,
1174
+ :status,
1175
+ :failure_reason)
1138
1176
  include Aws::Structure
1139
1177
  end
1140
1178
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelbuildingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2017-09-07 00:00:00.000000000 Z
11
+ date: 2017-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core