Skip to content

Commit 08babee

Browse files
AgentCore Identity now supports on-behalf-of token exchange OAuth2. AgentCore Memory now supports metadata for LongTerm Memory Records.
Vended logs update param for capability vended logs feature Observability Admin enablement launch for AWS Kafka, Bedrock Agent Core Workload Identity and OTel metric enablement. Adds support for ZookeeperAccess field to control the Client-Zookeeper connectivity. Adds support for asynchronous notebook runs Adds support for resource-based policies on AWS Payment Cryptography keys, enabling cross-account key sharing. Also adds Multi-Party Approval (MPA) team association APIs for protecting sensitive import root public key operations. Add InstanceArn and IdentityStoreArn in the response of CreateApplication API and IdentityStoreArn in the response of DescribeApplication API Add InstancePools support to Endpoint for flexible provisioning across a prioritized list of instance types. Add Specifications support to InferenceComponent for per-instance-type model configurations. Adds support for regions in the UpdateGlobalResolver input. AgentCore Identity now supports on-behalf-of token exchange OAuth2. AgentCore Memory now supports metadata for LongTerm Memory Records.
1 parent 86ae408 commit 08babee

250 files changed

Lines changed: 13730 additions & 350 deletions

File tree

Some content is hidden

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

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.799
1+
1.11.800
Lines changed: 22 additions & 0 deletions
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 ActorTokenContentType { NOT_SET, NONE, M2M, AWS_IAM_ID_TOKEN_JWT };
14+
15+
namespace ActorTokenContentTypeMapper {
16+
AWS_BEDROCKAGENTCORECONTROL_API ActorTokenContentType GetActorTokenContentTypeForName(const Aws::String& name);
17+
18+
AWS_BEDROCKAGENTCORECONTROL_API Aws::String GetNameForActorTokenContentType(ActorTokenContentType value);
19+
} // namespace ActorTokenContentTypeMapper
20+
} // namespace Model
21+
} // namespace BedrockAgentCoreControl
22+
} // namespace Aws
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 ClientAuthenticationMethodType { NOT_SET, CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, AWS_IAM_ID_TOKEN_JWT };
14+
15+
namespace ClientAuthenticationMethodTypeMapper {
16+
AWS_BEDROCKAGENTCORECONTROL_API ClientAuthenticationMethodType GetClientAuthenticationMethodTypeForName(const Aws::String& name);
17+
18+
AWS_BEDROCKAGENTCORECONTROL_API Aws::String GetNameForClientAuthenticationMethodType(ClientAuthenticationMethodType value);
19+
} // namespace ClientAuthenticationMethodTypeMapper
20+
} // namespace Model
21+
} // namespace BedrockAgentCoreControl
22+
} // namespace Aws

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControlRequest.h>
88
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
9+
#include <aws/bedrock-agentcore-control/model/IndexedKey.h>
910
#include <aws/bedrock-agentcore-control/model/MemoryStrategyInput.h>
1011
#include <aws/bedrock-agentcore-control/model/StreamDeliveryResources.h>
1112
#include <aws/core/utils/UUID.h>
@@ -169,6 +170,31 @@ class CreateMemoryRequest : public BedrockAgentCoreControlRequest {
169170
}
170171
///@}
171172

