aws-sdk-lex 1.46.0 → 1.47.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: 70d5e0e78067f0905d4b205ca15a73e8b752c6a98da1852dd6dcd0e0c46055f7
4
- data.tar.gz: 8e6eb41fabbf4e9ef50df7ac16dbb2da29f02f53774f6d22b17a496cf6803d5e
3
+ metadata.gz: 91b5d4742ad7ac021589934953086fb42797aa2437ced947c452df1fb2162d7a
4
+ data.tar.gz: 41015899427237696cd198bd534cf508cce86eee8dbd3fe6a6a08e065fc20fc5
5
5
  SHA512:
6
- metadata.gz: fc65f3d9a0cbc1c64c0d93af1569e6c41d1579eb5229b0332ee2712029526444359da8d8696d565a20b2075691c29ed8e112581054b9866c611ea0efd4f1c061
7
- data.tar.gz: 9a788fcc64910757b2f1cd93ca285cf944c9df32672cb3ef115efb24cbd525f1cdc55b888b614397c9e4c503a619bf6ffb1a9a7a2f694ced9d4fc153a1b37aaa
6
+ metadata.gz: 82aebb0bc28befb5600b21dc2d5c00ec5f9ad02ddf01c9d528a562afd5738a5b6ea7d67d0813ceae75cd302a5d9996617ae396d36479354278ee3a6dd26ad763
7
+ data.tar.gz: 291d88bea31fbfeab790a07fd6c1944ec93e5790a96138d012c303a0504b9a216dd061ff3f3aedfee82106939656e059bdcd829ebf204facb21e927eaa3f63b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.46.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -290,4 +297,4 @@ Unreleased Changes
290
297
  1.0.0.rc1 (2017-05-05)
291
298
  ------------------
292
299
 
293
- * Feature - Initial release of `aws-sdk-lex`.
300
+ * Feature - Initial release of `aws-sdk-lex`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -1169,7 +1169,7 @@ module Aws::Lex
1169
1169
  params: params,
1170
1170
  config: config)
1171
1171
  context[:gem_name] = 'aws-sdk-lex'
1172
- context[:gem_version] = '1.46.0'
1172
+ context[:gem_version] = '1.47.0'
1173
1173
  Seahorse::Client::Request.new(handlers, context)
1174
1174
  end
1175
1175
 
@@ -9,115 +9,49 @@
9
9
 
10
10
  module Aws::Lex
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.lex-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime-fips.lex.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
39
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime-fips.lex.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
+ end
41
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.lex-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
+ end
45
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.lex.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
48
+ end
49
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
+ end
51
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.lex.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
52
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
53
+ raise ArgumentError, 'No endpoint could be resolved'
24
54
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
55
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
43
- UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
44
- dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
45
- ZW5kcG9pbnQsIGRpc3BhdGNoaW5nIHRoZSByZXF1ZXN0IHdpbGwgcmV0d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VycyI6e319LCJ0
113
- eXBlIjoiZW5kcG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoi
114
- RHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMg
115
- bm90IHN1cHBvcnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNv
116
- bmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3J1bnRp
117
- bWUubGV4LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIs
118
- InByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2lu
119
- dCJ9XX1dfQ==
120
-
121
- JSON
122
56
  end
123
57
  end
@@ -16,20 +16,6 @@ module Aws::Lex
16
16
  # can be set at runtime using the `PutContent`, `PutText`, or
17
17
  # `PutSession` operation.
18
18
  #
19
- # @note When making an API call, you may pass ActiveContext
20
- # data as a hash:
21
- #
22
- # {
23
- # name: "ActiveContextName", # required
24
- # time_to_live: { # required
25
- # time_to_live_in_seconds: 1,
26
- # turns_to_live: 1,
27
- # },
28
- # parameters: { # required
29
- # "ParameterName" => "Text",
30
- # },
31
- # }
32
- #
33
19
  # @!attribute [rw] name
34
20
  # The name of the context.
35
21
  # @return [String]
@@ -55,14 +41,6 @@ module Aws::Lex
55
41
 
56
42
  # The length of time or number of turns that a context remains active.
