Skip to content

Commit

Permalink
Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Z…
Browse files Browse the repository at this point in the history
…one Network Border Group level

This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs.
Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock.
Add support for contextual grounding check for Guardrails for Amazon Bedrock.
Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer.
Documentation update specifying OEM ephemeris units of measurement
Add recipe step support for recipe node
AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs.
Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions.
Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources.
  • Loading branch information
aws-sdk-cpp-automation committed Jul 10, 2024
1 parent 77b525c commit 1f6bc10
Show file tree
Hide file tree
Showing 568 changed files with 42,609 additions and 892 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.365
1.11.366
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ namespace Model
inline EksAttemptDetail& AddInitContainers(EksAttemptContainerDetail&& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster.</p>
*/
inline const Aws::String& GetEksClusterArn() const{ return m_eksClusterArn; }
inline bool EksClusterArnHasBeenSet() const { return m_eksClusterArnHasBeenSet; }
inline void SetEksClusterArn(const Aws::String& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = value; }
inline void SetEksClusterArn(Aws::String&& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = std::move(value); }
inline void SetEksClusterArn(const char* value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn.assign(value); }
inline EksAttemptDetail& WithEksClusterArn(const Aws::String& value) { SetEksClusterArn(value); return *this;}
inline EksAttemptDetail& WithEksClusterArn(Aws::String&& value) { SetEksClusterArn(std::move(value)); return *this;}
inline EksAttemptDetail& WithEksClusterArn(const char* value) { SetEksClusterArn(value); return *this;}
///@}

///@{
/**
* <p>The name of the pod for this job attempt.</p>
Expand Down Expand Up @@ -142,6 +156,9 @@ namespace Model
Aws::Vector<EksAttemptContainerDetail> m_initContainers;
bool m_initContainersHasBeenSet = false;

Aws::String m_eksClusterArn;
bool m_eksClusterArnHasBeenSet = false;

Aws::String m_podName;
bool m_podNameHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <aws/batch/model/ContainerOverrides.h>
#include <aws/batch/model/EcsPropertiesOverride.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/EksPropertiesOverride.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -102,6 +103,19 @@ namespace Model
inline NodePropertyOverride& AddInstanceTypes(Aws::String&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; }
inline NodePropertyOverride& AddInstanceTypes(const char* value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; }
///@}

///@{
/**
* <p>An object that contains the properties that you want to replace for the
* existing Amazon EKS resources of a job.</p>
*/
inline const EksPropertiesOverride& GetEksPropertiesOverride() const{ return m_eksPropertiesOverride; }
inline bool EksPropertiesOverrideHasBeenSet() const { return m_eksPropertiesOverrideHasBeenSet; }
inline void SetEksPropertiesOverride(const EksPropertiesOverride& value) { m_eksPropertiesOverrideHasBeenSet = true; m_eksPropertiesOverride = value; }
inline void SetEksPropertiesOverride(EksPropertiesOverride&& value) { m_eksPropertiesOverrideHasBeenSet = true; m_eksPropertiesOverride = std::move(value); }
inline NodePropertyOverride& WithEksPropertiesOverride(const EksPropertiesOverride& value) { SetEksPropertiesOverride(value); return *this;}
inline NodePropertyOverride& WithEksPropertiesOverride(EksPropertiesOverride&& value) { SetEksPropertiesOverride(std::move(value)); return *this;}
///@}
private:

Aws::String m_targetNodes;
Expand All @@ -115,6 +129,9 @@ namespace Model

Aws::Vector<Aws::String> m_instanceTypes;
bool m_instanceTypesHasBeenSet = false;

EksPropertiesOverride m_eksPropertiesOverride;
bool m_eksPropertiesOverrideHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <aws/batch/model/ContainerProperties.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/EcsProperties.h>
#include <aws/batch/model/EksProperties.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -104,6 +105,19 @@ namespace Model
inline NodeRangeProperty& WithEcsProperties(const EcsProperties& value) { SetEcsProperties(value); return *this;}
inline NodeRangeProperty& WithEcsProperties(EcsProperties&& value) { SetEcsProperties(std::move(value)); return *this;}
///@}

///@{
/**
* <p>This is an object that represents the properties of the node range for a
* multi-node parallel job.</p>
*/
inline const EksProperties& GetEksProperties() const{ return m_eksProperties; }
inline bool EksPropertiesHasBeenSet() const { return m_eksPropertiesHasBeenSet; }
inline void SetEksProperties(const EksProperties& value) { m_eksPropertiesHasBeenSet = true; m_eksProperties = value; }
inline void SetEksProperties(EksProperties&& value) { m_eksPropertiesHasBeenSet = true; m_eksProperties = std::move(value); }
inline NodeRangeProperty& WithEksProperties(const EksProperties& value) { SetEksProperties(value); return *this;}
inline NodeRangeProperty& WithEksProperties(EksProperties&& value) { SetEksProperties(std::move(value)); return *this;}
///@}
private:

Aws::String m_targetNodes;
Expand All @@ -117,6 +131,9 @@ namespace Model

EcsProperties m_ecsProperties;
bool m_ecsPropertiesHasBeenSet = false;

EksProperties m_eksProperties;
bool m_eksPropertiesHasBeenSet = false;
};

} // namespace Model
Expand Down
14 changes: 14 additions & 0 deletions generated/src/aws-cpp-sdk-batch/source/model/EksAttemptDetail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace Model
EksAttemptDetail::EksAttemptDetail() :
m_containersHasBeenSet(false),
m_initContainersHasBeenSet(false),
m_eksClusterArnHasBeenSet(false),
m_podNameHasBeenSet(false),
m_nodeNameHasBeenSet(false),
m_startedAt(0),
Expand Down Expand Up @@ -59,6 +60,13 @@ EksAttemptDetail& EksAttemptDetail::operator =(JsonView jsonValue)
m_initContainersHasBeenSet = true;
}

