@aws-sdk/client-lex-model-building-service 3.288.0 → 3.290.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.
Files changed (43) hide show
  1. package/dist-types/commands/CreateBotVersionCommand.d.ts +25 -0
  2. package/dist-types/commands/CreateIntentVersionCommand.d.ts +25 -0
  3. package/dist-types/commands/CreateSlotTypeVersionCommand.d.ts +25 -0
  4. package/dist-types/commands/DeleteBotAliasCommand.d.ts +38 -0
  5. package/dist-types/commands/DeleteBotChannelAssociationCommand.d.ts +20 -0
  6. package/dist-types/commands/DeleteBotCommand.d.ts +38 -0
  7. package/dist-types/commands/DeleteBotVersionCommand.d.ts +38 -0
  8. package/dist-types/commands/DeleteIntentCommand.d.ts +38 -0
  9. package/dist-types/commands/DeleteIntentVersionCommand.d.ts +38 -0
  10. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +38 -0
  11. package/dist-types/commands/DeleteSlotTypeVersionCommand.d.ts +38 -0
  12. package/dist-types/commands/DeleteUtterancesCommand.d.ts +16 -0
  13. package/dist-types/commands/GetBotAliasCommand.d.ts +16 -0
  14. package/dist-types/commands/GetBotAliasesCommand.d.ts +12 -0
  15. package/dist-types/commands/GetBotChannelAssociationCommand.d.ts +16 -0
  16. package/dist-types/commands/GetBotChannelAssociationsCommand.d.ts +12 -0
  17. package/dist-types/commands/GetBotCommand.d.ts +73 -0
  18. package/dist-types/commands/GetBotVersionsCommand.d.ts +16 -0
  19. package/dist-types/commands/GetBotsCommand.d.ts +42 -0
  20. package/dist-types/commands/GetBuiltinIntentCommand.d.ts +16 -0
  21. package/dist-types/commands/GetBuiltinIntentsCommand.d.ts +12 -0
  22. package/dist-types/commands/GetBuiltinSlotTypesCommand.d.ts +12 -0
  23. package/dist-types/commands/GetExportCommand.d.ts +16 -0
  24. package/dist-types/commands/GetImportCommand.d.ts +16 -0
  25. package/dist-types/commands/GetIntentCommand.d.ts +163 -0
  26. package/dist-types/commands/GetIntentVersionsCommand.d.ts +16 -0
  27. package/dist-types/commands/GetIntentsCommand.d.ts +41 -0
  28. package/dist-types/commands/GetMigrationCommand.d.ts +16 -0
  29. package/dist-types/commands/GetMigrationsCommand.d.ts +12 -0
  30. package/dist-types/commands/GetSlotTypeCommand.d.ts +46 -0
  31. package/dist-types/commands/GetSlotTypeVersionsCommand.d.ts +16 -0
  32. package/dist-types/commands/GetSlotTypesCommand.d.ts +55 -0
  33. package/dist-types/commands/GetUtterancesViewCommand.d.ts +12 -0
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  35. package/dist-types/commands/PutBotAliasCommand.d.ts +21 -0
  36. package/dist-types/commands/PutBotCommand.d.ts +113 -0
  37. package/dist-types/commands/PutIntentCommand.d.ts +293 -0
  38. package/dist-types/commands/PutSlotTypeCommand.d.ts +59 -0
  39. package/dist-types/commands/StartImportCommand.d.ts +12 -0
  40. package/dist-types/commands/StartMigrationCommand.d.ts +20 -0
  41. package/dist-types/commands/TagResourceCommand.d.ts +20 -0
  42. package/dist-types/commands/UntagResourceCommand.d.ts +20 -0
  43. package/package.json +29 -29
@@ -41,6 +41,31 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
41
41
  * @see {@link CreateBotVersionCommandOutput} for command's `response` shape.
42
42
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
43
43
  *
