@aws-sdk/client-lex-models-v2 3.145.0 → 3.154.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 (40) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/commands/CreateIntentCommand.js +3 -3
  3. package/dist-cjs/commands/CreateSlotCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeIntentCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeSlotCommand.js +2 -1
  6. package/dist-cjs/commands/UpdateIntentCommand.js +3 -3
  7. package/dist-cjs/commands/UpdateSlotCommand.js +3 -3
  8. package/dist-cjs/models/index.js +1 -0
  9. package/dist-cjs/models/models_0.js +117 -92
  10. package/dist-cjs/models/models_1.js +51 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +497 -0
  12. package/dist-es/commands/CreateIntentCommand.js +1 -1
  13. package/dist-es/commands/CreateSlotCommand.js +1 -1
  14. package/dist-es/commands/DescribeIntentCommand.js +2 -1
  15. package/dist-es/commands/DescribeSlotCommand.js +2 -1
  16. package/dist-es/commands/UpdateIntentCommand.js +1 -1
  17. package/dist-es/commands/UpdateSlotCommand.js +1 -1
  18. package/dist-es/models/index.js +1 -0
  19. package/dist-es/models/models_0.js +41 -22
  20. package/dist-es/models/models_1.js +13 -0
  21. package/dist-es/protocols/Aws_restJson1.js +416 -8
  22. package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeIntentCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeSlotCommand.d.ts +2 -1
  26. package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
  28. package/dist-types/models/index.d.ts +1 -0
  29. package/dist-types/models/models_0.d.ts +631 -1004
  30. package/dist-types/models/models_1.d.ts +912 -0
  31. package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +2 -1
  35. package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/models/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +261 -408
  39. package/dist-types/ts3.4/models/models_1.d.ts +381 -0
  40. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { CreateIntentRequest, CreateIntentResponse } from "../models/models_0";
4
+ import { CreateIntentRequest, CreateIntentResponse } from "../models/models_1";
5
5
  export interface CreateIntentCommandInput extends CreateIntentRequest {
6
6
  }
7
7
  export interface CreateIntentCommandOutput extends CreateIntentResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { CreateSlotRequest, CreateSlotResponse } from "../models/models_0";
4
+ import { CreateSlotRequest, CreateSlotResponse } from "../models/models_1";
5
5
  export interface CreateSlotCommandInput extends CreateSlotRequest {
6
6
  }
7
7
  export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataBearer {
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { DescribeIntentRequest, DescribeIntentResponse } from "../models/models_0";
4
+ import { DescribeIntentRequest } from "../models/models_0";
5
+ import { DescribeIntentResponse } from "../models/models_1";
5
6
  export interface DescribeIntentCommandInput extends DescribeIntentRequest {
6
7
  }
7
8
  export interface DescribeIntentCommandOutput extends DescribeIntentResponse, __MetadataBearer {
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { DescribeSlotRequest, DescribeSlotResponse } from "../models/models_0";
4
+ import { DescribeSlotRequest } from "../models/models_0";
5
+ import { DescribeSlotResponse } from "../models/models_1";
5
6
  export interface DescribeSlotCommandInput extends DescribeSlotRequest {
6
7
  }
7
8
  export interface DescribeSlotCommandOutput extends DescribeSlotResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { UpdateIntentRequest, UpdateIntentResponse } from "../models/models_0";
4
+ import { UpdateIntentRequest, UpdateIntentResponse } from "../models/models_1";
5
5
  export interface UpdateIntentCommandInput extends UpdateIntentRequest {
6
6
  }
7
7
  export interface UpdateIntentCommandOutput extends UpdateIntentResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { UpdateSlotRequest, UpdateSlotResponse } from "../models/models_0";
4
+ import { UpdateSlotRequest, UpdateSlotResponse } from "../models/models_1";
5
5
  export interface UpdateSlotCommandInput extends UpdateSlotRequest {
6
6
  }
7
7
  export interface UpdateSlotCommandOutput extends UpdateSlotResponse, __MetadataBearer {
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";