@aws-sdk/client-qconnect 3.872.0 → 3.874.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/dist-cjs/index.js CHANGED
@@ -3245,6 +3245,7 @@ var se_UpdateAIPromptCommand = /* @__PURE__ */ __name(async (input, context) =>
3245
3245
  (0, import_smithy_client.take)(input, {
3246
3246
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
3247
3247
  description: [],
3248
+ modelId: [],
3248
3249
  templateConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "templateConfiguration"),
3249
3250
  visibilityStatus: []
3250
3251
  })
@@ -1170,6 +1170,7 @@ export const se_UpdateAIPromptCommand = async (input, context) => {
1170
1170
  body = JSON.stringify(take(input, {
1171
1171
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1172
1172
  description: [],
1173
+ modelId: [],
1173
1174
  templateConfiguration: (_) => _json(_),
1174
1175
  visibilityStatus: [],
1175
1176
  }));
@@ -27,7 +27,7 @@ declare const CreateAIPromptCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an Amazon Q in Connect AI Prompt.</p>
30
+ * <p>Creates an Amazon Q in Connect AI Prompt.</p> <note> <p>For more information on supported models, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-ai-prompts.html#cli-create-aiprompt">Supported models for system and custom prompts</a>.</p> </note>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -45,6 +45,7 @@ declare const UpdateAIPromptCommand_base: {
45
45
  * },
46
46
  * },
47
47
  * description: "STRING_VALUE",
48
+ * modelId: "STRING_VALUE",
48
49
  * };
49
50
  * const command = new UpdateAIPromptCommand(input);
50
51
  * const response = await client.send(command);
@@ -2406,6 +2406,11 @@ export interface UpdateAIPromptRequest {
2406
2406
  * @public
2407
2407
  */
2408
2408
  description?: string | undefined;
2409
+ /**
2410
+ * <p>The identifier of the model used for this AI Prompt.</p> <note> <p>For more information on supported models, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-ai-prompts.html#cli-create-aiprompt">Supported models for system and custom prompts</a>.</p> </note>
2411
+ * @public
2412
+ */
2413
+ modelId?: string | undefined;
2409
2414
  }
2410
2415
  /**
2411
2416
  * @public
@@ -789,6 +789,7 @@ export interface UpdateAIPromptRequest {
789
789
  visibilityStatus: VisibilityStatus | undefined;
790
790
  templateConfiguration?: AIPromptTemplateConfiguration | undefined;
791
791
  description?: string | undefined;
792
+ modelId?: string | undefined;
792
793
  }
793
794
  export interface UpdateAIPromptResponse {
794
795
  aiPrompt?: AIPromptData | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-qconnect",
3
3
  "description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
4
- "version": "3.872.0",
4
+ "version": "3.874.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-qconnect",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.864.0",
24
- "@aws-sdk/credential-provider-node": "3.872.0",
25
- "@aws-sdk/middleware-host-header": "3.862.0",
26
- "@aws-sdk/middleware-logger": "3.862.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.862.0",
28
- "@aws-sdk/middleware-user-agent": "3.864.0",
29
- "@aws-sdk/region-config-resolver": "3.862.0",
23
+ "@aws-sdk/core": "3.873.0",
24
+ "@aws-sdk/credential-provider-node": "3.873.0",
25
+ "@aws-sdk/middleware-host-header": "3.873.0",
26
+ "@aws-sdk/middleware-logger": "3.873.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
+ "@aws-sdk/middleware-user-agent": "3.873.0",
29
+ "@aws-sdk/region-config-resolver": "3.873.0",
30
30
  "@aws-sdk/types": "3.862.0",
31
- "@aws-sdk/util-endpoints": "3.862.0",
32
- "@aws-sdk/util-user-agent-browser": "3.862.0",
33
- "@aws-sdk/util-user-agent-node": "3.864.0",
31
+ "@aws-sdk/util-endpoints": "3.873.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.873.0",
33
+ "@aws-sdk/util-user-agent-node": "3.873.0",
34
34
  "@smithy/config-resolver": "^4.1.5",
35
35
  "@smithy/core": "^3.8.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.1",