44
+ * @throws {@link BadRequestException} (client fault)
45
+ * <p>The request is not well formed. For example, a value is invalid or
46
+ * a required field is missing. Check the field values, and try
47
+ * again.</p>
48
+ *
49
+ * @throws {@link ConflictException} (client fault)
50
+ * <p> There was a conflict processing the request. Try your request
51
+ * again. </p>
52
+ *
53
+ * @throws {@link InternalFailureException} (server fault)
54
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
55
+ *
56
+ * @throws {@link LimitExceededException} (client fault)
57
+ * <p>The request exceeded a limit. Try your request again.</p>
58
+ *
59
+ * @throws {@link NotFoundException} (client fault)
60
+ * <p>The resource specified in the request was not found. Check the
61
+ * resource and try again.</p>
62
+ *
63
+ * @throws {@link PreconditionFailedException} (client fault)
64
+ * <p> The checksum of the resource that you are trying to change does
65
+ * not match the checksum in the request. Check the resource's checksum and
66
+ * try again.</p>
67
+ *
68
+ *
44
69
  */
45
70
  export declare class CreateBotVersionCommand extends $Command<CreateBotVersionCommandInput, CreateBotVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
46
71
  readonly input: CreateBotVersionCommandInput;
@@ -42,6 +42,31 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
42
42
  * @see {@link CreateIntentVersionCommandOutput} for command's `response` shape.
43
43
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
44
44
  *
45
+ * @throws {@link BadRequestException} (client fault)
46
+ * <p>The request is not well formed. For example, a value is invalid or
47
+ * a required field is missing. Check the field values, and try
48
+ * again.</p>
49
+ *
50
+ * @throws {@link ConflictException} (client fault)
51
+ * <p> There was a conflict processing the request. Try your request
52
+ * again. </p>
53
+ *
54
+ * @throws {@link InternalFailureException} (server fault)
55
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
56
+ *
57
+ * @throws {@link LimitExceededException} (client fault)
58
+ * <p>The request exceeded a limit. Try your request again.</p>
59
+ *
60
+ * @throws {@link NotFoundException} (client fault)
61
+ * <p>The resource specified in the request was not found. Check the
62
+ * resource and try again.</p>
63
+ *
64
+ * @throws {@link PreconditionFailedException} (client fault)
65
+ * <p> The checksum of the resource that you are trying to change does
66
+ * not match the checksum in the request. Check the resource's checksum and
67
+ * try again.</p>
68
+ *
69
+ *
45
70
  */
46
71
  export declare class CreateIntentVersionCommand extends $Command<CreateIntentVersionCommandInput, CreateIntentVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
47
72
  readonly input: CreateIntentVersionCommandInput;
@@ -44,6 +44,31 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio
44
44
  * @see {@link CreateSlotTypeVersionCommandOutput} for command's `response` shape.
45
45
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
46
46
  *
47
+ * @throws {@link BadRequestException} (client fault)
48
+ * <p>The request is not well formed. For example, a value is invalid or
49
+ * a required field is missing. Check the field values, and try
50
+ * again.</p>
51
+ *
52
+ * @throws {@link ConflictException} (client fault)
53
+ * <p> There was a conflict processing the request. Try your request
54
+ * again. </p>
55
+ *
56
+ * @throws {@link InternalFailureException} (server fault)
57
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
58
+ *
59
+ * @throws {@link LimitExceededException} (client fault)
60
+ * <p>The request exceeded a limit. Try your request again.</p>
61
+ *
62
+ * @throws {@link NotFoundException} (client fault)
63
+ * <p>The resource specified in the request was not found. Check the
64
+ * resource and try again.</p>
65
+ *
66
+ * @throws {@link PreconditionFailedException} (client fault)
67
+ * <p> The checksum of the resource that you are trying to change does
68
+ * not match the checksum in the request. Check the resource's checksum and
69
+ * try again.</p>
70
+ *
71
+ *
47
72
  */
48
73
  export declare class CreateSlotTypeVersionCommand extends $Command<CreateSlotTypeVersionCommandInput, CreateSlotTypeVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
49
74
  readonly input: CreateSlotTypeVersionCommandInput;
