Skip to content

Commit 04e8015

Browse files
Adds support for MinimumThroughputBillingCommitment with new UpdateAccountSettings API. Adds support to configure warm throughput for on-demand streams in new UpdateStreamWarmThroughput API and existing CreateStream API and UpdateStreamMode API.
Add Amazon EC2 trn2.3xlarge instance type. Adds support for direct code deploy with CreateAgentRuntime and UpdateAgentRuntime Documentation-only update for LINEAR and CANARY deployment strategies. Fix the AWS Budgets endpoint for the aws-eusc partition.
1 parent a7eeecc commit 04e8015

File tree

64 files changed

+2752
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2752
-261
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.681
1+
1.11.682
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws {
11+
namespace BedrockAgentCoreControl {
12+
namespace Model {
13+
enum class AgentManagedRuntimeType { NOT_SET, PYTHON_3_10, PYTHON_3_11, PYTHON_3_12, PYTHON_3_13 };
14+
15+
namespace AgentManagedRuntimeTypeMapper {
16+
AWS_BEDROCKAGENTCORECONTROL_API AgentManagedRuntimeType GetAgentManagedRuntimeTypeForName(const Aws::String& name);
17+
18+
AWS_BEDROCKAGENTCORECONTROL_API Aws::String GetNameForAgentManagedRuntimeType(AgentManagedRuntimeType value);
19+
} // namespace AgentManagedRuntimeTypeMapper
20+
} // namespace Model
21+
} // namespace BedrockAgentCoreControl
22+
} // namespace Aws

generated/src/aws-cpp-sdk-bedrock-agentcore-control/include/aws/bedrock-agentcore-control/model/AgentRuntimeArtifact.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/bedrock-agentcore-control/model/CodeConfiguration.h>
89
#include <aws/bedrock-agentcore-control/model/ContainerConfiguration.h>
910

1011
#include <utility>
@@ -48,9 +49,31 @@ class AgentRuntimeArtifact {
4849
return *this;
4950
}
5051
///@}
52+
53+
///@{
54+
/**
55+
* <p>The code configuration for the agent runtime artifact, including the source
56+
* code location and execution settings.</p>
57+
*/
58+
inline const CodeConfiguration& GetCodeConfiguration() const { return m_codeConfiguration; }
59+
inline bool CodeConfigurationHasBeenSet() const { return m_codeConfigurationHasBeenSet; }
60+
template <typename CodeConfigurationT = CodeConfiguration>
61+
void SetCodeConfiguration(CodeConfigurationT&& value) {
62+
m_codeConfigurationHasBeenSet = true;
63+
m_codeConfiguration = std::forward<CodeConfigurationT>(value);
64+
}
65+
template <typename CodeConfigurationT = CodeConfiguration>
66+
AgentRuntimeArtifact& WithCodeConfiguration(CodeConfigurationT&& value) {
67+
SetCodeConfiguration(std::forward<CodeConfigurationT>(value));
68+
return *this;
69+
}
70+
///@}
5171
private:
5272
ContainerConfiguration m_containerConfiguration;
5373
bool m_containerConfigurationHasBeenSet = false;
74+
75+
CodeConfiguration m_codeConfiguration;
76+
bool m_codeConfigurationHasBeenSet = false;
5477
};
5578