if(jsonValue.ValueExists("eksClusterArn"))
{
m_eksClusterArn = jsonValue.GetString("eksClusterArn");

m_eksClusterArnHasBeenSet = true;
}

if(jsonValue.ValueExists("podName"))
{
m_podName = jsonValue.GetString("podName");
Expand Down Expand Up @@ -123,6 +131,12 @@ JsonValue EksAttemptDetail::Jsonize() const

}

if(m_eksClusterArnHasBeenSet)
{
payload.WithString("eksClusterArn", m_eksClusterArn);

}

if(m_podNameHasBeenSet)
{
payload.WithString("podName", m_podName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ NodePropertyOverride::NodePropertyOverride() :
m_targetNodesHasBeenSet(false),
m_containerOverridesHasBeenSet(false),
m_ecsPropertiesOverrideHasBeenSet(false),
m_instanceTypesHasBeenSet(false)
m_instanceTypesHasBeenSet(false),
m_eksPropertiesOverrideHasBeenSet(false)
{
}

Expand Down Expand Up @@ -65,6 +66,13 @@ NodePropertyOverride& NodePropertyOverride::operator =(JsonView jsonValue)
m_instanceTypesHasBeenSet = true;
}

if(jsonValue.ValueExists("eksPropertiesOverride"))
{
m_eksPropertiesOverride = jsonValue.GetObject("eksPropertiesOverride");

m_eksPropertiesOverrideHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -101,6 +109,12 @@ JsonValue NodePropertyOverride::Jsonize() const

}

if(m_eksPropertiesOverrideHasBeenSet)
{
payload.WithObject("eksPropertiesOverride", m_eksPropertiesOverride.Jsonize());

}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ NodeRangeProperty::NodeRangeProperty() :
m_targetNodesHasBeenSet(false),
m_containerHasBeenSet(false),
m_instanceTypesHasBeenSet(false),
m_ecsPropertiesHasBeenSet(false)
m_ecsPropertiesHasBeenSet(false),
m_eksPropertiesHasBeenSet(false)
{
}

Expand Down Expand Up @@ -65,6 +66,13 @@ NodeRangeProperty& NodeRangeProperty::operator =(JsonView jsonValue)
m_ecsPropertiesHasBeenSet = true;
}

if(jsonValue.ValueExists("eksProperties"))
{
m_eksProperties = jsonValue.GetObject("eksProperties");

m_eksPropertiesHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -101,6 +109,12 @@ JsonValue NodeRangeProperty::Jsonize() const

}

if(m_eksPropertiesHasBeenSet)
{
payload.WithObject("eksProperties", m_eksProperties.Jsonize());

}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,67 @@ namespace BedrockAgentRuntime
virtual ~BedrockAgentRuntimeClient();

/**
* <p>The CLI doesn't support <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>Deletes memory from the specified memory identifier.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/DeleteAgentMemory">AWS
* API Reference</a></p>
*/
virtual Model::DeleteAgentMemoryOutcome DeleteAgentMemory(const Model::DeleteAgentMemoryRequest& request) const;

/**
* A Callable wrapper for DeleteAgentMemory that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
Model::DeleteAgentMemoryOutcomeCallable DeleteAgentMemoryCallable(const DeleteAgentMemoryRequestT& request) const
{
return SubmitCallable(&BedrockAgentRuntimeClient::DeleteAgentMemory, request);
}

/**
* An Async wrapper for DeleteAgentMemory that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
void DeleteAgentMemoryAsync(const DeleteAgentMemoryRequestT& request, const DeleteAgentMemoryResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockAgentRuntimeClient::DeleteAgentMemory, request, handler, context);
}

/**
* <p>Gets the sessions stored in the memory of the agent.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetAgentMemory">AWS
* API Reference</a></p>
*/
virtual Model::GetAgentMemoryOutcome GetAgentMemory(const Model::GetAgentMemoryRequest& request) const;