@@ -37,6 +37,44 @@ export interface DeleteBotAliasCommandOutput extends __MetadataBearer {
37
37
  * @see {@link DeleteBotAliasCommandOutput} for command's `response` shape.
38
38
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
39
39
  *
40
+ * @throws {@link BadRequestException} (client fault)
41
+ * <p>The request is not well formed. For example, a value is invalid or
42
+ * a required field is missing. Check the field values, and try
43
+ * again.</p>
44
+ *
45
+ * @throws {@link ConflictException} (client fault)
46
+ * <p> There was a conflict processing the request. Try your request
47
+ * again. </p>
48
+ *
49
+ * @throws {@link InternalFailureException} (server fault)
50
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
51
+ *
52
+ * @throws {@link LimitExceededException} (client fault)
53
+ * <p>The request exceeded a limit. Try your request again.</p>
54
+ *
55
+ * @throws {@link NotFoundException} (client fault)
56
+ * <p>The resource specified in the request was not found. Check the
57
+ * resource and try again.</p>
58
+ *
59
+ * @throws {@link ResourceInUseException} (client fault)
60
+ * <p>The resource that you are attempting to delete is referred to by
61
+ * another resource. Use this information to remove references to the
62
+ * resource that you are trying to delete.</p>
63
+ * <p>The body of the exception contains a JSON object that describes the
64
+ * resource.</p>
65
+ * <p>
66
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
67
+ * INTENT,</code>
68
+ * </p>
69
+ * <p>
70
+ * <code>"resourceReference": {</code>
71
+ * </p>
72
+ * <p>
73
+ * <code>"name": <i>string</i>, "version":
74
+ * <i>string</i> } }</code>
75
+ * </p>
76
+ *
77
+ *
40
78
  */
41
79
  export declare class DeleteBotAliasCommand extends $Command<DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
42
80
  readonly input: DeleteBotAliasCommandInput;
@@ -32,6 +32,26 @@ export interface DeleteBotChannelAssociationCommandOutput extends __MetadataBear
32
32
  * @see {@link DeleteBotChannelAssociationCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link ConflictException} (client fault)
41
+ * <p> There was a conflict processing the request. Try your request
42
+ * again. </p>
43
+ *
44
+ * @throws {@link InternalFailureException} (server fault)
45
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request exceeded a limit. Try your request again.</p>
49
+ *
50
+ * @throws {@link NotFoundException} (client fault)
51
+ * <p>The resource specified in the request was not found. Check the
52
+ * resource and try again.</p>
53
+ *
54
+ *
35
55
  */
36
56
  export declare class DeleteBotChannelAssociationCommand extends $Command<DeleteBotChannelAssociationCommandInput, DeleteBotChannelAssociationCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
57
  readonly input: DeleteBotChannelAssociationCommandInput;
@@ -45,6 +45,44 @@ export interface DeleteBotCommandOutput extends __MetadataBearer {
45
45
  * @see {@link DeleteBotCommandOutput} for command's `response` shape.
46
46
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
47
47
  *
48
+ * @throws {@link BadRequestException} (client fault)
49
+ * <p>The request is not well formed. For example, a value is invalid or
50
+ * a required field is missing. Check the field values, and try
51
+ * again.</p>
52
+ *
53
+ * @throws {@link ConflictException} (client fault)
54
+ * <p> There was a conflict processing the request. Try your request
55
+ * again. </p>
56
+ *
57
+ * @throws {@link InternalFailureException} (server fault)
58
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
59
+ *
60
+ * @throws {@link LimitExceededException} (client fault)
61
+ * <p>The request exceeded a limit. Try your request again.</p>
62
+ *
63
+ * @throws {@link NotFoundException} (client fault)
64
+ * <p>The resource specified in the request was not found. Check the
65
+ * resource and try again.</p>
66
+ *
67
+ * @throws {@link ResourceInUseException} (client fault)
68
+ * <p>The resource that you are attempting to delete is referred to by
69
+ * another resource. Use this information to remove references to the
70
+ * resource that you are trying to delete.</p>
71
+ * <p>The body of the exception contains a JSON object that describes the
72
+ * resource.</p>
73
+ * <p>
74
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
75
+ * INTENT,</code>
76
+ * </p>
77
+ * <p>
78
+ * <code>"resourceReference": {</code>
79
+ * </p>
80
+ * <p>
81
+ * <code>"name": <i>string</i>, "version":
82
+ * <i>string</i> } }</code>
83
+ * </p>
84
+ *
85
+ *
48
86
  */
