Skip to content

Commit

Permalink
Merge branch 'release-1.34.155' into develop
Browse files Browse the repository at this point in the history
* release-1.34.155:
  Bumping version to 1.34.155
  Update to latest models
  Merge customizations for Cost Optimization Hub
  • Loading branch information
aws-sdk-python-automation committed Aug 6, 2024
2 parents b3fb4d0 + 0d24f72 commit 2a1eb5f
Show file tree
Hide file tree
Showing 10 changed files with 234 additions and 50 deletions.
27 changes: 27 additions & 0 deletions .changes/1.34.155.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"category": "``bedrock-agent-runtime``",
"description": "Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage.",
"type": "api-change"
},
{
"category": "``cognito-idp``",
"description": "Advanced security feature updates to include password history and log export for Cognito user pools.",
"type": "api-change"
},
{
"category": "``cost-optimization-hub``",
"description": "This release adds savings percentage support to the ListRecommendationSummaries API.",
"type": "api-change"
},
{
"category": "``workspaces``",
"description": "Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess",
"type": "api-change"
},
{
"category": "AWSCRT",
"description": "Update awscrt version to 0.21.2",
"type": "enhancement"
}
]
5 changes: 0 additions & 5 deletions .changes/next-release/enhancement-AWSCRT-49357.json

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
CHANGELOG
=========

1.34.155
========

* api-change:``bedrock-agent-runtime``: Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage.
* api-change:``cognito-idp``: Advanced security feature updates to include password history and log export for Cognito user pools.
* api-change:``cost-optimization-hub``: This release adds savings percentage support to the ListRecommendationSummaries API.
* api-change:``workspaces``: Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess
* enhancement:AWSCRT: Update awscrt version to 0.21.2


1.34.154
========

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.34.154'
__version__ = '1.34.155'