57
43
  #
58
- # @note When making an API call, you may pass ActiveContextTimeToLive
59
- # data as a hash:
60
- #
61
- # {
62
- # time_to_live_in_seconds: 1,
63
- # turns_to_live: 1,
64
- # }
65
- #
66
44
  # @!attribute [rw] time_to_live_in_seconds
67
45
  # The number of seconds that the context should be active after it is
68
46
  # first sent in a `PostContent` or `PostText` response. You can set
@@ -150,15 +128,6 @@ module Aws::Lex
150
128
  include Aws::Structure
151
129
  end
152
130
 
153
- # @note When making an API call, you may pass DeleteSessionRequest
154
- # data as a hash:
155
- #
156
- # {
157
- # bot_name: "BotName", # required
158
- # bot_alias: "BotAlias", # required
159
- # user_id: "UserId", # required
160
- # }
161
- #
162
131
  # @!attribute [rw] bot_name
163
132
  # The name of the bot that contains the session data.
164
133
  # @return [String]
@@ -236,21 +205,6 @@ module Aws::Lex
236
205
  # interaction to a specific state, or to return the interaction to a
237
206
  # previous state.
238
207
  #
239
- # @note When making an API call, you may pass DialogAction
240
- # data as a hash:
241
- #
242
- # {
243
- # type: "ElicitIntent", # required, accepts ElicitIntent, ConfirmIntent, ElicitSlot, Close, Delegate
244
- # intent_name: "IntentName",
245
- # slots: {
246
- # "String" => "String",
247
- # },
248
- # slot_to_elicit: "String",
249
- # fulfillment_state: "Fulfilled", # accepts Fulfilled, Failed, ReadyForFulfillment
250
- # message: "Text",
251
- # message_format: "PlainText", # accepts PlainText, CustomPayload, SSML, Composite
252
- # }
253
- #
254
208
  # @!attribute [rw] type
255
209
  # The next action that the bot should take in its interaction with the
256
210
  # user. The possible values are:
@@ -369,16 +323,6 @@ module Aws::Lex
369
323
  include Aws::Structure
370
324
  end
371
325
 
372
- # @note When making an API call, you may pass GetSessionRequest
373
- # data as a hash:
374
- #
375
- # {
376
- # bot_name: "BotName", # required
377
- # bot_alias: "BotAlias", # required
378
- # user_id: "UserId", # required
379
- # checkpoint_label_filter: "IntentSummaryCheckpointLabel",
380
- # }
381
- #
382
326
  # @!attribute [rw] bot_name
383
327
  # The name of the bot that contains the session data.
384
328
  # @return [String]
@@ -478,21 +422,6 @@ module Aws::Lex
478
422
  # process the intent, or so that you can return the intent to its
479
423
  # previous state.
480
424
  #
481
- # @note When making an API call, you may pass IntentSummary
482
- # data as a hash:
483
- #
484
- # {
485
- # intent_name: "IntentName",
486
- # checkpoint_label: "IntentSummaryCheckpointLabel",
487
- # slots: {
488
- # "String" => "String",
489
- # },
490
- # confirmation_status: "None", # accepts None, Confirmed, Denied
491
- # dialog_action_type: "ElicitIntent", # required, accepts ElicitIntent, ConfirmIntent, ElicitSlot, Close, Delegate
492
- # fulfillment_state: "Fulfilled", # accepts Fulfilled, Failed, ReadyForFulfillment
493
- # slot_to_elicit: "String",
494
- # }
495
- #
496
425
  # @!attribute [rw] intent_name
497
426
  # The name of the intent.
498
427
  # @return [String]
@@ -649,21 +578,6 @@ module Aws::Lex
649
578
  include Aws::Structure
650
579
  end
651
580
 
652
- # @note When making an API call, you may pass PostContentRequest
653
- # data as a hash:
654
- #
655
- # {
656
- # bot_name: "BotName", # required
657
- # bot_alias: "BotAlias", # required
658
- # user_id: "UserId", # required
659
- # session_attributes: "AttributesString",
660
- # request_attributes: "AttributesString",
661
- # content_type: "HttpContentType", # required
662
- # accept: "Accept",
663
- # input_stream: "data", # required
664
- # active_contexts: "ActiveContextsString",
665
- # }
666
- #
667
581
  # @!attribute [rw] bot_name