49
87
  export declare class DeleteBotCommand extends $Command<DeleteBotCommandInput, DeleteBotCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
50
88
  readonly input: DeleteBotCommandInput;
@@ -32,6 +32,44 @@ export interface DeleteBotVersionCommandOutput extends __MetadataBearer {
32
32
  * @see {@link DeleteBotVersionCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link ConflictException} (client fault)
41
+ * <p> There was a conflict processing the request. Try your request
42
+ * again. </p>
43
+ *
44
+ * @throws {@link InternalFailureException} (server fault)
45
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request exceeded a limit. Try your request again.</p>
49
+ *
50
+ * @throws {@link NotFoundException} (client fault)
51
+ * <p>The resource specified in the request was not found. Check the
52
+ * resource and try again.</p>
53
+ *
54
+ * @throws {@link ResourceInUseException} (client fault)
55
+ * <p>The resource that you are attempting to delete is referred to by
56
+ * another resource. Use this information to remove references to the
57
+ * resource that you are trying to delete.</p>
58
+ * <p>The body of the exception contains a JSON object that describes the
59
+ * resource.</p>
60
+ * <p>
61
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
62
+ * INTENT,</code>
63
+ * </p>
64
+ * <p>
65
+ * <code>"resourceReference": {</code>
66
+ * </p>
67
+ * <p>
68
+ * <code>"name": <i>string</i>, "version":
69
+ * <i>string</i> } }</code>
70
+ * </p>
71
+ *
72
+ *
35
73
  */
36
74
  export declare class DeleteBotVersionCommand extends $Command<DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
75
  readonly input: DeleteBotVersionCommandInput;
@@ -46,6 +46,44 @@ export interface DeleteIntentCommandOutput extends __MetadataBearer {
46
46
  * @see {@link DeleteIntentCommandOutput} for command's `response` shape.
47
47
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
48
48
  *
49
+ * @throws {@link BadRequestException} (client fault)
50
+ * <p>The request is not well formed. For example, a value is invalid or
51
+ * a required field is missing. Check the field values, and try
52
+ * again.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p> There was a conflict processing the request. Try your request
56
+ * again. </p>
57
+ *
58
+ * @throws {@link InternalFailureException} (server fault)
59
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
60
+ *
61
+ * @throws {@link LimitExceededException} (client fault)
62
+ * <p>The request exceeded a limit. Try your request again.</p>
63
+ *
64
+ * @throws {@link NotFoundException} (client fault)
65
+ * <p>The resource specified in the request was not found. Check the
66
+ * resource and try again.</p>
67
+ *
68
+ * @throws {@link ResourceInUseException} (client fault)
69
+ * <p>The resource that you are attempting to delete is referred to by
70
+ * another resource. Use this information to remove references to the
71
+ * resource that you are trying to delete.</p>
72
+ * <p>The body of the exception contains a JSON object that describes the
73
+ * resource.</p>
74
+ * <p>
75
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
76
+ * INTENT,</code>
77
+ * </p>
78
+ * <p>
79
+ * <code>"resourceReference": {</code>
80
+ * </p>
81
+ * <p>
82
+ * <code>"name": <i>string</i>, "version":
83
+ * <i>string</i> } }</code>
84
+ * </p>
85
+ *
86
+ *
49
87
  */
50
88
  export declare class DeleteIntentCommand extends $Command<DeleteIntentCommandInput, DeleteIntentCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
51
89
  readonly input: DeleteIntentCommandInput;
@@ -32,6 +32,44 @@ export interface DeleteIntentVersionCommandOutput extends __MetadataBearer {
32
32
  * @see {@link DeleteIntentVersionCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link ConflictException} (client fault)
41
+ * <p> There was a conflict processing the request. Try your request
42
+ * again. </p>
43
+ *
44
+ * @throws {@link InternalFailureException} (server fault)
45
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request exceeded a limit. Try your request again.</p>
49
+ *
50
+ * @throws {@link NotFoundException} (client fault)
51
+ * <p>The resource specified in the request was not found. Check the
52
+ * resource and try again.</p>
53
+ *
54
+ * @throws {@link ResourceInUseException} (client fault)
55
+ * <p>The resource that you are attempting to delete is referred to by
56
+ * another resource. Use this information to remove references to the
57
+ * resource that you are trying to delete.</p>
58
+ * <p>The body of the exception contains a JSON object that describes the
59
+ * resource.</p>
60
+ * <p>
61
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
62
+ * INTENT,</code>
63
+ * </p>
64
+ * <p>
65
+ * <code>"resourceReference": {</code>
66
+ * </p>
67
+ * <p>
68
+ * <code>"name": <i>string</i>, "version":
69
+ * <i>string</i> } }</code>
70
+ * </p>
71
+ *
72
+ *
35
73
  */
