| lexruntimev2 {paws} | R Documentation |
Amazon Lex Runtime V2
Description
This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.
Usage
lexruntimev2(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...), where svc is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lexruntimev2(
config = list(
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string",
anonymous = "logical"
),
endpoint = "string",
region = "string",
close_connection = "logical",
timeout = "numeric",
s3_force_path_style = "logical",
sts_regional_endpoint = "string"
),
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string",
anonymous = "logical"
),
endpoint = "string",
region = "string"
)
Operations
| delete_session | Removes session information for a specified bot, alias, and user ID |
| get_session | Returns session information for a specified bot, alias, and user |
| put_session | Creates a new session or modifies an existing session with an Amazon Lex V2 bot |
| recognize_text | Sends user input to Amazon Lex V2 |
| recognize_utterance | Sends user input to Amazon Lex V2 |
Examples
## Not run:
svc <- lexruntimev2()
svc$delete_session(
Foo = 123
)
## End(Not run)