aws-sdk 2.928.0 → 2.929.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.
- package/CHANGELOG.md +8 -1
- package/README.md +1 -1
- package/apis/connect-2017-08-08.min.json +229 -124
- package/apis/connect-2017-08-08.paginators.json +6 -0
- package/apis/models.lex.v2-2020-08-07.min.json +60 -37
- package/apis/redshift-data-2019-12-20.min.json +26 -3
- package/apis/runtime.lex.v2-2020-08-07.min.json +49 -35
- package/clients/connect.d.ts +184 -94
- package/clients/ec2.d.ts +1 -1
- package/clients/lexmodelsv2.d.ts +30 -4
- package/clients/lexruntimev2.d.ts +46 -36
- package/clients/redshiftdata.d.ts +25 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +6 -6
- package/dist/aws-sdk.js +287 -162
- package/dist/aws-sdk.min.js +68 -68
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/ec2.d.ts
CHANGED
|
@@ -17973,7 +17973,7 @@ declare namespace EC2 {
|
|
|
17973
17973
|
*/
|
|
17974
17974
|
IncludeAllTagsOfInstance?: Boolean;
|
|
17975
17975
|
}
|
|
17976
|
-
export type InstanceType = "t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"t3.nano"|"t3.micro"|"t3.small"|"t3.medium"|"t3.large"|"t3.xlarge"|"t3.2xlarge"|"t3a.nano"|"t3a.micro"|"t3a.small"|"t3a.medium"|"t3a.large"|"t3a.xlarge"|"t3a.2xlarge"|"t4g.nano"|"t4g.micro"|"t4g.small"|"t4g.medium"|"t4g.large"|"t4g.xlarge"|"t4g.2xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"cr1.8xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"r5.large"|"r5.xlarge"|"r5.2xlarge"|"r5.4xlarge"|"r5.8xlarge"|"r5.12xlarge"|"r5.16xlarge"|"r5.24xlarge"|"r5.metal"|"r5a.large"|"r5a.xlarge"|"r5a.2xlarge"|"r5a.4xlarge"|"r5a.8xlarge"|"r5a.12xlarge"|"r5a.16xlarge"|"r5a.24xlarge"|"r5b.large"|"r5b.xlarge"|"r5b.2xlarge"|"r5b.4xlarge"|"r5b.8xlarge"|"r5b.12xlarge"|"r5b.16xlarge"|"r5b.24xlarge"|"r5b.metal"|"r5d.large"|"r5d.xlarge"|"r5d.2xlarge"|"r5d.4xlarge"|"r5d.8xlarge"|"r5d.12xlarge"|"r5d.16xlarge"|"r5d.24xlarge"|"r5d.metal"|"r5ad.large"|"r5ad.xlarge"|"r5ad.2xlarge"|"r5ad.4xlarge"|"r5ad.8xlarge"|"r5ad.12xlarge"|"r5ad.16xlarge"|"r5ad.24xlarge"|"r6g.metal"|"r6g.medium"|"r6g.large"|"r6g.xlarge"|"r6g.2xlarge"|"r6g.4xlarge"|"r6g.8xlarge"|"r6g.12xlarge"|"r6g.16xlarge"|"r6gd.metal"|"r6gd.medium"|"r6gd.large"|"r6gd.xlarge"|"r6gd.2xlarge"|"r6gd.4xlarge"|"r6gd.8xlarge"|"r6gd.12xlarge"|"r6gd.16xlarge"|"x1.16xlarge"|"x1.32xlarge"|"x1e.xlarge"|"x1e.2xlarge"|"x1e.4xlarge"|"x1e.8xlarge"|"x1e.16xlarge"|"x1e.32xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"i3.metal"|"i3en.large"|"i3en.xlarge"|"i3en.2xlarge"|"i3en.3xlarge"|"i3en.6xlarge"|"i3en.12xlarge"|"i3en.24xlarge"|"i3en.metal"|"hi1.4xlarge"|"hs1.8xlarge"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"c5.large"|"c5.xlarge"|"c5.2xlarge"|"c5.4xlarge"|"c5.9xlarge"|"c5.12xlarge"|"c5.18xlarge"|"c5.24xlarge"|"c5.metal"|"c5a.large"|"c5a.xlarge"|"c5a.2xlarge"|"c5a.4xlarge"|"c5a.8xlarge"|"c5a.12xlarge"|"c5a.16xlarge"|"c5a.24xlarge"|"c5ad.large"|"c5ad.xlarge"|"c5ad.2xlarge"|"c5ad.4xlarge"|"c5ad.8xlarge"|"c5ad.12xlarge"|"c5ad.16xlarge"|"c5ad.24xlarge"|"c5d.large"|"c5d.xlarge"|"c5d.2xlarge"|"c5d.4xlarge"|"c5d.9xlarge"|"c5d.12xlarge"|"c5d.18xlarge"|"c5d.24xlarge"|"c5d.metal"|"c5n.large"|"c5n.xlarge"|"c5n.2xlarge"|"c5n.4xlarge"|"c5n.9xlarge"|"c5n.18xlarge"|"c5n.metal"|"c6g.metal"|"c6g.medium"|"c6g.large"|"c6g.xlarge"|"c6g.2xlarge"|"c6g.4xlarge"|"c6g.8xlarge"|"c6g.12xlarge"|"c6g.16xlarge"|"c6gd.metal"|"c6gd.medium"|"c6gd.large"|"c6gd.xlarge"|"c6gd.2xlarge"|"c6gd.4xlarge"|"c6gd.8xlarge"|"c6gd.12xlarge"|"c6gd.16xlarge"|"c6gn.medium"|"c6gn.large"|"c6gn.xlarge"|"c6gn.2xlarge"|"c6gn.4xlarge"|"c6gn.8xlarge"|"c6gn.12xlarge"|"c6gn.16xlarge"|"cc1.4xlarge"|"cc2.8xlarge"|"g2.2xlarge"|"g2.8xlarge"|"g3.4xlarge"|"g3.8xlarge"|"g3.16xlarge"|"g3s.xlarge"|"g4ad.4xlarge"|"g4ad.8xlarge"|"g4ad.16xlarge"|"g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge"|"g4dn.metal"|"cg1.4xlarge"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"p3.2xlarge"|"p3.8xlarge"|"p3.16xlarge"|"p3dn.24xlarge"|"p4d.24xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"d3.xlarge"|"d3.2xlarge"|"d3.4xlarge"|"d3.8xlarge"|"d3en.xlarge"|"d3en.2xlarge"|"d3en.4xlarge"|"d3en.6xlarge"|"d3en.8xlarge"|"d3en.12xlarge"|"f1.2xlarge"|"f1.4xlarge"|"f1.16xlarge"|"m5.large"|"m5.xlarge"|"m5.2xlarge"|"m5.4xlarge"|"m5.8xlarge"|"m5.12xlarge"|"m5.16xlarge"|"m5.24xlarge"|"m5.metal"|"m5a.large"|"m5a.xlarge"|"m5a.2xlarge"|"m5a.4xlarge"|"m5a.8xlarge"|"m5a.12xlarge"|"m5a.16xlarge"|"m5a.24xlarge"|"m5d.large"|"m5d.xlarge"|"m5d.2xlarge"|"m5d.4xlarge"|"m5d.8xlarge"|"m5d.12xlarge"|"m5d.16xlarge"|"m5d.24xlarge"|"m5d.metal"|"m5ad.large"|"m5ad.xlarge"|"m5ad.2xlarge"|"m5ad.4xlarge"|"m5ad.8xlarge"|"m5ad.12xlarge"|"m5ad.16xlarge"|"m5ad.24xlarge"|"m5zn.large"|"m5zn.xlarge"|"m5zn.2xlarge"|"m5zn.3xlarge"|"m5zn.6xlarge"|"m5zn.12xlarge"|"m5zn.metal"|"h1.2xlarge"|"h1.4xlarge"|"h1.8xlarge"|"h1.16xlarge"|"z1d.large"|"z1d.xlarge"|"z1d.2xlarge"|"z1d.3xlarge"|"z1d.6xlarge"|"z1d.12xlarge"|"z1d.metal"|"u-6tb1.56xlarge"|"u-6tb1.112xlarge"|"u-9tb1.112xlarge"|"u-12tb1.112xlarge"|"u-6tb1.metal"|"u-9tb1.metal"|"u-12tb1.metal"|"u-18tb1.metal"|"u-24tb1.metal"|"a1.medium"|"a1.large"|"a1.xlarge"|"a1.2xlarge"|"a1.4xlarge"|"a1.metal"|"m5dn.large"|"m5dn.xlarge"|"m5dn.2xlarge"|"m5dn.4xlarge"|"m5dn.8xlarge"|"m5dn.12xlarge"|"m5dn.16xlarge"|"m5dn.24xlarge"|"m5n.large"|"m5n.xlarge"|"m5n.2xlarge"|"m5n.4xlarge"|"m5n.8xlarge"|"m5n.12xlarge"|"m5n.16xlarge"|"m5n.24xlarge"|"r5dn.large"|"r5dn.xlarge"|"r5dn.2xlarge"|"r5dn.4xlarge"|"r5dn.8xlarge"|"r5dn.12xlarge"|"r5dn.16xlarge"|"r5dn.24xlarge"|"r5n.large"|"r5n.xlarge"|"r5n.2xlarge"|"r5n.4xlarge"|"r5n.8xlarge"|"r5n.12xlarge"|"r5n.16xlarge"|"r5n.24xlarge"|"inf1.xlarge"|"inf1.2xlarge"|"inf1.6xlarge"|"inf1.24xlarge"|"m6g.metal"|"m6g.medium"|"m6g.large"|"m6g.xlarge"|"m6g.2xlarge"|"m6g.4xlarge"|"m6g.8xlarge"|"m6g.12xlarge"|"m6g.16xlarge"|"m6gd.metal"|"m6gd.medium"|"m6gd.large"|"m6gd.xlarge"|"m6gd.2xlarge"|"m6gd.4xlarge"|"m6gd.8xlarge"|"m6gd.12xlarge"|"m6gd.16xlarge"|"mac1.metal"|"x2gd.medium"|"x2gd.large"|"x2gd.xlarge"|"x2gd.2xlarge"|"x2gd.4xlarge"|"x2gd.8xlarge"|"x2gd.12xlarge"|"x2gd.16xlarge"|"x2gd.metal"|string;
|
|
17976
|
+
export type InstanceType = "t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"t3.nano"|"t3.micro"|"t3.small"|"t3.medium"|"t3.large"|"t3.xlarge"|"t3.2xlarge"|"t3a.nano"|"t3a.micro"|"t3a.small"|"t3a.medium"|"t3a.large"|"t3a.xlarge"|"t3a.2xlarge"|"t4g.nano"|"t4g.micro"|"t4g.small"|"t4g.medium"|"t4g.large"|"t4g.xlarge"|"t4g.2xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"cr1.8xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"r5.large"|"r5.xlarge"|"r5.2xlarge"|"r5.4xlarge"|"r5.8xlarge"|"r5.12xlarge"|"r5.16xlarge"|"r5.24xlarge"|"r5.metal"|"r5a.large"|"r5a.xlarge"|"r5a.2xlarge"|"r5a.4xlarge"|"r5a.8xlarge"|"r5a.12xlarge"|"r5a.16xlarge"|"r5a.24xlarge"|"r5b.large"|"r5b.xlarge"|"r5b.2xlarge"|"r5b.4xlarge"|"r5b.8xlarge"|"r5b.12xlarge"|"r5b.16xlarge"|"r5b.24xlarge"|"r5b.metal"|"r5d.large"|"r5d.xlarge"|"r5d.2xlarge"|"r5d.4xlarge"|"r5d.8xlarge"|"r5d.12xlarge"|"r5d.16xlarge"|"r5d.24xlarge"|"r5d.metal"|"r5ad.large"|"r5ad.xlarge"|"r5ad.2xlarge"|"r5ad.4xlarge"|"r5ad.8xlarge"|"r5ad.12xlarge"|"r5ad.16xlarge"|"r5ad.24xlarge"|"r6g.metal"|"r6g.medium"|"r6g.large"|"r6g.xlarge"|"r6g.2xlarge"|"r6g.4xlarge"|"r6g.8xlarge"|"r6g.12xlarge"|"r6g.16xlarge"|"r6gd.metal"|"r6gd.medium"|"r6gd.large"|"r6gd.xlarge"|"r6gd.2xlarge"|"r6gd.4xlarge"|"r6gd.8xlarge"|"r6gd.12xlarge"|"r6gd.16xlarge"|"x1.16xlarge"|"x1.32xlarge"|"x1e.xlarge"|"x1e.2xlarge"|"x1e.4xlarge"|"x1e.8xlarge"|"x1e.16xlarge"|"x1e.32xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"i3.metal"|"i3en.large"|"i3en.xlarge"|"i3en.2xlarge"|"i3en.3xlarge"|"i3en.6xlarge"|"i3en.12xlarge"|"i3en.24xlarge"|"i3en.metal"|"hi1.4xlarge"|"hs1.8xlarge"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"c5.large"|"c5.xlarge"|"c5.2xlarge"|"c5.4xlarge"|"c5.9xlarge"|"c5.12xlarge"|"c5.18xlarge"|"c5.24xlarge"|"c5.metal"|"c5a.large"|"c5a.xlarge"|"c5a.2xlarge"|"c5a.4xlarge"|"c5a.8xlarge"|"c5a.12xlarge"|"c5a.16xlarge"|"c5a.24xlarge"|"c5ad.large"|"c5ad.xlarge"|"c5ad.2xlarge"|"c5ad.4xlarge"|"c5ad.8xlarge"|"c5ad.12xlarge"|"c5ad.16xlarge"|"c5ad.24xlarge"|"c5d.large"|"c5d.xlarge"|"c5d.2xlarge"|"c5d.4xlarge"|"c5d.9xlarge"|"c5d.12xlarge"|"c5d.18xlarge"|"c5d.24xlarge"|"c5d.metal"|"c5n.large"|"c5n.xlarge"|"c5n.2xlarge"|"c5n.4xlarge"|"c5n.9xlarge"|"c5n.18xlarge"|"c5n.metal"|"c6g.metal"|"c6g.medium"|"c6g.large"|"c6g.xlarge"|"c6g.2xlarge"|"c6g.4xlarge"|"c6g.8xlarge"|"c6g.12xlarge"|"c6g.16xlarge"|"c6gd.metal"|"c6gd.medium"|"c6gd.large"|"c6gd.xlarge"|"c6gd.2xlarge"|"c6gd.4xlarge"|"c6gd.8xlarge"|"c6gd.12xlarge"|"c6gd.16xlarge"|"c6gn.medium"|"c6gn.large"|"c6gn.xlarge"|"c6gn.2xlarge"|"c6gn.4xlarge"|"c6gn.8xlarge"|"c6gn.12xlarge"|"c6gn.16xlarge"|"cc1.4xlarge"|"cc2.8xlarge"|"g2.2xlarge"|"g2.8xlarge"|"g3.4xlarge"|"g3.8xlarge"|"g3.16xlarge"|"g3s.xlarge"|"g4ad.4xlarge"|"g4ad.8xlarge"|"g4ad.16xlarge"|"g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge"|"g4dn.metal"|"cg1.4xlarge"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"p3.2xlarge"|"p3.8xlarge"|"p3.16xlarge"|"p3dn.24xlarge"|"p4d.24xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"d3.xlarge"|"d3.2xlarge"|"d3.4xlarge"|"d3.8xlarge"|"d3en.xlarge"|"d3en.2xlarge"|"d3en.4xlarge"|"d3en.6xlarge"|"d3en.8xlarge"|"d3en.12xlarge"|"f1.2xlarge"|"f1.4xlarge"|"f1.16xlarge"|"m5.large"|"m5.xlarge"|"m5.2xlarge"|"m5.4xlarge"|"m5.8xlarge"|"m5.12xlarge"|"m5.16xlarge"|"m5.24xlarge"|"m5.metal"|"m5a.large"|"m5a.xlarge"|"m5a.2xlarge"|"m5a.4xlarge"|"m5a.8xlarge"|"m5a.12xlarge"|"m5a.16xlarge"|"m5a.24xlarge"|"m5d.large"|"m5d.xlarge"|"m5d.2xlarge"|"m5d.4xlarge"|"m5d.8xlarge"|"m5d.12xlarge"|"m5d.16xlarge"|"m5d.24xlarge"|"m5d.metal"|"m5ad.large"|"m5ad.xlarge"|"m5ad.2xlarge"|"m5ad.4xlarge"|"m5ad.8xlarge"|"m5ad.12xlarge"|"m5ad.16xlarge"|"m5ad.24xlarge"|"m5zn.large"|"m5zn.xlarge"|"m5zn.2xlarge"|"m5zn.3xlarge"|"m5zn.6xlarge"|"m5zn.12xlarge"|"m5zn.metal"|"h1.2xlarge"|"h1.4xlarge"|"h1.8xlarge"|"h1.16xlarge"|"z1d.large"|"z1d.xlarge"|"z1d.2xlarge"|"z1d.3xlarge"|"z1d.6xlarge"|"z1d.12xlarge"|"z1d.metal"|"u-6tb1.56xlarge"|"u-6tb1.112xlarge"|"u-9tb1.112xlarge"|"u-12tb1.112xlarge"|"u-6tb1.metal"|"u-9tb1.metal"|"u-12tb1.metal"|"u-18tb1.metal"|"u-24tb1.metal"|"a1.medium"|"a1.large"|"a1.xlarge"|"a1.2xlarge"|"a1.4xlarge"|"a1.metal"|"m5dn.large"|"m5dn.xlarge"|"m5dn.2xlarge"|"m5dn.4xlarge"|"m5dn.8xlarge"|"m5dn.12xlarge"|"m5dn.16xlarge"|"m5dn.24xlarge"|"m5dn.metal"|"m5n.large"|"m5n.xlarge"|"m5n.2xlarge"|"m5n.4xlarge"|"m5n.8xlarge"|"m5n.12xlarge"|"m5n.16xlarge"|"m5n.24xlarge"|"m5n.metal"|"r5dn.large"|"r5dn.xlarge"|"r5dn.2xlarge"|"r5dn.4xlarge"|"r5dn.8xlarge"|"r5dn.12xlarge"|"r5dn.16xlarge"|"r5dn.24xlarge"|"r5dn.metal"|"r5n.large"|"r5n.xlarge"|"r5n.2xlarge"|"r5n.4xlarge"|"r5n.8xlarge"|"r5n.12xlarge"|"r5n.16xlarge"|"r5n.24xlarge"|"r5n.metal"|"inf1.xlarge"|"inf1.2xlarge"|"inf1.6xlarge"|"inf1.24xlarge"|"m6g.metal"|"m6g.medium"|"m6g.large"|"m6g.xlarge"|"m6g.2xlarge"|"m6g.4xlarge"|"m6g.8xlarge"|"m6g.12xlarge"|"m6g.16xlarge"|"m6gd.metal"|"m6gd.medium"|"m6gd.large"|"m6gd.xlarge"|"m6gd.2xlarge"|"m6gd.4xlarge"|"m6gd.8xlarge"|"m6gd.12xlarge"|"m6gd.16xlarge"|"mac1.metal"|"x2gd.medium"|"x2gd.large"|"x2gd.xlarge"|"x2gd.2xlarge"|"x2gd.4xlarge"|"x2gd.8xlarge"|"x2gd.12xlarge"|"x2gd.16xlarge"|"x2gd.metal"|string;
|
|
17977
17977
|
export type InstanceTypeHypervisor = "nitro"|"xen"|string;
|
|
17978
17978
|
export interface InstanceTypeInfo {
|
|
17979
17979
|
/**
|
package/clients/lexmodelsv2.d.ts
CHANGED
|
@@ -76,11 +76,11 @@ declare class LexModelsV2 extends Service {
|
|
|
76
76
|
*/
|
|
77
77
|
createResourcePolicy(callback?: (err: AWSError, data: LexModelsV2.Types.CreateResourcePolicyResponse) => void): Request<LexModelsV2.Types.CreateResourcePolicyResponse, AWSError>;
|
|
78
78
|
/**
|
|
79
|
-
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can create a resource policy statement that allows cross-account access.
|
|
79
|
+
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can't create a resource policy statement that allows cross-account access.
|
|
80
80
|
*/
|
|
81
81
|
createResourcePolicyStatement(params: LexModelsV2.Types.CreateResourcePolicyStatementRequest, callback?: (err: AWSError, data: LexModelsV2.Types.CreateResourcePolicyStatementResponse) => void): Request<LexModelsV2.Types.CreateResourcePolicyStatementResponse, AWSError>;
|
|
82
82
|
/**
|
|
83
|
-
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can create a resource policy statement that allows cross-account access.
|
|
83
|
+
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can't create a resource policy statement that allows cross-account access.
|
|
84
84
|
*/
|
|
85
85
|
createResourcePolicyStatement(callback?: (err: AWSError, data: LexModelsV2.Types.CreateResourcePolicyStatementResponse) => void): Request<LexModelsV2.Types.CreateResourcePolicyStatementResponse, AWSError>;
|
|
86
86
|
/**
|
|
@@ -420,11 +420,11 @@ declare class LexModelsV2 extends Service {
|
|
|
420
420
|
*/
|
|
421
421
|
updateBotLocale(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateBotLocaleResponse) => void): Request<LexModelsV2.Types.UpdateBotLocaleResponse, AWSError>;
|
|
422
422
|
/**
|
|
423
|
-
* Updates the password used to
|
|
423
|
+
* Updates the password used to protect an export zip archive. The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the operation.
|
|
424
424
|
*/
|
|
425
425
|
updateExport(params: LexModelsV2.Types.UpdateExportRequest, callback?: (err: AWSError, data: LexModelsV2.Types.UpdateExportResponse) => void): Request<LexModelsV2.Types.UpdateExportResponse, AWSError>;
|
|
426
426
|
/**
|
|
427
|
-
* Updates the password used to
|
|
427
|
+
* Updates the password used to protect an export zip archive. The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the operation.
|
|
428
428
|
*/
|
|
429
429
|
updateExport(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateExportResponse) => void): Request<LexModelsV2.Types.UpdateExportResponse, AWSError>;
|
|
430
430
|
/**
|
|
@@ -1407,6 +1407,10 @@ declare namespace LexModelsV2 {
|
|
|
1407
1407
|
* The identifier of the intent that contains the slot.
|
|
1408
1408
|
*/
|
|
1409
1409
|
intentId: Id;
|
|
1410
|
+
/**
|
|
1411
|
+
* Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the multipleValuesSetting is not set, the default value is false.
|
|
1412
|
+
*/
|
|
1413
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
1410
1414
|
}
|
|
1411
1415
|
export interface CreateSlotResponse {
|
|
1412
1416
|
/**
|
|
@@ -1453,6 +1457,10 @@ declare namespace LexModelsV2 {
|
|
|
1453
1457
|
* The timestamp of the date and time that the slot was created.
|
|
1454
1458
|
*/
|
|
1455
1459
|
creationDateTime?: Timestamp;
|
|
1460
|
+
/**
|
|
1461
|
+
* Indicates whether the slot returns multiple values in one response.
|
|
1462
|
+
*/
|
|
1463
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
1456
1464
|
}
|
|
1457
1465
|
export interface CreateSlotTypeRequest {
|
|
1458
1466
|
/**
|
|
@@ -2297,6 +2305,10 @@ declare namespace LexModelsV2 {
|
|
|
2297
2305
|
* A timestamp of the date and time that the slot was last updated.
|
|
2298
2306
|
*/
|
|
2299
2307
|
lastUpdatedDateTime?: Timestamp;
|
|
2308
|
+
/**
|
|
2309
|
+
* Indicates whether the slot accepts multiple values in a single utterance. If the multipleValuesSetting is not set, the default value is false.
|
|
2310
|
+
*/
|
|
2311
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
2300
2312
|
}
|
|
2301
2313
|
export interface DescribeSlotTypeRequest {
|
|
2302
2314
|
/**
|
|
@@ -3144,6 +3156,12 @@ declare namespace LexModelsV2 {
|
|
|
3144
3156
|
}
|
|
3145
3157
|
export type MessageGroupsList = MessageGroup[];
|
|
3146
3158
|
export type MessageVariationsList = Message[];
|
|
3159
|
+
export interface MultipleValuesSetting {
|
|
3160
|
+
/**
|
|
3161
|
+
* Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value. Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the allowMutlipleValues is not set, the default value is false.
|
|
3162
|
+
*/
|
|
3163
|
+
allowMultipleValues?: Boolean;
|
|
3164
|
+
}
|
|
3147
3165
|
export type Name = string;
|
|
3148
3166
|
export type NextToken = string;
|
|
3149
3167
|
export type NumericalBotVersion = string;
|
|
@@ -4007,6 +4025,10 @@ declare namespace LexModelsV2 {
|
|
|
4007
4025
|
* The identifier of the intent that contains the slot.
|
|
4008
4026
|
*/
|
|
4009
4027
|
intentId: Id;
|
|
4028
|
+
/**
|
|
4029
|
+
* Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the multipleValuesSetting is not set, the default value is false.
|
|
4030
|
+
*/
|
|
4031
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
4010
4032
|
}
|
|
4011
4033
|
export interface UpdateSlotResponse {
|
|
4012
4034
|
/**
|
|
@@ -4057,6 +4079,10 @@ declare namespace LexModelsV2 {
|
|
|
4057
4079
|
* The timestamp of the date and time that the slot was last updated.
|
|
4058
4080
|
*/
|
|
4059
4081
|
lastUpdatedDateTime?: Timestamp;
|
|
4082
|
+
/**
|
|
4083
|
+
* Indicates whether the slot accepts multiple values in one response.
|
|
4084
|
+
*/
|
|
4085
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
4060
4086
|
}
|
|
4061
4087
|
export interface UpdateSlotTypeRequest {
|
|
4062
4088
|
/**
|
|
@@ -21,35 +21,35 @@ declare class LexRuntimeV2 extends Service {
|
|
|
21
21
|
*/
|
|
22
22
|
deleteSession(callback?: (err: AWSError, data: LexRuntimeV2.Types.DeleteSessionResponse) => void): Request<LexRuntimeV2.Types.DeleteSessionResponse, AWSError>;
|
|
23
23
|
/**
|
|
24
|
-
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
24
|
+
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex V2 returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
25
25
|
*/
|
|
26
26
|
getSession(params: LexRuntimeV2.Types.GetSessionRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.GetSessionResponse) => void): Request<LexRuntimeV2.Types.GetSessionResponse, AWSError>;
|
|
27
27
|
/**
|
|
28
|
-
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
28
|
+
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex V2 returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
29
29
|
*/
|
|
30
30
|
getSession(callback?: (err: AWSError, data: LexRuntimeV2.Types.GetSessionResponse) => void): Request<LexRuntimeV2.Types.GetSessionResponse, AWSError>;
|
|
31
31
|
/**
|
|
32
|
-
* Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable your application to set the state of the bot.
|
|
32
|
+
* Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to enable your application to set the state of the bot.
|
|
33
33
|
*/
|
|
34
34
|
putSession(params: LexRuntimeV2.Types.PutSessionRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.PutSessionResponse) => void): Request<LexRuntimeV2.Types.PutSessionResponse, AWSError>;
|
|
35
35
|
/**
|
|
36
|
-
* Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable your application to set the state of the bot.
|
|
36
|
+
* Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to enable your application to set the state of the bot.
|
|
37
37
|
*/
|
|
38
38
|
putSession(callback?: (err: AWSError, data: LexRuntimeV2.Types.PutSessionResponse) => void): Request<LexRuntimeV2.Types.PutSessionResponse, AWSError>;
|
|
39
39
|
/**
|
|
40
|
-
* Sends user input to Amazon Lex. Client applications use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex returns the next message to convey to the user and an optional response card to display.
|
|
40
|
+
* Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex V2 returns the next message to convey to the user and an optional response card to display.
|
|
41
41
|
*/
|
|
42
42
|
recognizeText(params: LexRuntimeV2.Types.RecognizeTextRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeTextResponse) => void): Request<LexRuntimeV2.Types.RecognizeTextResponse, AWSError>;
|
|
43
43
|
/**
|
|
44
|
-
* Sends user input to Amazon Lex. Client applications use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex returns the next message to convey to the user and an optional response card to display.
|
|
44
|
+
* Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex V2 returns the next message to convey to the user and an optional response card to display.
|
|
45
45
|
*/
|
|
46
46
|
recognizeText(callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeTextResponse) => void): Request<LexRuntimeV2.Types.RecognizeTextResponse, AWSError>;
|
|
47
47
|
/**
|
|
48
|
-
* Sends user input to Amazon Lex. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model built for the bot.
|
|
48
|
+
* Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2 interprets the user input using the machine learning model built for the bot. The following request fields must be compressed with gzip and then base64 encoded before you send them to Amazon Lex V2. requestAttributes sessionState The following response fields are compressed using gzip and then base64 encoded by Amazon Lex V2. Before you can use these fields, you must decode and decompress them. inputTranscript interpretations messages requestAttributes sessionState The example contains a Java application that compresses and encodes a Java object to send to Amazon Lex V2, and a second that decodes and decompresses a response from Amazon Lex V2.
|
|
49
49
|
*/
|
|
50
50
|
recognizeUtterance(params: LexRuntimeV2.Types.RecognizeUtteranceRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeUtteranceResponse) => void): Request<LexRuntimeV2.Types.RecognizeUtteranceResponse, AWSError>;
|
|
51
51
|
/**
|
|
52
|
-
* Sends user input to Amazon Lex. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model built for the bot.
|
|
52
|
+
* Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2 interprets the user input using the machine learning model built for the bot. The following request fields must be compressed with gzip and then base64 encoded before you send them to Amazon Lex V2. requestAttributes sessionState The following response fields are compressed using gzip and then base64 encoded by Amazon Lex V2. Before you can use these fields, you must decode and decompress them. inputTranscript interpretations messages requestAttributes sessionState The example contains a Java application that compresses and encodes a Java object to send to Amazon Lex V2, and a second that decodes and decompresses a response from Amazon Lex V2.
|
|
53
53
|
*/
|
|
54
54
|
recognizeUtterance(callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeUtteranceResponse) => void): Request<LexRuntimeV2.Types.RecognizeUtteranceResponse, AWSError>;
|
|
55
55
|
}
|
|
@@ -66,7 +66,7 @@ declare namespace LexRuntimeV2 {
|
|
|
66
66
|
/**
|
|
67
67
|
* A lis tof contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request. If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session. If you specify an empty list, all contexts for the session are cleared.
|
|
68
68
|
*/
|
|
69
|
-
contextAttributes
|
|
69
|
+
contextAttributes: ActiveContextParametersMap;
|
|
70
70
|
}
|
|
71
71
|
export type ActiveContextName = string;
|
|
72
72
|
export type ActiveContextParametersMap = {[key: string]: Text};
|
|
@@ -94,7 +94,7 @@ declare namespace LexRuntimeV2 {
|
|
|
94
94
|
*/
|
|
95
95
|
text: ButtonText;
|
|
96
96
|
/**
|
|
97
|
-
* The value returned to Amazon Lex when a user chooses the button.
|
|
97
|
+
* The value returned to Amazon Lex V2 when a user chooses the button.
|
|
98
98
|
*/
|
|
99
99
|
value: ButtonValue;
|
|
100
100
|
}
|
|
@@ -103,7 +103,7 @@ declare namespace LexRuntimeV2 {
|
|
|
103
103
|
export type ButtonsList = Button[];
|
|
104
104
|
export interface ConfidenceScore {
|
|
105
105
|
/**
|
|
106
|
-
* A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
|
|
106
|
+
* A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
|
|
107
107
|
*/
|
|
108
108
|
score?: Double;
|
|
109
109
|
}
|
|
@@ -146,7 +146,7 @@ declare namespace LexRuntimeV2 {
|
|
|
146
146
|
}
|
|
147
147
|
export interface DialogAction {
|
|
148
148
|
/**
|
|
149
|
-
* The next action that the bot should take in its interaction with the user. The possible values are: Close - Indicates that there will not be a response from the user. For example, the statement "Your order has been placed" does not require a response. ConfirmIntent - The next action is asking the user if the intent is complete and ready to be fulfilled. This is a yes/no question such as "Place the order?" Delegate - The next action is determined by Amazon Lex. ElicitSlot - The next action is to elicit a slot value from the user.
|
|
149
|
+
* The next action that the bot should take in its interaction with the user. The possible values are: Close - Indicates that there will not be a response from the user. For example, the statement "Your order has been placed" does not require a response. ConfirmIntent - The next action is asking the user if the intent is complete and ready to be fulfilled. This is a yes/no question such as "Place the order?" Delegate - The next action is determined by Amazon Lex V2. ElicitSlot - The next action is to elicit a slot value from the user.
|
|
150
150
|
*/
|
|
151
151
|
type: DialogActionType;
|
|
152
152
|
/**
|
|
@@ -184,7 +184,7 @@ declare namespace LexRuntimeV2 {
|
|
|
184
184
|
*/
|
|
185
185
|
messages?: Messages;
|
|
186
186
|
/**
|
|
187
|
-
* A list of intents that Amazon Lex determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
187
|
+
* A list of intents that Amazon Lex V2 determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
188
188
|
*/
|
|
189
189
|
interpretations?: Interpretations;
|
|
190
190
|
/**
|
|
@@ -231,7 +231,7 @@ declare namespace LexRuntimeV2 {
|
|
|
231
231
|
export type IntentState = "Failed"|"Fulfilled"|"InProgress"|"ReadyForFulfillment"|"Waiting"|string;
|
|
232
232
|
export interface Interpretation {
|
|
233
233
|
/**
|
|
234
|
-
* Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.
|
|
234
|
+
* Determines the threshold where Amazon Lex V2 will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.
|
|
235
235
|
*/
|
|
236
236
|
nluConfidence?: ConfidenceScore;
|
|
237
237
|
/**
|
|
@@ -253,7 +253,7 @@ declare namespace LexRuntimeV2 {
|
|
|
253
253
|
/**
|
|
254
254
|
* Indicates the type of response.
|
|
255
255
|
*/
|
|
256
|
-
contentType
|
|
256
|
+
contentType: MessageContentType;
|
|
257
257
|
imageResponseCard?: ImageResponseCard;
|
|
258
258
|
}
|
|
259
259
|
export type MessageContentType = "CustomPayload"|"ImageResponseCard"|"PlainText"|"SSML"|string;
|
|
@@ -282,15 +282,15 @@ declare namespace LexRuntimeV2 {
|
|
|
282
282
|
*/
|
|
283
283
|
messages?: Messages;
|
|
284
284
|
/**
|
|
285
|
-
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex should use in the conversation with the user.
|
|
285
|
+
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user.
|
|
286
286
|
*/
|
|
287
287
|
sessionState: SessionState;
|
|
288
288
|
/**
|
|
289
|
-
* Request-specific information passed between Amazon Lex and the client application. The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
289
|
+
* Request-specific information passed between Amazon Lex V2 and the client application. The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
290
290
|
*/
|
|
291
291
|
requestAttributes?: StringMap;
|
|
292
292
|
/**
|
|
293
|
-
* The message that Amazon Lex returns in the response can be either text or speech depending on the value of this parameter. If the value is text/plain; charset=utf-8, Amazon Lex returns text in the response.
|
|
293
|
+
* The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of this parameter. If the value is text/plain; charset=utf-8, Amazon Lex V2 returns text in the response.
|
|
294
294
|
*/
|
|
295
295
|
responseContentType?: NonEmptyString;
|
|
296
296
|
}
|
|
@@ -308,7 +308,7 @@ declare namespace LexRuntimeV2 {
|
|
|
308
308
|
*/
|
|
309
309
|
sessionState?: NonEmptyString;
|
|
310
310
|
/**
|
|
311
|
-
* Request-specific information passed between the client application and Amazon Lex. These are the same as the requestAttribute parameter in the call to the PutSession operation.
|
|
311
|
+
* Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.
|
|
312
312
|
*/
|
|
313
313
|
requestAttributes?: NonEmptyString;
|
|
314
314
|
/**
|
|
@@ -338,7 +338,7 @@ declare namespace LexRuntimeV2 {
|
|
|
338
338
|
*/
|
|
339
339
|
sessionId: SessionId;
|
|
340
340
|
/**
|
|
341
|
-
* The text that the user entered. Amazon Lex interprets this text.
|
|
341
|
+
* The text that the user entered. Amazon Lex V2 interprets this text.
|
|
342
342
|
*/
|
|
343
343
|
text: Text;
|
|
344
344
|
/**
|
|
@@ -346,7 +346,7 @@ declare namespace LexRuntimeV2 {
|
|
|
346
346
|
*/
|
|
347
347
|
sessionState?: SessionState;
|
|
348
348
|
/**
|
|
349
|
-
* Request-specific information passed between the client application and Amazon Lex The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
349
|
+
* Request-specific information passed between the client application and Amazon Lex V2 The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
350
350
|
*/
|
|
351
351
|
requestAttributes?: StringMap;
|
|
352
352
|
}
|
|
@@ -360,7 +360,7 @@ declare namespace LexRuntimeV2 {
|
|
|
360
360
|
*/
|
|
361
361
|
sessionState?: SessionState;
|
|
362
362
|
/**
|
|
363
|
-
* A list of intents that Amazon Lex determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates now confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
363
|
+
* A list of intents that Amazon Lex V2 determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
364
364
|
*/
|
|
365
365
|
interpretations?: Interpretations;
|
|
366
366
|
/**
|
|
@@ -390,11 +390,11 @@ declare namespace LexRuntimeV2 {
|
|
|
390
390
|
*/
|
|
391
391
|
sessionId: SessionId;
|
|
392
392
|
/**
|
|
393
|
-
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex should use in the conversation with the user.
|
|
393
|
+
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user. The sessionState field must be compressed using gzip and then base64 encoded before sending to Amazon Lex V2.
|
|
394
394
|
*/
|
|
395
395
|
sessionState?: SensitiveNonEmptyString;
|
|
396
396
|
/**
|
|
397
|
-
* Request-specific information passed between the client application and Amazon Lex The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes for prefix x-amz-lex:.
|
|
397
|
+
* Request-specific information passed between the client application and Amazon Lex V2 The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes for prefix x-amz-lex:. The requestAttributes field must be compressed using gzip and then base64 encoded before sending to Amazon Lex V2.
|
|
398
398
|
*/
|
|
399
399
|
requestAttributes?: SensitiveNonEmptyString;
|
|
400
400
|
/**
|
|
@@ -402,7 +402,7 @@ declare namespace LexRuntimeV2 {
|
|
|
402
402
|
*/
|
|
403
403
|
requestContentType: NonEmptyString;
|
|
404
404
|
/**
|
|
405
|
-
* The message that Amazon Lex returns in the response can be either text or speech based on the responseContentType value. If the value is text/plain;charset=utf-8, Amazon Lex returns text in the response. If the value begins with audio/, Amazon Lex returns speech in the response. Amazon Lex uses Amazon Polly to generate the speech using the configuration that you specified in the requestContentType parameter. For example, if you specify audio/mpeg as the value, Amazon Lex returns speech in the MPEG format. If the value is audio/pcm, the speech returned is audio/pcm at 16 KHz in 16-bit, little-endian format. The following are the accepted values: audio/mpeg audio/ogg audio/pcm (16 KHz) audio/* (defaults to mpeg) text/plain; charset=utf-8
|
|
405
|
+
* The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value. If the value is text/plain;charset=utf-8, Amazon Lex V2 returns text in the response. If the value begins with audio/, Amazon Lex V2 returns speech in the response. Amazon Lex V2 uses Amazon Polly to generate the speech using the configuration that you specified in the requestContentType parameter. For example, if you specify audio/mpeg as the value, Amazon Lex V2 returns speech in the MPEG format. If the value is audio/pcm, the speech returned is audio/pcm at 16 KHz in 16-bit, little-endian format. The following are the accepted values: audio/mpeg audio/ogg audio/pcm (16 KHz) audio/* (defaults to mpeg) text/plain; charset=utf-8
|
|
406
406
|
*/
|
|
407
407
|
responseContentType?: NonEmptyString;
|
|
408
408
|
/**
|
|
@@ -420,19 +420,19 @@ declare namespace LexRuntimeV2 {
|
|
|
420
420
|
*/
|
|
421
421
|
contentType?: NonEmptyString;
|
|
422
422
|
/**
|
|
423
|
-
* A list of messages that were last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.
|
|
423
|
+
* A list of messages that were last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot. The messages field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
424
424
|
*/
|
|
425
425
|
messages?: NonEmptyString;
|
|
426
426
|
/**
|
|
427
|
-
* A list of intents that Amazon Lex determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
427
|
+
* A list of intents that Amazon Lex V2 determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance. The interpretations field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
428
428
|
*/
|
|
429
429
|
interpretations?: NonEmptyString;
|
|
430
430
|
/**
|
|
431
|
-
* Represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action might be.
|
|
431
|
+
* Represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action might be. The sessionState field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
432
432
|
*/
|
|
433
433
|
sessionState?: NonEmptyString;
|
|
434
434
|
/**
|
|
435
|
-
* The attributes sent in the request.
|
|
435
|
+
* The attributes sent in the request. The requestAttributes field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents.
|
|
436
436
|
*/
|
|
437
437
|
requestAttributes?: NonEmptyString;
|
|
438
438
|
/**
|
|
@@ -440,11 +440,11 @@ declare namespace LexRuntimeV2 {
|
|
|
440
440
|
*/
|
|
441
441
|
sessionId?: SessionId;
|
|
442
442
|
/**
|
|
443
|
-
* The text used to process the request. If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex is correctly processing the audio that you send.
|
|
443
|
+
* The text used to process the request. If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex V2 is correctly processing the audio that you send. The inputTranscript field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
444
444
|
*/
|
|
445
445
|
inputTranscript?: NonEmptyString;
|
|
446
446
|
/**
|
|
447
|
-
* The prompt or statement to send to the user. This is based on the bot configuration and context. For example, if Amazon Lex did not understand the user intent, it sends the clarificationPrompt configured for the bot. If the intent requires confirmation before taking the fulfillment action, it sends the confirmationPrompt. Another example: Suppose that the Lambda function successfully fulfilled the intent, and sent a message to convey to the user. Then Amazon Lex sends that message in the response.
|
|
447
|
+
* The prompt or statement to send to the user. This is based on the bot configuration and context. For example, if Amazon Lex V2 did not understand the user intent, it sends the clarificationPrompt configured for the bot. If the intent requires confirmation before taking the fulfillment action, it sends the confirmationPrompt. Another example: Suppose that the Lambda function successfully fulfilled the intent, and sent a message to convey to the user. Then Amazon Lex V2 sends that message in the response.
|
|
448
448
|
*/
|
|
449
449
|
audioStream?: BlobStream;
|
|
450
450
|
}
|
|
@@ -478,19 +478,19 @@ declare namespace LexRuntimeV2 {
|
|
|
478
478
|
export type SessionId = string;
|
|
479
479
|
export interface SessionState {
|
|
480
480
|
/**
|
|
481
|
-
* The next step that Amazon Lex should take in the conversation with a user.
|
|
481
|
+
* The next step that Amazon Lex V2 should take in the conversation with a user.
|
|
482
482
|
*/
|
|
483
483
|
dialogAction?: DialogAction;
|
|
484
484
|
/**
|
|
485
|
-
* The active intent that Amazon Lex is processing.
|
|
485
|
+
* The active intent that Amazon Lex V2 is processing.
|
|
486
486
|
*/
|
|
487
487
|
intent?: Intent;
|
|
488
488
|
/**
|
|
489
|
-
* One or more contexts that indicate to Amazon Lex the context of a request. When a context is active, Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.
|
|
489
|
+
* One or more contexts that indicate to Amazon Lex V2 the context of a request. When a context is active, Amazon Lex V2 considers intents with the matching context as a trigger as the next intent in a session.
|
|
490
490
|
*/
|
|
491
491
|
activeContexts?: ActiveContextsList;
|
|
492
492
|
/**
|
|
493
|
-
* Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
|
|
493
|
+
* Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex V2 and a client application.
|
|
494
494
|
*/
|
|
495
495
|
sessionAttributes?: StringMap;
|
|
496
496
|
/**
|
|
@@ -498,11 +498,20 @@ declare namespace LexRuntimeV2 {
|
|
|
498
498
|
*/
|
|
499
499
|
originatingRequestId?: NonEmptyString;
|
|
500
500
|
}
|
|
501
|
+
export type Shape = "Scalar"|"List"|string;
|
|
501
502
|
export interface Slot {
|
|
502
503
|
/**
|
|
503
504
|
* The current value of the slot.
|
|
504
505
|
*/
|
|
505
506
|
value?: Value;
|
|
507
|
+
/**
|
|
508
|
+
* When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
|
|
509
|
+
*/
|
|
510
|
+
shape?: Shape;
|
|
511
|
+
/**
|
|
512
|
+
* A list of one or more values that the user provided for the slot. For example, if a for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
|
|
513
|
+
*/
|
|
514
|
+
values?: Values;
|
|
506
515
|
}
|
|
507
516
|
export type Slots = {[key: string]: Slot};
|
|
508
517
|
export type String = string;
|
|
@@ -515,7 +524,7 @@ declare namespace LexRuntimeV2 {
|
|
|
515
524
|
*/
|
|
516
525
|
originalValue?: NonEmptyString;
|
|
517
526
|
/**
|
|
518
|
-
* The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
|
|
527
|
+
* The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.
|
|
519
528
|
*/
|
|
520
529
|
interpretedValue: NonEmptyString;
|
|
521
530
|
/**
|
|
@@ -523,6 +532,7 @@ declare namespace LexRuntimeV2 {
|
|
|
523
532
|
*/
|
|
524
533
|
resolvedValues?: StringList;
|
|
525
534
|
}
|
|
535
|
+
export type Values = Slot[];
|
|
526
536
|
/**
|
|
527
537
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
528
538
|
*/
|
|
@@ -198,6 +198,10 @@ declare namespace RedshiftData {
|
|
|
198
198
|
* The identifier of the SQL statement described. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
|
|
199
199
|
*/
|
|
200
200
|
Id: UUID;
|
|
201
|
+
/**
|
|
202
|
+
* The parameters for the SQL statement.
|
|
203
|
+
*/
|
|
204
|
+
QueryParameters?: SqlParametersList;
|
|
201
205
|
/**
|
|
202
206
|
* The SQL statement text.
|
|
203
207
|
*/
|
|
@@ -296,6 +300,10 @@ declare namespace RedshiftData {
|
|
|
296
300
|
* The database user name. This parameter is required when authenticating using temporary credentials.
|
|
297
301
|
*/
|
|
298
302
|
DbUser?: String;
|
|
303
|
+
/**
|
|
304
|
+
* The parameters for the SQL statement.
|
|
305
|
+
*/
|
|
306
|
+
Parameters?: SqlParametersList;
|
|
299
307
|
/**
|
|
300
308
|
* The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using AWS Secrets Manager.
|
|
301
309
|
*/
|
|
@@ -559,8 +567,21 @@ declare namespace RedshiftData {
|
|
|
559
567
|
export type Location = string;
|
|
560
568
|
export type Long = number;
|
|
561
569
|
export type PageSize = number;
|
|
570
|
+
export type ParameterName = string;
|
|
571
|
+
export type ParameterValue = string;
|
|
562
572
|
export type SchemaList = String[];
|
|
563
573
|
export type SecretArn = string;
|
|
574
|
+
export interface SqlParameter {
|
|
575
|
+
/**
|
|
576
|
+
* The name of the parameter.
|
|
577
|
+
*/
|
|
578
|
+
name: ParameterName;
|
|
579
|
+
/**
|
|
580
|
+
* The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more inforation, see Data types in the Amazon Redshift Database Developer Guide.
|
|
581
|
+
*/
|
|
582
|
+
value: ParameterValue;
|
|
583
|
+
}
|
|
584
|
+
export type SqlParametersList = SqlParameter[];
|
|
564
585
|
export type SqlRecords = FieldList[];
|
|
565
586
|
export interface StatementData {
|
|
566
587
|
/**
|
|
@@ -571,6 +592,10 @@ declare namespace RedshiftData {
|
|
|
571
592
|
* The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
|
|
572
593
|
*/
|
|
573
594
|
Id: UUID;
|
|
595
|
+
/**
|
|
596
|
+
* The parameters used in a SQL statement.
|
|
597
|
+
*/
|
|
598
|
+
QueryParameters?: SqlParametersList;
|
|
574
599
|
/**
|
|
575
600
|
* The SQL statement.
|
|
576
601
|
*/
|