173+
///@{
174+
/**
175+
* <p>Metadata keys to index for filtering. Once declared, indexed keys cannot be
176+
* removed.</p>
177+
*/
178+
inline const Aws::Vector<IndexedKey>& GetIndexedKeys() const { return m_indexedKeys; }
179+
inline bool IndexedKeysHasBeenSet() const { return m_indexedKeysHasBeenSet; }
180+
template <typename IndexedKeysT = Aws::Vector<IndexedKey>>
181+
void SetIndexedKeys(IndexedKeysT&& value) {
182+
m_indexedKeysHasBeenSet = true;
183+
m_indexedKeys = std::forward<IndexedKeysT>(value);
184+
}
185+
template <typename IndexedKeysT = Aws::Vector<IndexedKey>>
186+
CreateMemoryRequest& WithIndexedKeys(IndexedKeysT&& value) {
187+
SetIndexedKeys(std::forward<IndexedKeysT>(value));
188+
return *this;
189+
}
190+
template <typename IndexedKeysT = IndexedKey>
191+
CreateMemoryRequest& AddIndexedKeys(IndexedKeysT&& value) {
192+
m_indexedKeysHasBeenSet = true;
193+
m_indexedKeys.emplace_back(std::forward<IndexedKeysT>(value));
194+
return *this;
195+
}
196+
///@}
197+
172198
///@{
173199
/**
174200
* <p>Configuration for streaming memory record data to external resources.</p>
@@ -227,6 +253,8 @@ class CreateMemoryRequest : public BedrockAgentCoreControlRequest {
227253

228254
Aws::Vector<MemoryStrategyInput> m_memoryStrategies;
229255

256+
Aws::Vector<IndexedKey> m_indexedKeys;
257+
230258
StreamDeliveryResources m_streamDeliveryResources;
231259

232260
Aws::Map<Aws::String, Aws::String> m_tags;
@@ -237,6 +265,7 @@ class CreateMemoryRequest : public BedrockAgentCoreControlRequest {
237265
bool m_memoryExecutionRoleArnHasBeenSet = false;
238266
bool m_eventExpiryDurationHasBeenSet = false;
239267
bool m_memoryStrategiesHasBeenSet = false;
268+
bool m_indexedKeysHasBeenSet = false;
240269
bool m_streamDeliveryResourcesHasBeenSet = false;
241270
bool m_tagsHasBeenSet = false;
242271
};

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
88
#include <aws/bedrock-agentcore-control/model/CustomConfigurationInput.h>
9+
#include <aws/bedrock-agentcore-control/model/MemoryRecordSchema.h>
910
#include <aws/core/utils/memory/stl/AWSString.h>
1011
#include <aws/core/utils/memory/stl/AWSVector.h>
1112

@@ -110,6 +111,24 @@ class CustomMemoryStrategyInput {
110111
return *this;
111112
}
112113
///@}
114+
115+
///@{
116+
/**
117+
* <p>Schema for metadata fields on records generated by this strategy.</p>
118+
*/
119+
inline const MemoryRecordSchema& GetMemoryRecordSchema() const { return m_memoryRecordSchema; }
120+
inline bool MemoryRecordSchemaHasBeenSet() const { return m_memoryRecordSchemaHasBeenSet; }
121+
template <typename MemoryRecordSchemaT = MemoryRecordSchema>
122+
void SetMemoryRecordSchema(MemoryRecordSchemaT&& value) {
123+
m_memoryRecordSchemaHasBeenSet = true;
124+
m_memoryRecordSchema = std::forward<MemoryRecordSchemaT>(value);
125+
}
126+
template <typename MemoryRecordSchemaT = MemoryRecordSchema>
127+
CustomMemoryStrategyInput& WithMemoryRecordSchema(MemoryRecordSchemaT&& value) {
128+
SetMemoryRecordSchema(std::forward<MemoryRecordSchemaT>(value));
129+
return *this;
130+
}
131+
///@}
113132
private:
114133
Aws::String m_name;
115134

@@ -118,10 +137,13 @@ class CustomMemoryStrategyInput {
118137
Aws::Vector<Aws::String> m_namespaceTemplates;
119138

120139
CustomConfigurationInput m_configuration;
140+
141+
MemoryRecordSchema m_memoryRecordSchema;
121142
bool m_nameHasBeenSet = false;
122143
bool m_descriptionHasBeenSet = false;
123144
bool m_namespaceTemplatesHasBeenSet = false;
124145
bool m_configurationHasBeenSet = false;
146+
bool m_memoryRecordSchemaHasBeenSet = false;
125147
};
126148

127149
} // namespace Model

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

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

