Skip to content

Commit 399a1c8

Browse files
author
awstools
committed
feat(client-qconnect): Releasing model ID support for UpdateAIPrompt
1 parent ee5cf95 commit 399a1c8

File tree

5 files changed

+16
-46
lines changed

5 files changed

+16
-46
lines changed

clients/client-qconnect/src/commands/CreateAIPromptCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CreateAIPromptCommandInput extends CreateAIPromptRequest {}
3333
export interface CreateAIPromptCommandOutput extends CreateAIPromptResponse, __MetadataBearer {}
3434

3535
/**
36-
* <p>Creates an Amazon Q in Connect AI Prompt.</p>
36+
* <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>
3737
* @example
3838
* Use a bare-bones client and the command you need to make an API call.
3939
* ```javascript

clients/client-qconnect/src/commands/UpdateAIPromptCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface UpdateAIPromptCommandOutput extends UpdateAIPromptResponse, __M
5151
* },
5252
* },
5353
* description: "STRING_VALUE",
54+
* modelId: "STRING_VALUE",
5455
* };
5556
* const command = new UpdateAIPromptCommand(input);
5657
* const response = await client.send(command);

clients/client-qconnect/src/models/models_0.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2857,6 +2857,12 @@ export interface UpdateAIPromptRequest {
28572857
* @public
28582858
*/
28592859
description?: string | undefined;
2860+
2861+
/**
2862+
* <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>
2863+
* @public
2864+
*/
2865+
modelId?: string | undefined;
28602866
}
28612867

28622868
/**

clients/client-qconnect/src/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,6 +2197,7 @@ export const se_UpdateAIPromptCommand = async (
21972197
take(input, {
21982198
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
21992199
description: [],
2200+
modelId: [],
22002201
templateConfiguration: (_) => _json(_),
22012202
visibilityStatus: [],
22022203
})

codegen/sdk-codegen/aws-models/qconnect.json

Lines changed: 7 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -3337,7 +3337,7 @@
33373337
}
33383338
],
33393339
"traits": {
3340-
"smithy.api#documentation": "<p>Creates an Amazon Q in Connect AI Prompt.</p>",
3340+
"smithy.api#documentation": "<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>",
33413341
"smithy.api#http": {
33423342
"uri": "/assistants/{assistantId}/aiprompts",
33433343
"method": "POST"
@@ -15654,6 +15654,12 @@
1565415654
"traits": {
1565515655
"smithy.api#documentation": "<p>The description of the Amazon Q in Connect AI Prompt.</p>"
1565615656
}
15657+
},
15658+
"modelId": {
15659+
"target": "com.amazonaws.qconnect#AIPromptModelIdentifier",
15660+
"traits": {
15661+
"smithy.api#documentation": "<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>"
15662+
}
1565715663
}
1565815664
},
1565915665
"traits": {
@@ -17187,17 +17193,6 @@
1718717193
"UseDualStack": false
1718817194
}
1718917195
},
17190-
{
17191-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
17192-
"expect": {
17193-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
17194-
},
17195-
"params": {
17196-
"Region": "us-iso-east-1",
17197-
"UseFIPS": true,
17198-
"UseDualStack": true
17199-
}
17200-
},
1720117196
{
1720217197
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
1720317198
"expect": {
@@ -17211,17 +17206,6 @@
1721117206
"UseDualStack": false
1721217207
}
1721317208
},
17214-
{
17215-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
17216-
"expect": {
17217-
"error": "DualStack is enabled but this partition does not support DualStack"
17218-
},
17219-
"params": {
17220-
"Region": "us-iso-east-1",
17221-
"UseFIPS": false,
17222-
"UseDualStack": true
17223-
}
17224-
},
1722517209
{
1722617210
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
1722717211
"expect": {
@@ -17235,17 +17219,6 @@
1723517219
"UseDualStack": false
1723617220
}
1723717221
},
17238-
{
17239-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
17240-
"expect": {
17241-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
17242-
},
17243-
"params": {
17244-
"Region": "us-isob-east-1",
17245-
"UseFIPS": true,
17246-
"UseDualStack": true
17247-
}
17248-
},
1724917222
{
1725017223
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
1725117224
"expect": {
@@ -17259,17 +17232,6 @@
1725917232
"UseDualStack": false
1726017233
}
1726117234
},
17262-
{
17263-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
17264-
"expect": {
17265-
"error": "DualStack is enabled but this partition does not support DualStack"
17266-
},
17267-
"params": {
17268-
"Region": "us-isob-east-1",
17269-
"UseFIPS": false,
17270-
"UseDualStack": true
17271-
}
17272-
},
1727317235
{
1727417236
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
1727517237
"expect": {

0 commit comments

Comments
 (0)