/**
* A Callable wrapper for GetAgentMemory that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
Model::GetAgentMemoryOutcomeCallable GetAgentMemoryCallable(const GetAgentMemoryRequestT& request) const
{
return SubmitCallable(&BedrockAgentRuntimeClient::GetAgentMemory, request);
}

/**
* An Async wrapper for GetAgentMemory that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
void GetAgentMemoryAsync(const GetAgentMemoryRequestT& request, const GetAgentMemoryResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockAgentRuntimeClient::GetAgentMemory, request, handler, context);
}

/**
* <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
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events">Trace
* enablement</a>.</p> </li> <li> <p>End a conversation by setting
* <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the
Expand Down Expand Up @@ -124,6 +177,36 @@ namespace BedrockAgentRuntime
return SubmitAsync(&BedrockAgentRuntimeClient::InvokeAgent, request, handler, context);
}

/**
* <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><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/InvokeFlow">AWS
* API Reference</a></p>
*/
virtual Model::InvokeFlowOutcome InvokeFlow(Model::InvokeFlowRequest& request) const;

/**
* A Callable wrapper for InvokeFlow that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename InvokeFlowRequestT = Model::InvokeFlowRequest>
Model::InvokeFlowOutcomeCallable InvokeFlowCallable(InvokeFlowRequestT& request) const
{
return SubmitCallable(&BedrockAgentRuntimeClient::InvokeFlow, request);
}

/**
* An Async wrapper for InvokeFlow that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename InvokeFlowRequestT = Model::InvokeFlowRequest>
void InvokeFlowAsync(InvokeFlowRequestT& request, const InvokeFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockAgentRuntimeClient::InvokeFlow, request, handler, context);
}

/**
* <p>Queries a knowledge base and retrieves information from it.</p><p><h3>See
* Also:</h3> <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
/* End of generic header includes */

/* Service model headers required in BedrockAgentRuntimeClient header */
#include <aws/bedrock-agent-runtime/model/DeleteAgentMemoryResult.h>
#include <aws/bedrock-agent-runtime/model/GetAgentMemoryResult.h>
#include <aws/bedrock-agent-runtime/model/RetrieveResult.h>
#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateResult.h>
#include <aws/core/NoResult.h>
Expand Down Expand Up @@ -61,19 +63,28 @@ namespace Aws
namespace Model
{
/* Service model forward declarations required in BedrockAgentRuntimeClient header */
class DeleteAgentMemoryRequest;
class GetAgentMemoryRequest;
class InvokeAgentRequest;
class InvokeFlowRequest;
class RetrieveRequest;
class RetrieveAndGenerateRequest;
/* End of service model forward declarations required in BedrockAgentRuntimeClient header */

/* Service model Outcome class definitions */
typedef Aws::Utils::Outcome<DeleteAgentMemoryResult, BedrockAgentRuntimeError> DeleteAgentMemoryOutcome;
typedef Aws::Utils::Outcome<GetAgentMemoryResult, BedrockAgentRuntimeError> GetAgentMemoryOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> InvokeAgentOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> InvokeFlowOutcome;
typedef Aws::Utils::Outcome<RetrieveResult, BedrockAgentRuntimeError> RetrieveOutcome;
typedef Aws::Utils::Outcome<RetrieveAndGenerateResult, BedrockAgentRuntimeError> RetrieveAndGenerateOutcome;
/* End of service model Outcome class definitions */

/* Service model Outcome callable definitions */
typedef std::future<DeleteAgentMemoryOutcome> DeleteAgentMemoryOutcomeCallable;
typedef std::future<GetAgentMemoryOutcome> GetAgentMemoryOutcomeCallable;
typedef std::future<InvokeAgentOutcome> InvokeAgentOutcomeCallable;
typedef std::future<InvokeFlowOutcome> InvokeFlowOutcomeCallable;
typedef std::future<RetrieveOutcome> RetrieveOutcomeCallable;
typedef std::future<RetrieveAndGenerateOutcome> RetrieveAndGenerateOutcomeCallable;
/* End of service model Outcome callable definitions */
Expand All @@ -82,7 +93,10 @@ namespace Aws
class BedrockAgentRuntimeClient;

/* Service model async handlers definitions */
typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::DeleteAgentMemoryRequest&, const Model::DeleteAgentMemoryOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAgentMemoryResponseReceivedHandler;
typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::GetAgentMemoryRequest&, const Model::GetAgentMemoryOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetAgentMemoryResponseReceivedHandler;
typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::InvokeAgentRequest&, const Model::InvokeAgentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeAgentResponseReceivedHandler;
typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::InvokeFlowRequest&, const Model::InvokeFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeFlowResponseReceivedHandler;
typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::RetrieveRequest&, const Model::RetrieveOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetrieveResponseReceivedHandler;
typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::RetrieveAndGenerateRequest&, const Model::RetrieveAndGenerateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetrieveAndGenerateResponseReceivedHandler;
/* End of service model async handlers definitions */
Expand Down
Loading

0 comments on commit 1f6bc10

Please sign in to comment.