5679
} // namespace Model
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/bedrock-agentcore-control/model/S3Location.h>
9+
10+
#include <utility>
11+
12+
namespace Aws {
13+
namespace Utils {
14+
namespace Json {
15+
class JsonValue;
16+
class JsonView;
17+
} // namespace Json
18+
} // namespace Utils
19+
namespace BedrockAgentCoreControl {
20+
namespace Model {
21+
22+
/**
23+
* <p>The source code configuration that specifies the location and details of the
24+
* code to be executed.</p><p><h3>See Also:</h3> <a
25+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/Code">AWS
26+
* API Reference</a></p>
27+
*/
28+
class Code {
29+
public:
30+
AWS_BEDROCKAGENTCORECONTROL_API Code() = default;
31+
AWS_BEDROCKAGENTCORECONTROL_API Code(Aws::Utils::Json::JsonView jsonValue);
32+
AWS_BEDROCKAGENTCORECONTROL_API Code& operator=(Aws::Utils::Json::JsonView jsonValue);
33+
AWS_BEDROCKAGENTCORECONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34+
35+
///@{
36+
/**
37+
* <p>The Amazon Amazon S3 object that contains the source code for the agent
38+
* runtime.</p>
39+
*/
40+
inline const S3Location& GetS3() const { return m_s3; }
41+
inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
42+
template <typename S3T = S3Location>
43+
void SetS3(S3T&& value) {
44+
m_s3HasBeenSet = true;
45+
m_s3 = std::forward<S3T>(value);
46+
}
47+
template <typename S3T = S3Location>
48+
Code& WithS3(S3T&& value) {
49+
SetS3(std::forward<S3T>(value));
50+
return *this;
51+
}
52+
///@}
53+
private:
54+
S3Location m_s3;
55+
bool m_s3HasBeenSet = false;
56+
};
57+
58+
} // namespace Model
59+
} // namespace BedrockAgentCoreControl
60+
} // namespace Aws
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/bedrock-agentcore-control/model/AgentManagedRuntimeType.h>
9+
#include <aws/bedrock-agentcore-control/model/Code.h>
10+
#include <aws/core/utils/memory/stl/AWSString.h>
11+
#include <aws/core/utils/memory/stl/AWSVector.h>
12+
13+
#include <utility>
14+
15+
namespace Aws {
16+
namespace Utils {
17+
namespace Json {
18+
class JsonValue;
19+
class JsonView;
20+
} // namespace Json
21+
} // namespace Utils
22+
namespace BedrockAgentCoreControl {
23+
namespace Model {
24+
25+
/**
26+
* <p>The configuration for the source code that defines how the agent runtime code
27+
* should be executed, including the code location, runtime environment, and entry
28+
* point.</p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CodeConfiguration">AWS
30+
* API Reference</a></p>
31+
*/
32+
class CodeConfiguration {
33+
public:
34+
AWS_BEDROCKAGENTCORECONTROL_API CodeConfiguration() = default;
35+
AWS_BEDROCKAGENTCORECONTROL_API CodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
36+
AWS_BEDROCKAGENTCORECONTROL_API CodeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_BEDROCKAGENTCORECONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
38+
39+
///@{
40+
/**
41+
* <p>The source code location and configuration details.</p>
42+
*/
43+
inline const Code& GetCode() const { return m_code; }
44+
inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
45+
template <typename CodeT = Code>
46+
void SetCode(CodeT&& value) {
47+
m_codeHasBeenSet = true;
48+
m_code = std::forward<CodeT>(value);
49+
}
50+
template <typename CodeT = Code>
51+
CodeConfiguration& WithCode(CodeT&& value) {
52+
SetCode(std::forward<CodeT>(value));
53+
return *this;
54+
}
55+
///@}
56+
57+
///@{
58+
/**
59+
* <p>The runtime environment for executing the code (for example, Python 3.9 or
60+
* Node.js 18).</p>
61+
*/
62+
inline AgentManagedRuntimeType GetRuntime() const { return m_runtime; }
63+
inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
64+
inline void SetRuntime(AgentManagedRuntimeType value) {
65+
m_runtimeHasBeenSet = true;
66+
m_runtime = value;
67+
}
68+
inline CodeConfiguration& WithRuntime(AgentManagedRuntimeType value) {
69+
SetRuntime(value);
70+
return *this;
71+
}
72+
///@}
73+
74+
///@{
75+
/**
76+
* <p>The entry point for the code execution, specifying the function or method
77+
* that should be invoked when the code runs.</p>
78+
*/
79+
inline const Aws::Vector<Aws::String>& GetEntryPoint() const { return m_entryPoint; }
80+
inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
81+
template <typename EntryPointT = Aws::Vector<Aws::String>>
82+
void SetEntryPoint(EntryPointT&& value) {
83+
m_entryPointHasBeenSet = true;
84+
m_entryPoint = std::forward<EntryPointT>(value);
85+
}
86+
template <typename EntryPointT = Aws::Vector<Aws::String>>
87+
CodeConfiguration& WithEntryPoint(EntryPointT&& value) {
88+
SetEntryPoint(std::forward<EntryPointT>(value));
89+
return *this;
90+
}
91+
template <typename EntryPointT = Aws::String>
92+
CodeConfiguration& AddEntryPoint(EntryPointT&& value) {
93+
m_entryPointHasBeenSet = true;
94+
m_entryPoint.emplace_back(std::forward<EntryPointT>(value));
95+
return *this;
96+
}
97+
///@}
98+
private:
99+
Code m_code;
100+
bool m_codeHasBeenSet = false;
101+
102+
AgentManagedRuntimeType m_runtime{AgentManagedRuntimeType::NOT_SET};
103+
bool m_runtimeHasBeenSet = false;
104+
105+
Aws::Vector<Aws::String> m_entryPoint;
106+
bool m_entryPointHasBeenSet = false;
107+
};
108+
109+
} // namespace Model
110+
} // namespace BedrockAgentCoreControl
111+
} // namespace Aws