66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/bedrock-agentcore-control/model/ClientAuthenticationMethodType.h>
89
#include <aws/bedrock-agentcore-control/model/Oauth2Discovery.h>
10+
#include <aws/bedrock-agentcore-control/model/OnBehalfOfTokenExchangeConfigType.h>
911
#include <aws/bedrock-agentcore-control/model/PrivateEndpoint.h>
1012
#include <aws/bedrock-agentcore-control/model/PrivateEndpointOverride.h>
1113
#include <aws/core/utils/memory/stl/AWSString.h>
@@ -134,6 +136,43 @@ class CustomOauth2ProviderConfigInput {
134136
return *this;
135137
}
136138
///@}
139+
140+
///@{
141+
/**
142+
* <p>The configuration for on-behalf-of token exchange. This enables
143+
* authentication flows that use RFC 8693 token exchange or RFC 7523 JWT
144+
* authorization grants.</p>
145+
*/
146+
inline const OnBehalfOfTokenExchangeConfigType& GetOnBehalfOfTokenExchangeConfig() const { return m_onBehalfOfTokenExchangeConfig; }
147+
inline bool OnBehalfOfTokenExchangeConfigHasBeenSet() const { return m_onBehalfOfTokenExchangeConfigHasBeenSet; }
148+
template <typename OnBehalfOfTokenExchangeConfigT = OnBehalfOfTokenExchangeConfigType>
149+
void SetOnBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigT&& value) {
150+
m_onBehalfOfTokenExchangeConfigHasBeenSet = true;
151+
m_onBehalfOfTokenExchangeConfig = std::forward<OnBehalfOfTokenExchangeConfigT>(value);
152+
}
153+
template <typename OnBehalfOfTokenExchangeConfigT = OnBehalfOfTokenExchangeConfigType>
154+
CustomOauth2ProviderConfigInput& WithOnBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigT&& value) {
155+
SetOnBehalfOfTokenExchangeConfig(std::forward<OnBehalfOfTokenExchangeConfigT>(value));
156+
return *this;
157+
}
158+
///@}
159+
160+
///@{
161+
/**
162+
* <p>The client authentication method to use when authenticating with the token
163+
* endpoint.</p>
164+
*/
165+
inline ClientAuthenticationMethodType GetClientAuthenticationMethod() const { return m_clientAuthenticationMethod; }
166+
inline bool ClientAuthenticationMethodHasBeenSet() const { return m_clientAuthenticationMethodHasBeenSet; }
167+
inline void SetClientAuthenticationMethod(ClientAuthenticationMethodType value) {
168+
m_clientAuthenticationMethodHasBeenSet = true;
169+
m_clientAuthenticationMethod = value;
170+
}
171+
inline CustomOauth2ProviderConfigInput& WithClientAuthenticationMethod(ClientAuthenticationMethodType value) {
172+
SetClientAuthenticationMethod(value);
173+
return *this;
174+
}
175+
///@}
137176
private:
138177
Oauth2Discovery m_oauthDiscovery;
139178

@@ -144,11 +183,17 @@ class CustomOauth2ProviderConfigInput {
144183
PrivateEndpoint m_privateEndpoint;
145184

146185
Aws::Vector<PrivateEndpointOverride> m_privateEndpointOverrides;
186+
187+
OnBehalfOfTokenExchangeConfigType m_onBehalfOfTokenExchangeConfig;
188+
189+
ClientAuthenticationMethodType m_clientAuthenticationMethod{ClientAuthenticationMethodType::NOT_SET};
147190
bool m_oauthDiscoveryHasBeenSet = false;
148191
bool m_clientIdHasBeenSet = false;
149192
bool m_clientSecretHasBeenSet = false;
150193
bool m_privateEndpointHasBeenSet = false;
151194
bool m_privateEndpointOverridesHasBeenSet = false;
195+
bool m_onBehalfOfTokenExchangeConfigHasBeenSet = false;
196+
bool m_clientAuthenticationMethodHasBeenSet = false;
152197
};
153198

154199
} // namespace Model

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

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