36
74
  export declare class DeleteIntentVersionCommand extends $Command<DeleteIntentVersionCommandInput, DeleteIntentVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
75
  readonly input: DeleteIntentVersionCommandInput;
@@ -45,6 +45,44 @@ export interface DeleteSlotTypeCommandOutput extends __MetadataBearer {
45
45
  * @see {@link DeleteSlotTypeCommandOutput} for command's `response` shape.
46
46
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
47
47
  *
48
+ * @throws {@link BadRequestException} (client fault)
49
+ * <p>The request is not well formed. For example, a value is invalid or
50
+ * a required field is missing. Check the field values, and try
51
+ * again.</p>
52
+ *
53
+ * @throws {@link ConflictException} (client fault)
54
+ * <p> There was a conflict processing the request. Try your request
55
+ * again. </p>
56
+ *
57
+ * @throws {@link InternalFailureException} (server fault)
58
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
59
+ *
60
+ * @throws {@link LimitExceededException} (client fault)
61
+ * <p>The request exceeded a limit. Try your request again.</p>
62
+ *
63
+ * @throws {@link NotFoundException} (client fault)
64
+ * <p>The resource specified in the request was not found. Check the
65
+ * resource and try again.</p>
66
+ *
67
+ * @throws {@link ResourceInUseException} (client fault)
68
+ * <p>The resource that you are attempting to delete is referred to by
69
+ * another resource. Use this information to remove references to the
70
+ * resource that you are trying to delete.</p>
71
+ * <p>The body of the exception contains a JSON object that describes the
72
+ * resource.</p>
73
+ * <p>
74
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
75
+ * INTENT,</code>
76
+ * </p>
77
+ * <p>
78
+ * <code>"resourceReference": {</code>
79
+ * </p>
80
+ * <p>
81
+ * <code>"name": <i>string</i>, "version":
82
+ * <i>string</i> } }</code>
83
+ * </p>
84
+ *
85
+ *
48
86
  */
49
87
  export declare class DeleteSlotTypeCommand extends $Command<DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
50
88
  readonly input: DeleteSlotTypeCommandInput;