generated/src/aws-cpp-sdk-bedrock-agentcore-control/include/aws/bedrock-agentcore-control/model/DeleteAgentRuntimeRequest.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControlRequest.h>
88
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
9+
#include <aws/core/utils/UUID.h>
910
#include <aws/core/utils/memory/stl/AWSString.h>
1011

1112
#include <utility>
1213

1314
namespace Aws {
15+
namespace Http {
16+
class URI;
17+
} // namespace Http
1418
namespace BedrockAgentCoreControl {
1519
namespace Model {
1620

@@ -28,6 +32,8 @@ class DeleteAgentRuntimeRequest : public BedrockAgentCoreControlRequest {
2832

2933
AWS_BEDROCKAGENTCORECONTROL_API Aws::String SerializePayload() const override;
3034

35+
AWS_BEDROCKAGENTCORECONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36+
3137
///@{
3238
/**
3339
* <p>The unique identifier of the AgentCore Runtime to delete.</p>
@@ -45,9 +51,32 @@ class DeleteAgentRuntimeRequest : public BedrockAgentCoreControlRequest {
4551
return *this;
4652
}
4753
///@}
54+
55+
///@{
56+
/**
57+
* <p>A unique, case-sensitive identifier to ensure that the operation completes no
58+
* more than one time. If this token matches a previous request, the service
59+
* ignores the request but does not return an error.</p>
60+
*/
61+
inline const Aws::String& GetClientToken() const { return m_clientToken; }
62+
inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63+
template <typename ClientTokenT = Aws::String>
64+
void SetClientToken(ClientTokenT&& value) {
65+
m_clientTokenHasBeenSet = true;
66+
m_clientToken = std::forward<ClientTokenT>(value);
67+
}
68+
template <typename ClientTokenT = Aws::String>
69+
DeleteAgentRuntimeRequest& WithClientToken(ClientTokenT&& value) {
70+
SetClientToken(std::forward<ClientTokenT>(value));
71+
return *this;
72+
}
73+
///@}
4874
private:
4975
Aws::String m_agentRuntimeId;
5076
bool m_agentRuntimeIdHasBeenSet = false;
77+
78+
Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()};
79+
bool m_clientTokenHasBeenSet = true;
5180
};
5281

5382
} // namespace Model

generated/src/aws-cpp-sdk-bedrock-agentcore-control/include/aws/bedrock-agentcore-control/model/S3Location.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,34 @@ class S3Location {
6868
return *this;
6969
}
7070
///@}
71+
72+
///@{
73+
/**
74+
* <p>The version ID of the Amazon Amazon S3 object. If not specified, the latest
75+
* version of the object is used.</p>
76+
*/
77+
inline const Aws::String& GetVersionId() const { return m_versionId; }
78+
inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
79+
template <typename VersionIdT = Aws::String>
80+
void SetVersionId(VersionIdT&& value) {
81+
m_versionIdHasBeenSet = true;
82+
m_versionId = std::forward<VersionIdT>(value);
83+
}
84+
template <typename VersionIdT = Aws::String>
85+
S3Location& WithVersionId(VersionIdT&& value) {
86+
SetVersionId(std::forward<VersionIdT>(value));
87+
return *this;
88+
}
89+
///@}
7190
private:
7291
Aws::String m_bucket;
7392
bool m_bucketHasBeenSet = false;
7493

7594
Aws::String m_prefix;
7695
bool m_prefixHasBeenSet = false;
96+
97+
Aws::String m_versionId;
98+
bool m_versionIdHasBeenSet = false;
7799
};
78100

79101
} // namespace Model

0 commit comments

Comments
 (0)