-
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.
Custom Orchestration API release for AWSBedrockAgents.
Adds support for Time-based Copy for EBS Snapshots and Cross Region PrivateLink. Time-based Copy ensures that EBS Snapshots are copied within and across AWS Regions in a specified timeframe. Cross Region PrivateLink enables customers to connect to VPC endpoint services hosted in other AWS Regions. Enables access to ValueMap and ValueInteger types for SegmentAttributes and fixes deserialization bug for DescribeContactFlow in AmazonConnect Public API Private sharing, file upload and data collection feature support for Q Apps Custom Orchestration and Streaming configurations API release for AWSBedrockAgents.
- Loading branch information
1 parent
f999c6d
commit a662534
Showing
227 changed files
with
9,533 additions
and
680 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.455 | ||
1.11.456 |
78 changes: 78 additions & 0 deletions
78
...-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTrace.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,78 @@ | ||
/** | ||
* 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/CustomOrchestrationTraceEvent.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 trace behavior for the custom orchestration. </p><p><h3>See Also:</h3> | ||
* <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/CustomOrchestrationTrace">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class CustomOrchestrationTrace | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(); | ||
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p> The trace event details used with the custom orchestration. </p> | ||
*/ | ||
inline const CustomOrchestrationTraceEvent& GetEvent() const{ return m_event; } | ||
inline bool EventHasBeenSet() const { return m_eventHasBeenSet; } | ||
inline void SetEvent(const CustomOrchestrationTraceEvent& value) { m_eventHasBeenSet = true; m_event = value; } | ||
inline void SetEvent(CustomOrchestrationTraceEvent&& value) { m_eventHasBeenSet = true; m_event = std::move(value); } | ||
inline CustomOrchestrationTrace& WithEvent(const CustomOrchestrationTraceEvent& value) { SetEvent(value); return *this;} | ||
inline CustomOrchestrationTrace& WithEvent(CustomOrchestrationTraceEvent&& value) { SetEvent(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 CustomOrchestrationTrace& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;} | ||
inline CustomOrchestrationTrace& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;} | ||
inline CustomOrchestrationTrace& WithTraceId(const char* value) { SetTraceId(value); return *this;} | ||
///@} | ||
private: | ||
|
||
CustomOrchestrationTraceEvent m_event; | ||
bool m_eventHasBeenSet = false; | ||
|
||
Aws::String m_traceId; | ||
bool m_traceIdHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace BedrockAgentRuntime | ||
} // namespace Aws |
62 changes: 62 additions & 0 deletions
62
...ock-agent-runtime/include/aws/bedrock-agent-runtime/model/CustomOrchestrationTraceEvent.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> The event in the custom orchestration sequence. </p><p><h3>See Also:</h3> | ||
* <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/CustomOrchestrationTraceEvent">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class CustomOrchestrationTraceEvent | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTraceEvent(); | ||
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTraceEvent(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTraceEvent& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p> The text that prompted the event at this step. </p> | ||
*/ | ||
inline const Aws::String& GetText() const{ return m_text; } | ||
inline bool TextHasBeenSet() const { return m_textHasBeenSet; } | ||
inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } | ||
inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } | ||
inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } | ||
inline CustomOrchestrationTraceEvent& WithText(const Aws::String& value) { SetText(value); return *this;} | ||
inline CustomOrchestrationTraceEvent& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} | ||
inline CustomOrchestrationTraceEvent& WithText(const char* value) { SetText(value); return *this;} | ||
///@} | ||
private: | ||
|
||
Aws::String m_text; | ||
bool m_textHasBeenSet = 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
69 changes: 69 additions & 0 deletions
69
...k-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.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,69 @@ | ||
/** | ||
* 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> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p> Configurations for streaming. </p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/StreamingConfigurations">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class StreamingConfigurations | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations(); | ||
AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p> The guardrail interval to apply as response is generated. </p> | ||
*/ | ||
inline int GetApplyGuardrailInterval() const{ return m_applyGuardrailInterval; } | ||
inline bool ApplyGuardrailIntervalHasBeenSet() const { return m_applyGuardrailIntervalHasBeenSet; } | ||
inline void SetApplyGuardrailInterval(int value) { m_applyGuardrailIntervalHasBeenSet = true; m_applyGuardrailInterval = value; } | ||
inline StreamingConfigurations& WithApplyGuardrailInterval(int value) { SetApplyGuardrailInterval(value); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p> Specifies whether to enable streaming for the final response. This is set to | ||
* <code>false</code> by default. </p> | ||
*/ | ||
inline bool GetStreamFinalResponse() const{ return m_streamFinalResponse; } | ||
inline bool StreamFinalResponseHasBeenSet() const { return m_streamFinalResponseHasBeenSet; } | ||
inline void SetStreamFinalResponse(bool value) { m_streamFinalResponseHasBeenSet = true; m_streamFinalResponse = value; } | ||
inline StreamingConfigurations& WithStreamFinalResponse(bool value) { SetStreamFinalResponse(value); return *this;} | ||
///@} | ||
private: | ||
|
||
int m_applyGuardrailInterval; | ||
bool m_applyGuardrailIntervalHasBeenSet = false; | ||
|
||
bool m_streamFinalResponse; | ||
bool m_streamFinalResponseHasBeenSet = 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
73 changes: 73 additions & 0 deletions
73
generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/CustomOrchestrationTrace.cpp
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,73 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#include <aws/bedrock-agent-runtime/model/CustomOrchestrationTrace.h> | ||
#include <aws/core/utils/json/JsonSerializer.h> | ||
|
||
#include <utility> | ||
|
||
using namespace Aws::Utils::Json; | ||
using namespace Aws::Utils; | ||
|
||
namespace Aws | ||
{ | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
|
||
CustomOrchestrationTrace::CustomOrchestrationTrace() : | ||
m_eventHasBeenSet(false), | ||
m_traceIdHasBeenSet(false) | ||
{ | ||
} | ||
|
||
CustomOrchestrationTrace::CustomOrchestrationTrace(JsonView jsonValue) | ||
: CustomOrchestrationTrace() | ||
{ | ||
*this = jsonValue; | ||
} | ||
|
||
CustomOrchestrationTrace& CustomOrchestrationTrace::operator =(JsonView jsonValue) | ||
{ | ||
if(jsonValue.ValueExists("event")) | ||
{ | ||
m_event = jsonValue.GetObject("event"); | ||
|
||
m_eventHasBeenSet = true; | ||
} | ||
|
||
if(jsonValue.ValueExists("traceId")) | ||
{ | ||
m_traceId = jsonValue.GetString("traceId"); | ||
|
||
m_traceIdHasBeenSet = true; | ||
} | ||
|
||
return *this; | ||
} | ||
|
||
JsonValue CustomOrchestrationTrace::Jsonize() const | ||
{ | ||
JsonValue payload; | ||
|
||
if(m_eventHasBeenSet) | ||
{ | ||
payload.WithObject("event", m_event.Jsonize()); | ||
|
||
} | ||
|
||
if(m_traceIdHasBeenSet) | ||
{ | ||
payload.WithString("traceId", m_traceId); | ||
|
||
} | ||
|
||
return payload; | ||
} | ||
|
||
} // namespace Model | ||
} // namespace BedrockAgentRuntime | ||
} // namespace Aws |
Oops, something went wrong.