@@ -32,6 +32,44 @@ export interface DeleteSlotTypeVersionCommandOutput extends __MetadataBearer {
32
32
  * @see {@link DeleteSlotTypeVersionCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link ConflictException} (client fault)
41
+ * <p> There was a conflict processing the request. Try your request
42
+ * again. </p>
43
+ *
44
+ * @throws {@link InternalFailureException} (server fault)
45
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request exceeded a limit. Try your request again.</p>
49
+ *
50
+ * @throws {@link NotFoundException} (client fault)
51
+ * <p>The resource specified in the request was not found. Check the
52
+ * resource and try again.</p>
53
+ *
54
+ * @throws {@link ResourceInUseException} (client fault)
55
+ * <p>The resource that you are attempting to delete is referred to by
56
+ * another resource. Use this information to remove references to the
57
+ * resource that you are trying to delete.</p>
58
+ * <p>The body of the exception contains a JSON object that describes the
59
+ * resource.</p>
60
+ * <p>
61
+ * <code>{ "resourceType": BOT | BOTALIAS | BOTCHANNEL |
62
+ * INTENT,</code>
63
+ * </p>
64
+ * <p>
65
+ * <code>"resourceReference": {</code>
66
+ * </p>
67
+ * <p>
68
+ * <code>"name": <i>string</i>, "version":
69
+ * <i>string</i> } }</code>
70
+ * </p>
71
+ *
72
+ *
35
73
  */
36
74
  export declare class DeleteSlotTypeVersionCommand extends $Command<DeleteSlotTypeVersionCommandInput, DeleteSlotTypeVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
75
  readonly input: DeleteSlotTypeVersionCommandInput;
@@ -40,6 +40,22 @@ export interface DeleteUtterancesCommandOutput extends __MetadataBearer {
40
40
  * @see {@link DeleteUtterancesCommandOutput} for command's `response` shape.
41
41
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
42
42
  *
43
+ * @throws {@link BadRequestException} (client fault)
44
+ * <p>The request is not well formed. For example, a value is invalid or
45
+ * a required field is missing. Check the field values, and try
46
+ * again.</p>
47
+ *
48
+ * @throws {@link InternalFailureException} (server fault)
49
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
50
+ *
51
+ * @throws {@link LimitExceededException} (client fault)
52
+ * <p>The request exceeded a limit. Try your request again.</p>
53
+ *
54
+ * @throws {@link NotFoundException} (client fault)
55
+ * <p>The resource specified in the request was not found. Check the
56
+ * resource and try again.</p>
57
+ *
58
+ *
43
59
  */
44
60
  export declare class DeleteUtterancesCommand extends $Command<DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
45
61
  readonly input: DeleteUtterancesCommandInput;
@@ -32,6 +32,22 @@ export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __Metadat
32
32
  * @see {@link GetBotAliasCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link InternalFailureException} (server fault)
41
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
42
+ *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request exceeded a limit. Try your request again.</p>
45
+ *
46
+ * @throws {@link NotFoundException} (client fault)
47
+ * <p>The resource specified in the request was not found. Check the
48
+ * resource and try again.</p>
49
+ *
50
+ *
35
51
  */
36
52
  export declare class GetBotAliasCommand extends $Command<GetBotAliasCommandInput, GetBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
53
  readonly input: GetBotAliasCommandInput;
@@ -31,6 +31,18 @@ export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __Met
31
31
  * @see {@link GetBotAliasesCommandOutput} for command's `response` shape.
32
32
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
33
33
  *
34
+ * @throws {@link BadRequestException} (client fault)
35
+ * <p>The request is not well formed. For example, a value is invalid or
36
+ * a required field is missing. Check the field values, and try
37
+ * again.</p>
38
+ *
39
+ * @throws {@link InternalFailureException} (server fault)
40
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The request exceeded a limit. Try your request again.</p>
44
+ *
45
+ *
34
46
  */
35
47
  export declare class GetBotAliasesCommand extends $Command<GetBotAliasesCommandInput, GetBotAliasesCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
36
48
  readonly input: GetBotAliasesCommandInput;
@@ -32,6 +32,22 @@ export interface GetBotChannelAssociationCommandOutput extends GetBotChannelAsso
32
32
  * @see {@link GetBotChannelAssociationCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link InternalFailureException} (server fault)
41
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
42
+ *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request exceeded a limit. Try your request again.</p>
45
+ *
46
+ * @throws {@link NotFoundException} (client fault)
47
+ * <p>The resource specified in the request was not found. Check the
48
+ * resource and try again.</p>
49
+ *
50
+ *
35
51
  */
36
52
  export declare class GetBotChannelAssociationCommand extends $Command<GetBotChannelAssociationCommandInput, GetBotChannelAssociationCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
53
  readonly input: GetBotChannelAssociationCommandInput;
@@ -33,6 +33,18 @@ export interface GetBotChannelAssociationsCommandOutput extends GetBotChannelAss
33
33
  * @see {@link GetBotChannelAssociationsCommandOutput} for command's `response` shape.
34
34
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
35
35
  *
36
+ * @throws {@link BadRequestException} (client fault)
37
+ * <p>The request is not well formed. For example, a value is invalid or
38
+ * a required field is missing. Check the field values, and try
39
+ * again.</p>
40
+ *
41
+ * @throws {@link InternalFailureException} (server fault)
42
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>The request exceeded a limit. Try your request again.</p>
46
+ *
47
+ *
36
48
  */
37
49
  export declare class GetBotChannelAssociationsCommand extends $Command<GetBotChannelAssociationsCommandInput, GetBotChannelAssociationsCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
38
50
  readonly input: GetBotChannelAssociationsCommandInput;
@@ -32,6 +32,79 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {
32
32
  * @see {@link GetBotCommandOutput} for command's `response` shape.
33
33
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link BadRequestException} (client fault)
36
+ * <p>The request is not well formed. For example, a value is invalid or
37
+ * a required field is missing. Check the field values, and try
38
+ * again.</p>
39
+ *
40
+ * @throws {@link InternalFailureException} (server fault)
41
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
42
+ *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request exceeded a limit. Try your request again.</p>
45
+ *
46
+ * @throws {@link NotFoundException} (client fault)
47
+ * <p>The resource specified in the request was not found. Check the
48
+ * resource and try again.</p>
49
+ *
50
+ *
51
+ * @example To get information about a bot
52
+ * ```javascript
53
+ * // This example shows how to get configuration information for a bot.
54
+ * const input = {
55
+ * "name": "DocOrderPizza",
56
+ * "versionOrAlias": "$LATEST"
57
+ * };
58
+ * const command = new GetBotCommand(input);
59
+ * const response = await client.send(command);
60
+ * /* response ==
61
+ * {
62
+ * "version": "$LATEST",
63
+ * "name": "DocOrderPizzaBot",
64
+ * "abortStatement": {
65
+ * "messages": [
66
+ * {
67
+ * "content": "I don't understand. Can you try again?",
68
+ * "contentType": "PlainText"
69
+ * },
70
+ * {
71
+ * "content": "I'm sorry, I don't understand.",
72
+ * "contentType": "PlainText"
73
+ * }
74
+ * ]
75
+ * },
76
+ * "checksum": "20172ee3-fa06-49b2-bbc5-667c090303e9",
77
+ * "childDirected": true,
78
+ * "clarificationPrompt": {
79
+ * "maxAttempts": 1,
80
+ * "messages": [
81
+ * {
82
+ * "content": "I'm sorry, I didn't hear that. Can you repeate what you just said?",
83
+ * "contentType": "PlainText"
84
+ * },
85
+ * {
86
+ * "content": "Can you say that again?",
87
+ * "contentType": "PlainText"
88
+ * }
89
+ * ]
90
+ * },
91
+ * "createdDate": 1494360160.133,
92
+ * "description": "Orders a pizza from a local pizzeria.",
93
+ * "idleSessionTTLInSeconds": 300,
94
+ * "intents": [
95
+ * {
96
+ * "intentName": "DocOrderPizza",
97
+ * "intentVersion": "$LATEST"
98
+ * }
99
+ * ],
100
+ * "lastUpdatedDate": 1494360160.133,
101
+ * "locale": "en-US",
102
+ * "status": "NOT_BUILT"
103
+ * }
104
+ * *\/
105
+ * // example id: to-get-information-about-a-bot-1494431724188
106
+ * ```
107
+ *
35
108
  */
36
109
  export declare class GetBotCommand extends $Command<GetBotCommandInput, GetBotCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
37
110
  readonly input: GetBotCommandInput;
@@ -39,6 +39,22 @@ export interface GetBotVersionsCommandOutput extends GetBotVersionsResponse, __M
39
39
  * @see {@link GetBotVersionsCommandOutput} for command's `response` shape.
40
40
  * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for LexModelBuildingServiceClient's `config` shape.
41
41
  *
42
+ * @throws {@link BadRequestException} (client fault)
43
+ * <p>The request is not well formed. For example, a value is invalid or
44
+ * a required field is missing. Check the field values, and try
45
+ * again.</p>
46
+ *
47
+ * @throws {@link InternalFailureException} (server fault)
48
+ * <p>An internal Amazon Lex error occurred. Try your request again.</p>
49
+ *
50
+ * @throws {@link LimitExceededException} (client fault)
51
+ * <p>The request exceeded a limit. Try your request again.</p>
52
+ *
53
+ * @throws {@link NotFoundException} (client fault)
54
+ * <p>The resource specified in the request was not found. Check the
55
+ * resource and try again.</p>
56
+ *
57
+ *
42
58
  */
43
59
  export declare class GetBotVersionsCommand extends $Command<GetBotVersionsCommandInput, GetBotVersionsCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
44
60
  readonly input: GetBotVersionsCommandInput;