66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/bedrock-agentcore-control/model/ClientAuthenticationMethodType.h>
89
#include <aws/bedrock-agentcore-control/model/Oauth2Discovery.h>
10+
#include <aws/bedrock-agentcore-control/model/OnBehalfOfTokenExchangeConfigType.h>
911
#include <aws/bedrock-agentcore-control/model/PrivateEndpoint.h>
1012
#include <aws/bedrock-agentcore-control/model/PrivateEndpointOverride.h>
1113
#include <aws/core/utils/memory/stl/AWSString.h>
@@ -116,6 +118,41 @@ class CustomOauth2ProviderConfigOutput {
116118
return *this;
117119
}
118120
///@}
121+
122+
///@{
123+
/**
124+
* <p>The configuration for on-behalf-of token exchange.</p>
125+
*/
126+
inline const OnBehalfOfTokenExchangeConfigType& GetOnBehalfOfTokenExchangeConfig() const { return m_onBehalfOfTokenExchangeConfig; }
127+
inline bool OnBehalfOfTokenExchangeConfigHasBeenSet() const { return m_onBehalfOfTokenExchangeConfigHasBeenSet; }
128+
template <typename OnBehalfOfTokenExchangeConfigT = OnBehalfOfTokenExchangeConfigType>
129+
void SetOnBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigT&& value) {
130+
m_onBehalfOfTokenExchangeConfigHasBeenSet = true;
131+
m_onBehalfOfTokenExchangeConfig = std::forward<OnBehalfOfTokenExchangeConfigT>(value);
132+
}
133+
template <typename OnBehalfOfTokenExchangeConfigT = OnBehalfOfTokenExchangeConfigType>
134+
CustomOauth2ProviderConfigOutput& WithOnBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigT&& value) {
135+
SetOnBehalfOfTokenExchangeConfig(std::forward<OnBehalfOfTokenExchangeConfigT>(value));
136+
return *this;
137+
}
138+
///@}
139+
140+
///@{
141+
/**
142+
* <p>The client authentication method used when authenticating with the token
143+
* endpoint.</p>
144+
*/
145+
inline ClientAuthenticationMethodType GetClientAuthenticationMethod() const { return m_clientAuthenticationMethod; }
146+
inline bool ClientAuthenticationMethodHasBeenSet() const { return m_clientAuthenticationMethodHasBeenSet; }
147+
inline void SetClientAuthenticationMethod(ClientAuthenticationMethodType value) {
148+
m_clientAuthenticationMethodHasBeenSet = true;
149+
m_clientAuthenticationMethod = value;
150+
}
151+
inline CustomOauth2ProviderConfigOutput& WithClientAuthenticationMethod(ClientAuthenticationMethodType value) {
152+
SetClientAuthenticationMethod(value);
153+
return *this;
154+
}
155+
///@}
119156
private:
120157
Oauth2Discovery m_oauthDiscovery;
121158

@@ -124,10 +161,16 @@ class CustomOauth2ProviderConfigOutput {
124161
PrivateEndpoint m_privateEndpoint;
125162

126163
Aws::Vector<PrivateEndpointOverride> m_privateEndpointOverrides;
164+
165+
OnBehalfOfTokenExchangeConfigType m_onBehalfOfTokenExchangeConfig;
166+
167+
ClientAuthenticationMethodType m_clientAuthenticationMethod{ClientAuthenticationMethodType::NOT_SET};
127168
bool m_oauthDiscoveryHasBeenSet = false;
128169
bool m_clientIdHasBeenSet = false;
129170
bool m_privateEndpointHasBeenSet = false;
130171
bool m_privateEndpointOverridesHasBeenSet = false;
172+
bool m_onBehalfOfTokenExchangeConfigHasBeenSet = false;
173+
bool m_clientAuthenticationMethodHasBeenSet = false;
131174
};
132175

133176
} // namespace Model

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
88
#include <aws/bedrock-agentcore-control/model/EpisodicReflectionConfigurationInput.h>
9+
#include <aws/bedrock-agentcore-control/model/MemoryRecordSchema.h>
910
#include <aws/core/utils/memory/stl/AWSString.h>
1011
#include <aws/core/utils/memory/stl/AWSVector.h>
1112

