Skip to content

Commit

Permalink
corrects the dual-stack endpoint configuration
Browse files Browse the repository at this point in the history
This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects elevated complaint rates for customer sending identities.
Added GeneralPurpose.4xlarge & GeneralPurpose.8xlarge ComputeTypes.
Mark type in MaintenanceWindow as required.
Documentation updates for Amazon API Gateway
Add Tagging support for ResourceSnapshotJob resources
Increase minimum length of Threat Actor IP 'userAgent' to 1.
This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
Now supports streaming for inline agents.
  • Loading branch information
aws-sdk-cpp-automation committed Jan 15, 2025
1 parent 2da11bb commit 6c30ca4
Show file tree
Hide file tree
Showing 85 changed files with 2,861 additions and 1,511 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.485
1.11.486
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ namespace Model

///@{
/**
* <p>The identifier for the domain name resource. Supported only for private
* custom domain names.</p>
* <p>The identifier for the domain name resource. Required for private custom
* domain names.</p>
*/
inline const Aws::String& GetDomainNameId() const{ return m_domainNameId; }
inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ namespace Model

///@{
/**
* <p> The identifier for the domain name resource. Supported only for private
* custom domain names. </p>
* <p> The identifier for the domain name resource. Required for private custom
* domain names. </p>
*/
inline const Aws::String& GetDomainNameId() const{ return m_domainNameId; }
inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,13 @@ namespace BedrockAgentRuntime
}

/**
* <p>The CLI doesn't support streaming operations in Amazon Bedrock,
* including <code>InvokeAgent</code>.</p> <p>Sends a prompt for the agent
* to process and respond to. Note the following fields for the request:</p> <ul>
* <li> <p>To continue the same conversation with an agent, use the same
* <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace
* enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement
* helps you follow the agent's reasoning process that led it to the information it
* processed, the actions it took, and the final result it yielded. For more
* information, see <a
* <p>Sends a prompt for the agent to process and respond to. Note
* the following fields for the request:</p> <ul> <li> <p>To continue the same
* conversation with an agent, use the same <code>sessionId</code> value in the
* request.</p> </li> <li> <p>To activate trace enablement, turn
* <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow
* the agent's reasoning process that led it to the information it processed, the
* actions it took, and the final result it yielded. For more information, see <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events">Trace
* enablement</a>.</p> </li> <li> <p>To stream agent responses, make sure that only
* orchestration prompt is enabled. Agent streaming is not supported for the
Expand All @@ -177,16 +175,18 @@ namespace BedrockAgentRuntime
* conversation by setting <code>endSession</code> to <code>true</code>.</p> </li>
* <li> <p>In the <code>sessionState</code> object, you can include attributes for
* the session or prompt or, if you configured an action group to return control,
* results from invocation of the action group.</p> </li> </ul> <p>The response is
* returned in the <code>bytes</code> field of the <code>chunk</code> object.</p>
* <ul> <li> <p>The <code>attribution</code> object contains citations for parts of
* the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to
* <code>true</code> in the request, you can trace the agent's steps and reasoning
* process that led it to the response.</p> </li> <li> <p>If the action predicted
* was configured to return control, the response returns parameters for the
* action, elicited from the user, in the <code>returnControl</code> field.</p>
* </li> <li> <p>Errors are also surfaced in the response.</p> </li>
* </ul><p><h3>See Also:</h3> <a
* results from invocation of the action group.</p> </li> </ul> <p>The response
* contains both <b>chunk</b> and <b>trace</b> attributes.</p> <p>The final
* response is returned in the <code>bytes</code> field of the <code>chunk</code>
* object. The <code>InvokeAgent</code> returns one chunk for the entire
* interaction.</p> <ul> <li> <p>The <code>attribution</code> object contains
* citations for parts of the response.</p> </li> <li> <p>If you set
* <code>enableTrace</code> to <code>true</code> in the request, you can trace the
* agent's steps and reasoning process that led it to the response.</p> </li> <li>
* <p>If the action predicted was configured to return control, the response
* returns parameters for the action, elicited from the user, in the
* <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in
* the response.</p> </li> </ul><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/InvokeAgent">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -258,9 +258,8 @@ namespace BedrockAgentRuntime
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced
* prompts</a>.</p> </li> <li> <p>The agent instructions will not be honored if
* your agent has only one knowledge base, uses default prompts, has no action
* group, and user input is disabled.</p> </li> </ul> <p>The CLI doesn't
* support streaming operations in Amazon Bedrock, including
* <code>InvokeInlineAgent</code>.</p> <p><h3>See Also:</h3> <a
* group, and user input is disabled.</p> </li> </ul> <p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/InvokeInlineAgent">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <aws/bedrock-agent-runtime/model/GuardrailConfigurationWithArn.h>
#include <aws/bedrock-agent-runtime/model/InlineSessionState.h>
#include <aws/bedrock-agent-runtime/model/PromptOverrideConfiguration.h>
#include <aws/bedrock-agent-runtime/model/StreamingConfigurations.h>
#include <aws/bedrock-agent-runtime/model/AgentActionGroup.h>
#include <aws/bedrock-agent-runtime/model/KnowledgeBase.h>
#include <utility>
Expand Down Expand Up @@ -263,6 +264,20 @@ namespace Model
inline InvokeInlineAgentRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
inline InvokeInlineAgentRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
///@}

///@{
/**
* <p> Specifies the configurations for streaming. </p> <p>To use agent
* streaming, you need permissions to perform the
* <code>bedrock:InvokeModelWithResponseStream</code> action.</p>
*/
inline const StreamingConfigurations& GetStreamingConfigurations() const{ return m_streamingConfigurations; }
inline bool StreamingConfigurationsHasBeenSet() const { return m_streamingConfigurationsHasBeenSet; }
inline void SetStreamingConfigurations(const StreamingConfigurations& value) { m_streamingConfigurationsHasBeenSet = true; m_streamingConfigurations = value; }
inline void SetStreamingConfigurations(StreamingConfigurations&& value) { m_streamingConfigurationsHasBeenSet = true; m_streamingConfigurations = std::move(value); }
inline InvokeInlineAgentRequest& WithStreamingConfigurations(const StreamingConfigurations& value) { SetStreamingConfigurations(value); return *this;}
inline InvokeInlineAgentRequest& WithStreamingConfigurations(StreamingConfigurations&& value) { SetStreamingConfigurations(std::move(value)); return *this;}
///@}
private:

Aws::Vector<AgentActionGroup> m_actionGroups;
Expand Down Expand Up @@ -306,6 +321,9 @@ namespace Model

Aws::String m_sessionId;
bool m_sessionIdHasBeenSet = false;

StreamingConfigurations m_streamingConfigurations;
bool m_streamingConfigurationsHasBeenSet = false;
InvokeInlineAgentHandler m_handler;
Aws::Utils::Event::EventStreamDecoder m_decoder;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ InvokeInlineAgentRequest::InvokeInlineAgentRequest() :
m_knowledgeBasesHasBeenSet(false),
m_promptOverrideConfigurationHasBeenSet(false),
m_sessionIdHasBeenSet(false),
m_streamingConfigurationsHasBeenSet(false),
m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler))
{
}
Expand Down Expand Up @@ -126,6 +127,12 @@ Aws::String InvokeInlineAgentRequest::SerializePayload() const

}

if(m_streamingConfigurationsHasBeenSet)
{
payload.WithObject("streamingConfigurations", m_streamingConfigurations.Jsonize());

}

return payload.View().WriteReadable();
}

Expand Down
Loading

0 comments on commit 6c30ca4

Please sign in to comment.