668
582
  # Name of the Amazon Lex bot.
669
583
  # @return [String]
@@ -1091,34 +1005,6 @@ module Aws::Lex
1091
1005
  include Aws::Structure
1092
1006
  end
1093
1007
 
1094
- # @note When making an API call, you may pass PostTextRequest
1095
- # data as a hash:
1096
- #
1097
- # {
1098
- # bot_name: "BotName", # required
1099
- # bot_alias: "BotAlias", # required
1100
- # user_id: "UserId", # required
1101
- # session_attributes: {
1102
- # "String" => "String",
1103
- # },
1104
- # request_attributes: {
1105
- # "String" => "String",
1106
- # },
1107
- # input_text: "Text", # required
1108
- # active_contexts: [
1109
- # {
1110
- # name: "ActiveContextName", # required
1111
- # time_to_live: { # required
1112
- # time_to_live_in_seconds: 1,
1113
- # turns_to_live: 1,
1114
- # },
1115
- # parameters: { # required
1116
- # "ParameterName" => "Text",
1117
- # },
1118
- # },
1119
- # ],
1120
- # }
1121
- #
1122
1008
  # @!attribute [rw] bot_name
1123
1009
  # The name of the Amazon Lex bot.
1124
1010
  # @return [String]
@@ -1430,55 +1316,6 @@ module Aws::Lex
1430
1316
  include Aws::Structure
1431
1317
  end
1432
1318
 
1433
- # @note When making an API call, you may pass PutSessionRequest
1434
- # data as a hash:
1435
- #
1436
- # {
1437
- # bot_name: "BotName", # required
1438
- # bot_alias: "BotAlias", # required
1439
- # user_id: "UserId", # required
1440
- # session_attributes: {
1441
- # "String" => "String",
1442
- # },
1443
- # dialog_action: {
1444
- # type: "ElicitIntent", # required, accepts ElicitIntent, ConfirmIntent, ElicitSlot, Close, Delegate
1445
- # intent_name: "IntentName",
1446
- # slots: {
1447
- # "String" => "String",
1448
- # },
1449
- # slot_to_elicit: "String",
1450
- # fulfillment_state: "Fulfilled", # accepts Fulfilled, Failed, ReadyForFulfillment
1451
- # message: "Text",
1452
- # message_format: "PlainText", # accepts PlainText, CustomPayload, SSML, Composite
1453
- # },
1454
- # recent_intent_summary_view: [
1455
- # {
1456
- # intent_name: "IntentName",
1457
- # checkpoint_label: "IntentSummaryCheckpointLabel",
1458
- # slots: {
1459
- # "String" => "String",
1460
- # },
1461
- # confirmation_status: "None", # accepts None, Confirmed, Denied
1462
- # dialog_action_type: "ElicitIntent", # required, accepts ElicitIntent, ConfirmIntent, ElicitSlot, Close, Delegate
1463
- # fulfillment_state: "Fulfilled", # accepts Fulfilled, Failed, ReadyForFulfillment
1464
- # slot_to_elicit: "String",
1465
- # },
1466
- # ],
1467
- # accept: "Accept",
1468
- # active_contexts: [
1469
- # {
1470
- # name: "ActiveContextName", # required
1471
- # time_to_live: { # required
1472
- # time_to_live_in_seconds: 1,
1473
- # turns_to_live: 1,
1474
- # },
1475
- # parameters: { # required
1476
- # "ParameterName" => "Text",
1477
- # },
1478
- # },
1479
- # ],
1480
- # }
1481
- #
1482
1319
  # @!attribute [rw] bot_name
1483
1320
  # The name of the bot that contains the session data.
1484
1321
  # @return [String]
data/lib/aws-sdk-lex.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-lex/customizations'
52
52
  # @!group service
53
53
  module Aws::Lex
54
54
 
55
- GEM_VERSION = '1.46.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.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-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core