@@ -111,6 +112,24 @@ class EpisodicMemoryStrategyInput {
111112
return *this;
112113
}
113114
///@}
115+
116+
///@{
117+
/**
118+
* <p>Schema for metadata fields on records generated by this strategy.</p>
119+
*/
120+
inline const MemoryRecordSchema& GetMemoryRecordSchema() const { return m_memoryRecordSchema; }
121+
inline bool MemoryRecordSchemaHasBeenSet() const { return m_memoryRecordSchemaHasBeenSet; }
122+
template <typename MemoryRecordSchemaT = MemoryRecordSchema>
123+
void SetMemoryRecordSchema(MemoryRecordSchemaT&& value) {
124+
m_memoryRecordSchemaHasBeenSet = true;
125+
m_memoryRecordSchema = std::forward<MemoryRecordSchemaT>(value);
126+
}
127+
template <typename MemoryRecordSchemaT = MemoryRecordSchema>
128+
EpisodicMemoryStrategyInput& WithMemoryRecordSchema(MemoryRecordSchemaT&& value) {
129+
SetMemoryRecordSchema(std::forward<MemoryRecordSchemaT>(value));
130+
return *this;
131+
}
132+
///@}
114133
private:
115134
Aws::String m_name;
116135

@@ -119,10 +138,13 @@ class EpisodicMemoryStrategyInput {
119138
Aws::Vector<Aws::String> m_namespaceTemplates;
120139

121140
EpisodicReflectionConfigurationInput m_reflectionConfiguration;
141+
142+
MemoryRecordSchema m_memoryRecordSchema;
122143
bool m_nameHasBeenSet = false;
123144
bool m_descriptionHasBeenSet = false;
124145
bool m_namespaceTemplatesHasBeenSet = false;
125146
bool m_reflectionConfigurationHasBeenSet = false;
147+
bool m_memoryRecordSchemaHasBeenSet = false;
126148
};
127149

128150
} // namespace Model

generated/src/aws-cpp-sdk-bedrock-agentcore-control/include/aws/bedrock-agentcore-control/model/EpisodicOverrideReflectionConfigurationInput.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/MemoryRecordSchema.h>
89
#include <aws/core/utils/memory/stl/AWSString.h>
910
#include <aws/core/utils/memory/stl/AWSVector.h>
1011

@@ -95,15 +96,37 @@ class EpisodicOverrideReflectionConfigurationInput {
9596
return *this;
9697
}
9798
///@}
99+
100+
///@{
101+
/**
102+
* <p>Schema for metadata fields on records generated by this reflection
103+
* override.</p>
104+
*/
105+
inline const MemoryRecordSchema& GetMemoryRecordSchema() const { return m_memoryRecordSchema; }
106+
inline bool MemoryRecordSchemaHasBeenSet() const { return m_memoryRecordSchemaHasBeenSet; }
107+
template <typename MemoryRecordSchemaT = MemoryRecordSchema>
108+
void SetMemoryRecordSchema(MemoryRecordSchemaT&& value) {
109+
m_memoryRecordSchemaHasBeenSet = true;
110+
m_memoryRecordSchema = std::forward<MemoryRecordSchemaT>(value);
111+
}
112+
template <typename MemoryRecordSchemaT = MemoryRecordSchema>
113+
EpisodicOverrideReflectionConfigurationInput& WithMemoryRecordSchema(MemoryRecordSchemaT&& value) {
114+
SetMemoryRecordSchema(std::forward<MemoryRecordSchemaT>(value));
115+
return *this;
116+
}
117+
///@}
98118
private:
99119
Aws::String m_appendToPrompt;
100120

101121
Aws::String m_modelId;
102122

103123
Aws::Vector<Aws::String> m_namespaceTemplates;
124+
125+
MemoryRecordSchema m_memoryRecordSchema;
104126
bool m_appendToPromptHasBeenSet = false;
105127
bool m_modelIdHasBeenSet = false;
106128
bool m_namespaceTemplatesHasBeenSet = false;
129+
bool m_memoryRecordSchemaHasBeenSet = false;
107130
};
108131

109132
} // namespace Model

0 commit comments

Comments
 (0)