-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Advanced security feature updates to include password history and log…
… export for Cognito user pools. This release adds savings percentage support to the ListRecommendationSummaries API. Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage. Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess
- Loading branch information
1 parent
9ba2f4c
commit 9d209cd
Showing
61 changed files
with
1,530 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.377 | ||
1.11.378 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
.../src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Metadata.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h> | ||
#include <aws/bedrock-agent-runtime/model/Usage.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Provides details of the foundation model.</p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/Metadata">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class Metadata | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API Metadata(); | ||
AWS_BEDROCKAGENTRUNTIME_API Metadata(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Metadata& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p>Contains details of the foundation model usage.</p> | ||
*/ | ||
inline const Usage& GetUsage() const{ return m_usage; } | ||
inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; } | ||
inline void SetUsage(const Usage& value) { m_usageHasBeenSet = true; m_usage = value; } | ||
inline void SetUsage(Usage&& value) { m_usageHasBeenSet = true; m_usage = std::move(value); } | ||
inline Metadata& WithUsage(const Usage& value) { SetUsage(value); return *this;} | ||
inline Metadata& WithUsage(Usage&& value) { SetUsage(std::move(value)); return *this;} | ||
///@} | ||
private: | ||
|
||
Usage m_usage; | ||
bool m_usageHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace BedrockAgentRuntime | ||
} // namespace Aws |
94 changes: 94 additions & 0 deletions
94
...gent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationModelInvocationOutput.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h> | ||
#include <aws/bedrock-agent-runtime/model/Metadata.h> | ||
#include <aws/bedrock-agent-runtime/model/RawResponse.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>The foundation model output from the orchestration step.</p><p><h3>See | ||
* Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/OrchestrationModelInvocationOutput">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class OrchestrationModelInvocationOutput | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput(); | ||
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p>Contains information about the foundation model output.</p> | ||
*/ | ||
inline const Metadata& GetMetadata() const{ return m_metadata; } | ||
inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } | ||
inline void SetMetadata(const Metadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } | ||
inline void SetMetadata(Metadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } | ||
inline OrchestrationModelInvocationOutput& WithMetadata(const Metadata& value) { SetMetadata(value); return *this;} | ||
inline OrchestrationModelInvocationOutput& WithMetadata(Metadata&& value) { SetMetadata(std::move(value)); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>Contains details of the raw response from the foundation model output.</p> | ||
*/ | ||
inline const RawResponse& GetRawResponse() const{ return m_rawResponse; } | ||
inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; } | ||
inline void SetRawResponse(const RawResponse& value) { m_rawResponseHasBeenSet = true; m_rawResponse = value; } | ||
inline void SetRawResponse(RawResponse&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::move(value); } | ||
inline OrchestrationModelInvocationOutput& WithRawResponse(const RawResponse& value) { SetRawResponse(value); return *this;} | ||
inline OrchestrationModelInvocationOutput& WithRawResponse(RawResponse&& value) { SetRawResponse(std::move(value)); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>The unique identifier of the trace.</p> | ||
*/ | ||
inline const Aws::String& GetTraceId() const{ return m_traceId; } | ||
inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; } | ||
inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; } | ||
inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); } | ||
inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); } | ||
inline OrchestrationModelInvocationOutput& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;} | ||
inline OrchestrationModelInvocationOutput& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;} | ||
inline OrchestrationModelInvocationOutput& WithTraceId(const char* value) { SetTraceId(value); return *this;} | ||
///@} | ||
private: | ||
|
||
Metadata m_metadata; | ||
bool m_metadataHasBeenSet = false; | ||
|
||
RawResponse m_rawResponse; | ||
bool m_rawResponseHasBeenSet = false; | ||
|
||
Aws::String m_traceId; | ||
bool m_traceIdHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace BedrockAgentRuntime | ||
} // namespace Aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
...c/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RawResponse.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Contains the raw output from the foundation model.</p><p><h3>See Also:</h3> | ||
* <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/RawResponse">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class RawResponse | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API RawResponse(); | ||
AWS_BEDROCKAGENTRUNTIME_API RawResponse(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API RawResponse& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p>The foundation model's raw output content.</p> | ||
*/ | ||
inline const Aws::String& GetContent() const{ return m_content; } | ||
inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } | ||
inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } | ||
inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } | ||
inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } | ||
inline RawResponse& WithContent(const Aws::String& value) { SetContent(value); return *this;} | ||
inline RawResponse& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} | ||
inline RawResponse& WithContent(const char* value) { SetContent(value); return *this;} | ||
///@} | ||
private: | ||
|
||
Aws::String m_content; | ||
bool m_contentHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace BedrockAgentRuntime | ||
} // namespace Aws |
Oops, something went wrong.