class NullHandler(logging.Handler):
Expand Down
86 changes: 73 additions & 13 deletions botocore/data/bedrock-agent-runtime/2023-07-26/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
{"shape":"AccessDeniedException"},
{"shape":"ServiceQuotaExceededException"}
],
"documentation":"<p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>"
"documentation":"<p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>"
},
"Retrieve":{
"name":"Retrieve",
Expand Down Expand Up @@ -822,25 +822,25 @@
"members":{
"content":{
"shape":"FlowInputContent",
"documentation":"<p>Contains information about an input into the flow.</p>"
"documentation":"<p>Contains information about an input into the prompt flow.</p>"
},
"nodeName":{
"shape":"NodeName",
"documentation":"<p>A name for the input of the flow input node.</p>"
"documentation":"<p>The name of the flow input node that begins the prompt flow.</p>"
},
"nodeOutputName":{
"shape":"NodeOutputName",
"documentation":"<p>A name for the output of the flow input node.</p>"
"documentation":"<p>The name of the output from the flow input node that begins the prompt flow.</p>"
}
},
"documentation":"<p>Contains information about an input into the flow and what to do with it.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>"
"documentation":"<p>Contains information about an input into the prompt flow and where to send it.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>"
},
"FlowInputContent":{
"type":"structure",
"members":{
"document":{
"shape":"Document",
"documentation":"<p>The input for the flow input node.</p>"
"documentation":"<p>The input to send to the prompt flow input node.</p>"
}
},
"documentation":"<p>Contains information about an input into the flow.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>",
Expand All @@ -858,10 +858,10 @@
"members":{
"document":{
"shape":"Document",
"documentation":"<p>A name for the output of the flow.</p>"
"documentation":"<p>The content in the output.</p>"
}
},
"documentation":"<p>Contains information about the output node.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>",
"documentation":"<p>Contains information about the content in an output from prompt flow invocation.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>",
"union":true
},
"FlowOutputEvent":{
Expand All @@ -874,18 +874,18 @@
"members":{
"content":{
"shape":"FlowOutputContent",
"documentation":"<p>The output of the node.</p>"
"documentation":"<p>The content in the output.</p>"
},
"nodeName":{
"shape":"NodeName",
"documentation":"<p>The name of the node to which input was provided.</p>"
"documentation":"<p>The name of the flow output node that the output is from.</p>"
},
"nodeType":{
"shape":"NodeType",
"documentation":"<p>The type of node to which input was provided.</p>"
"documentation":"<p>The type of the node that the output is from.</p>"
}
},
"documentation":"<p>Contains information about an output from flow invoction.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax\">InvokeFlow response</a> </p> </li> </ul>",
"documentation":"<p>Contains information about an output from prompt flow invoction.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax\">InvokeFlow response</a> </p> </li> </ul>",
"event":true,
"sensitive":true
},
Expand Down Expand Up @@ -1510,7 +1510,7 @@
},
"topP":{
"shape":"TopP",
"documentation":"<p>While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for <code>Top P</code> determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set <code>topP</code> to 80, the model only selects the next token from the top 80% of the probability distribution of next tokens.</p>"
"documentation":"<p>While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for <code>Top P</code> determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set <code>topP</code> to 0.8, the model only selects the next token from the top 80% of the probability distribution of next tokens.</p>"
}
},
"documentation":"<p>Specifications about the inference parameters that were provided alongside the prompt. These are specified in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> object that was set when the agent was created or updated. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p>"
Expand Down Expand Up @@ -1997,6 +1997,17 @@
"type":"string",
"enum":["SESSION_SUMMARY"]
},
"Metadata":{
"type":"structure",
"members":{
"usage":{
"shape":"Usage",
"documentation":"<p>Contains details of the foundation model usage.</p>"
}
},
"documentation":"<p>Provides details of the foundation model.</p>",
"sensitive":true
},
"MimeType":{"type":"string"},
"ModelInvocationInput":{
"type":"structure",
Expand Down Expand Up @@ -2109,6 +2120,25 @@
},
"documentation":"<p>Settings for how the model processes the prompt prior to retrieval and generation.</p>"
},
"OrchestrationModelInvocationOutput":{
"type":"structure",
"members":{
"metadata":{
"shape":"Metadata",
"documentation":"<p>Contains information about the foundation model output.</p>"
},
"rawResponse":{
"shape":"RawResponse",
"documentation":"<p>Contains details of the raw response from the foundation model output.</p>"
},
"traceId":{
"shape":"TraceId",
"documentation":"<p>The unique identifier of the trace.</p>"
}
},
"documentation":"<p>The foundation model output from the orchestration step.</p>",
"sensitive":true
},
"OrchestrationTrace":{
"type":"structure",
"members":{
Expand All @@ -2120,6 +2150,10 @@
"shape":"ModelInvocationInput",
"documentation":"<p>The input for the orchestration step.</p> <ul> <li> <p>The <code>type</code> is <code>ORCHESTRATION</code>.</p> </li> <li> <p>The <code>text</code> contains the prompt.</p> </li> <li> <p>The <code>inferenceConfiguration</code>, <code>parserMode</code>, and <code>overrideLambda</code> values are set in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> object that was set when the agent was created or updated.</p> </li> </ul>"
},
"modelInvocationOutput":{
"shape":"OrchestrationModelInvocationOutput",
"documentation":"<p>Contains information pertaining to the output from the foundation model that is being invoked.</p>"
},
"observation":{
"shape":"Observation",
"documentation":"<p>Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.</p>"
Expand Down Expand Up @@ -2381,6 +2415,17 @@
"type":"string",
"sensitive":true
},
"RawResponse":{
"type":"structure",
"members":{
"content":{
"shape":"String",
"documentation":"<p>The foundation model's raw output content.</p>"
}
},
"documentation":"<p>Contains the raw output from the foundation model.</p>",
"sensitive":true
},
"RepromptResponse":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -3156,6 +3201,21 @@
"REPROMPT"
]
},
"Usage":{
"type":"structure",
"members":{
"inputTokens":{
"shape":"Integer",
"documentation":"<p>Contains information about the input tokens from the foundation model usage.</p>"
},
"outputTokens":{
"shape":"Integer",
"documentation":"<p>Contains information about the output tokens from the foundation model usage.</p>"
}
},
"documentation":"<p>Contains information of the usage of the foundation model.</p>",
"sensitive":true
},
"ValidationException":{
"type":"structure",
"members":{
Expand Down
Loading

0 comments on commit 2a1eb5f

Please sign in to comment.