aws-sdk-lexmodelbuildingservice 1.17.0 → 1.18.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 +4 -4
- data/lib/aws-sdk-lexmodelbuildingservice.rb +1 -1
- data/lib/aws-sdk-lexmodelbuildingservice/client.rb +1 -1
- data/lib/aws-sdk-lexmodelbuildingservice/client_api.rb +23 -0
- data/lib/aws-sdk-lexmodelbuildingservice/errors.rb +122 -0
- data/lib/aws-sdk-lexmodelbuildingservice/types.rb +110 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e80e24e98ae4a353ba68d2abd09c6ecf7df6ce5e
|
4
|
+
data.tar.gz: bfdfcfe94a05d9e77431971439feba2a9f188976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09809a76a375cdd64f0c8eabde08a9656ea9efc9a98bad2efdce87cc7d6a360807872995b7f0c21f85c9092d7be68c12e25597df1d66ed359899d6658a72f930'
|
7
|
+
data.tar.gz: 306f89553e7be148c6fc744c8c6c2ec2fe4f6738afda04c4c361b6e0f921fdfb0cd0eeef8dfb2f671600fb215483ee30f113b01f850eb0997ba64c8ee290870c
|
@@ -3609,7 +3609,7 @@ module Aws::LexModelBuildingService
|
|
3609
3609
|
params: params,
|
3610
3610
|
config: config)
|
3611
3611
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
3612
|
-
context[:gem_version] = '1.
|
3612
|
+
context[:gem_version] = '1.18.0'
|
3613
3613
|
Seahorse::Client::Request.new(handlers, context)
|
3614
3614
|
end
|
3615
3615
|
|
@@ -172,6 +172,9 @@ module Aws::LexModelBuildingService
|
|
172
172
|
Value = Shapes::StringShape.new(name: 'Value')
|
173
173
|
Version = Shapes::StringShape.new(name: 'Version')
|
174
174
|
|
175
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
176
|
+
BadRequestException.struct_class = Types::BadRequestException
|
177
|
+
|
175
178
|
BotAliasMetadata.add_member(:name, Shapes::ShapeRef.new(shape: AliasName, location_name: "name"))
|
176
179
|
BotAliasMetadata.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
177
180
|
BotAliasMetadata.add_member(:bot_version, Shapes::ShapeRef.new(shape: Version, location_name: "botVersion"))
|
@@ -232,6 +235,9 @@ module Aws::LexModelBuildingService
|
|
232
235
|
CodeHook.add_member(:message_version, Shapes::ShapeRef.new(shape: MessageVersion, required: true, location_name: "messageVersion"))
|
233
236
|
CodeHook.struct_class = Types::CodeHook
|
234
237
|
|
238
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
239
|
+
ConflictException.struct_class = Types::ConflictException
|
240
|
+
|
235
241
|
CreateBotVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "name"))
|
236
242
|
CreateBotVersionRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
237
243
|
CreateBotVersionRequest.struct_class = Types::CreateBotVersionRequest
|
@@ -577,6 +583,13 @@ module Aws::LexModelBuildingService
|
|
577
583
|
|
578
584
|
IntentUtteranceList.member = Shapes::ShapeRef.new(shape: Utterance)
|
579
585
|
|
586
|
+
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
587
|
+
InternalFailureException.struct_class = Types::InternalFailureException
|
588
|
+
|
589
|
+
LimitExceededException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
|
590
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
591
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
592
|
+
|
580
593
|
ListOfUtterance.member = Shapes::ShapeRef.new(shape: UtteranceData)
|
581
594
|
|
582
595
|
ListsOfUtterances.member = Shapes::ShapeRef.new(shape: UtteranceList)
|
@@ -590,6 +603,12 @@ module Aws::LexModelBuildingService
|
|
590
603
|
|
591
604
|
MessageList.member = Shapes::ShapeRef.new(shape: Message)
|
592
605
|
|
606
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
607
|
+
NotFoundException.struct_class = Types::NotFoundException
|
608
|
+
|
609
|
+
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
610
|
+
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
611
|
+
|
593
612
|
Prompt.add_member(:messages, Shapes::ShapeRef.new(shape: MessageList, required: true, location_name: "messages"))
|
594
613
|
Prompt.add_member(:max_attempts, Shapes::ShapeRef.new(shape: PromptMaxAttempts, required: true, location_name: "maxAttempts"))
|
595
614
|
Prompt.add_member(:response_card, Shapes::ShapeRef.new(shape: ResponseCard, location_name: "responseCard"))
|
@@ -695,6 +714,10 @@ module Aws::LexModelBuildingService
|
|
695
714
|
PutSlotTypeResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
|
696
715
|
PutSlotTypeResponse.struct_class = Types::PutSlotTypeResponse
|
697
716
|
|
717
|
+
ResourceInUseException.add_member(:reference_type, Shapes::ShapeRef.new(shape: ReferenceType, location_name: "referenceType"))
|
718
|
+
ResourceInUseException.add_member(:example_reference, Shapes::ShapeRef.new(shape: ResourceReference, location_name: "exampleReference"))
|
719
|
+
ResourceInUseException.struct_class = Types::ResourceInUseException
|
720
|
+
|
698
721
|
ResourceReference.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
699
722
|
ResourceReference.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
700
723
|
ResourceReference.struct_class = Types::ResourceReference
|
@@ -10,5 +10,127 @@ module Aws::LexModelBuildingService
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class BadRequestException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::LexModelBuildingService::Types::BadRequestException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class ConflictException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::LexModelBuildingService::Types::ConflictException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class InternalFailureException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::LexModelBuildingService::Types::InternalFailureException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class LimitExceededException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::LexModelBuildingService::Types::LimitExceededException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def retry_after_seconds
|
72
|
+
@data[:retry_after_seconds]
|
73
|
+
end
|
74
|
+
|
75
|
+
# @return [String]
|
76
|
+
def message
|
77
|
+
@message || @data[:message]
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
class NotFoundException < ServiceError
|
83
|
+
|
84
|
+
# @param [Seahorse::Client::RequestContext] context
|
85
|
+
# @param [String] message
|
86
|
+
# @param [Aws::LexModelBuildingService::Types::NotFoundException] data
|
87
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
88
|
+
super(context, message, data)
|
89
|
+
end
|
90
|
+
|
91
|
+
# @return [String]
|
92
|
+
def message
|
93
|
+
@message || @data[:message]
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
97
|
+
|
98
|
+
class PreconditionFailedException < ServiceError
|
99
|
+
|
100
|
+
# @param [Seahorse::Client::RequestContext] context
|
101
|
+
# @param [String] message
|
102
|
+
# @param [Aws::LexModelBuildingService::Types::PreconditionFailedException] data
|
103
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
104
|
+
super(context, message, data)
|
105
|
+
end
|
106
|
+
|
107
|
+
# @return [String]
|
108
|
+
def message
|
109
|
+
@message || @data[:message]
|
110
|
+
end
|
111
|
+
|
112
|
+
end
|
113
|
+
|
114
|
+
class ResourceInUseException < ServiceError
|
115
|
+
|
116
|
+
# @param [Seahorse::Client::RequestContext] context
|
117
|
+
# @param [String] message
|
118
|
+
# @param [Aws::LexModelBuildingService::Types::ResourceInUseException] data
|
119
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
120
|
+
super(context, message, data)
|
121
|
+
end
|
122
|
+
|
123
|
+
# @return [String]
|
124
|
+
def reference_type
|
125
|
+
@data[:reference_type]
|
126
|
+
end
|
127
|
+
|
128
|
+
# @return [String]
|
129
|
+
def example_reference
|
130
|
+
@data[:example_reference]
|
131
|
+
end
|
132
|
+
|
133
|
+
end
|
134
|
+
|
13
135
|
end
|
14
136
|
end
|
@@ -8,6 +8,19 @@
|
|
8
8
|
module Aws::LexModelBuildingService
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The request is not well formed. For example, a value is invalid or a
|
12
|
+
# required field is missing. Check the field values, and try again.
|
13
|
+
#
|
14
|
+
# @!attribute [rw] message
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BadRequestException AWS API Documentation
|
18
|
+
#
|
19
|
+
class BadRequestException < Struct.new(
|
20
|
+
:message)
|
21
|
+
include Aws::Structure
|
22
|
+
end
|
23
|
+
|
11
24
|
# Provides information about a bot alias.
|
12
25
|
#
|
13
26
|
# @!attribute [rw] name
|
@@ -256,6 +269,18 @@ module Aws::LexModelBuildingService
|
|
256
269
|
include Aws::Structure
|
257
270
|
end
|
258
271
|
|
272
|
+
# There was a conflict processing the request. Try your request again.
|
273
|
+
#
|
274
|
+
# @!attribute [rw] message
|
275
|
+
# @return [String]
|
276
|
+
#
|
277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ConflictException AWS API Documentation
|
278
|
+
#
|
279
|
+
class ConflictException < Struct.new(
|
280
|
+
:message)
|
281
|
+
include Aws::Structure
|
282
|
+
end
|
283
|
+
|
259
284
|
# @note When making an API call, you may pass CreateBotVersionRequest
|
260
285
|
# data as a hash:
|
261
286
|
#
|
@@ -2346,6 +2371,34 @@ module Aws::LexModelBuildingService
|
|
2346
2371
|
include Aws::Structure
|
2347
2372
|
end
|
2348
2373
|
|
2374
|
+
# An internal Amazon Lex error occurred. Try your request again.
|
2375
|
+
#
|
2376
|
+
# @!attribute [rw] message
|
2377
|
+
# @return [String]
|
2378
|
+
#
|
2379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/InternalFailureException AWS API Documentation
|
2380
|
+
#
|
2381
|
+
class InternalFailureException < Struct.new(
|
2382
|
+
:message)
|
2383
|
+
include Aws::Structure
|
2384
|
+
end
|
2385
|
+
|
2386
|
+
# The request exceeded a limit. Try your request again.
|
2387
|
+
#
|
2388
|
+
# @!attribute [rw] retry_after_seconds
|
2389
|
+
# @return [String]
|
2390
|
+
#
|
2391
|
+
# @!attribute [rw] message
|
2392
|
+
# @return [String]
|
2393
|
+
#
|
2394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/LimitExceededException AWS API Documentation
|
2395
|
+
#
|
2396
|
+
class LimitExceededException < Struct.new(
|
2397
|
+
:retry_after_seconds,
|
2398
|
+
:message)
|
2399
|
+
include Aws::Structure
|
2400
|
+
end
|
2401
|
+
|
2349
2402
|
# The message object that provides the message text and its type.
|
2350
2403
|
#
|
2351
2404
|
# @note When making an API call, you may pass Message
|
@@ -2380,6 +2433,33 @@ module Aws::LexModelBuildingService
|
|
2380
2433
|
include Aws::Structure
|
2381
2434
|
end
|
2382
2435
|
|
2436
|
+
# The resource specified in the request was not found. Check the
|
2437
|
+
# resource and try again.
|
2438
|
+
#
|
2439
|
+
# @!attribute [rw] message
|
2440
|
+
# @return [String]
|
2441
|
+
#
|
2442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/NotFoundException AWS API Documentation
|
2443
|
+
#
|
2444
|
+
class NotFoundException < Struct.new(
|
2445
|
+
:message)
|
2446
|
+
include Aws::Structure
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# The checksum of the resource that you are trying to change does not
|
2450
|
+
# match the checksum in the request. Check the resource's checksum and
|
2451
|
+
# try again.
|
2452
|
+
#
|
2453
|
+
# @!attribute [rw] message
|
2454
|
+
# @return [String]
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PreconditionFailedException AWS API Documentation
|
2457
|
+
#
|
2458
|
+
class PreconditionFailedException < Struct.new(
|
2459
|
+
:message)
|
2460
|
+
include Aws::Structure
|
2461
|
+
end
|
2462
|
+
|
2383
2463
|
# Obtains information from the user. To define a prompt, provide one or
|
2384
2464
|
# more messages and specify the number of attempts to get information
|
2385
2465
|
# from the user. If you provide more than one message, Amazon Lex
|
@@ -3368,6 +3448,36 @@ module Aws::LexModelBuildingService
|
|
3368
3448
|
include Aws::Structure
|
3369
3449
|
end
|
3370
3450
|
|
3451
|
+
# The resource that you are attempting to delete is referred to by
|
3452
|
+
# another resource. Use this information to remove references to the
|
3453
|
+
# resource that you are trying to delete.
|
3454
|
+
#
|
3455
|
+
# The body of the exception contains a JSON object that describes the
|
3456
|
+
# resource.
|
3457
|
+
#
|
3458
|
+
# `\{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,`
|
3459
|
+
#
|
3460
|
+
# `"resourceReference": \{`
|
3461
|
+
#
|
3462
|
+
# `"name": string, "version": string \} \}`
|
3463
|
+
#
|
3464
|
+
# @!attribute [rw] reference_type
|
3465
|
+
# @return [String]
|
3466
|
+
#
|
3467
|
+
# @!attribute [rw] example_reference
|
3468
|
+
# Describes the resource that refers to the resource that you are
|
3469
|
+
# attempting to delete. This object is returned as part of the
|
3470
|
+
# `ResourceInUseException` exception.
|
3471
|
+
# @return [Types::ResourceReference]
|
3472
|
+
#
|
3473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ResourceInUseException AWS API Documentation
|
3474
|
+
#
|
3475
|
+
class ResourceInUseException < Struct.new(
|
3476
|
+
:reference_type,
|
3477
|
+
:example_reference)
|
3478
|
+
include Aws::Structure
|
3479
|
+
end
|
3480
|
+
|
3371
3481
|
# Describes the resource that refers to the resource that you are
|
3372
3482
|
# attempting to delete. This object is returned as part of the
|
3373
3483
|
# `ResourceInUseException` exception.
|
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.
|
4
|
+
version: 1.18.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: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|