Skip to content

Commit bd63db3

Browse files
Updated http status code in control plane apis of agentcore runtime, tools and identity. Additional included provider types for AgentCore Identity
CloudWatch Observability Admin adds the ability to enable Resource tags for telemetry in a customer account. The release introduces new APIs to enable, disable and describe the status of Resource tags for telemetry feature. This new capability simplifies monitoring AWS resources using tags. Release Amazon EC2 c8i, c8i-flex, m8a, and r8gb Updated InvokeAgentRuntime API to accept account id optionally and added CompleteResourceTokenAuth API.
1 parent 4fb3d57 commit bd63db3

File tree

102 files changed

+4294
-177
lines changed

Some content is hidden

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

102 files changed

+4294
-177
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.667
1+
1.11.668
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace BedrockAgentCoreControl
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>Configuration settings for connecting to Atlassian services using OAuth2
28+
* authentication. This includes the client credentials required to authenticate
29+
* with Atlassian's OAuth2 authorization server.</p><p><h3>See Also:</h3> <a
30+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AtlassianOauth2ProviderConfigInput">AWS
31+
* API Reference</a></p>
32+
*/
33+
class AtlassianOauth2ProviderConfigInput
34+
{
35+
public:
36+
AWS_BEDROCKAGENTCORECONTROL_API AtlassianOauth2ProviderConfigInput() = default;
37+
AWS_BEDROCKAGENTCORECONTROL_API AtlassianOauth2ProviderConfigInput(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_BEDROCKAGENTCORECONTROL_API AtlassianOauth2ProviderConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_BEDROCKAGENTCORECONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
40+
41+
42+
///@{
43+
/**
44+
* <p>The client ID for the Atlassian OAuth2 provider. This identifier is assigned
45+
* by Atlassian when you register your application.</p>
46+
*/
47+
inline const Aws::String& GetClientId() const { return m_clientId; }
48+
inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
49+
template<typename ClientIdT = Aws::String>
50+
void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
51+
template<typename ClientIdT = Aws::String>
52+
AtlassianOauth2ProviderConfigInput& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
53+
///@}
54+
55+
///@{
56+
/**
57+
* <p>The client secret for the Atlassian OAuth2 provider. This secret is assigned
58+
* by Atlassian and used along with the client ID to authenticate your
59+
* application.</p>
60+
*/
61+
inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
62+
inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
63+
template<typename ClientSecretT = Aws::String>
64+
void SetClientSecret(ClientSecretT&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::forward<ClientSecretT>(value); }
65+
template<typename ClientSecretT = Aws::String>
66+
AtlassianOauth2ProviderConfigInput& WithClientSecret(ClientSecretT&& value) { SetClientSecret(std::forward<ClientSecretT>(value)); return *this;}
67+
///@}
68+
private:
69+
70+
Aws::String m_clientId;
71+
bool m_clientIdHasBeenSet = false;
72+
73+
Aws::String m_clientSecret;
74+
bool m_clientSecretHasBeenSet = false;
75+
};
76+
77+
} // namespace Model
78+
} // namespace BedrockAgentCoreControl
79+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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/Oauth2Discovery.h>
9+
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <utility>
11+
12+
namespace Aws
13+
{
14+
namespace Utils
15+
{
16+
namespace Json
17+
{
18+
class JsonValue;
19+
class JsonView;
20+
} // namespace Json
21+
} // namespace Utils
22+
namespace BedrockAgentCoreControl
23+
{
24+
namespace Model
25+
{
26+
27+
/**
28+
* <p>The configuration details returned for an Atlassian OAuth2 provider,
29+
* including the client ID and OAuth2 discovery information.</p><p><h3>See
30+
* Also:</h3> <a
31+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AtlassianOauth2ProviderConfigOutput">AWS
32+
* API Reference</a></p>
33+
*/
34+
class AtlassianOauth2ProviderConfigOutput
35+
{
36+
public:
37+
AWS_BEDROCKAGENTCORECONTROL_API AtlassianOauth2ProviderConfigOutput() = default;
38+
AWS_BEDROCKAGENTCORECONTROL_API AtlassianOauth2ProviderConfigOutput(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_BEDROCKAGENTCORECONTROL_API AtlassianOauth2ProviderConfigOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
40+
AWS_BEDROCKAGENTCORECONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
41+
42+
43+
///@{
44+
45+
inline const Oauth2Discovery& GetOauthDiscovery() const { return m_oauthDiscovery; }
46+
inline bool OauthDiscoveryHasBeenSet() const { return m_oauthDiscoveryHasBeenSet; }
47+
template<typename OauthDiscoveryT = Oauth2Discovery>
48+
void SetOauthDiscovery(OauthDiscoveryT&& value) { m_oauthDiscoveryHasBeenSet = true; m_oauthDiscovery = std::forward<OauthDiscoveryT>(value); }
49+
template<typename OauthDiscoveryT = Oauth2Discovery>
50+
AtlassianOauth2ProviderConfigOutput& WithOauthDiscovery(OauthDiscoveryT&& value) { SetOauthDiscovery(std::forward<OauthDiscoveryT>(value)); return *this;}
51+
///@}
52+
53+
///@{
54+
/**
55+
* <p>The client ID for the Atlassian OAuth2 provider.</p>
56+
*/
57+
inline const Aws::String& GetClientId() const { return m_clientId; }
58+
inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
59+
template<typename ClientIdT = Aws::String>
60+
void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
61+
template<typename ClientIdT = Aws::String>
62+
AtlassianOauth2ProviderConfigOutput& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
63+
///@}
64+
private:
65+
66+
Oauth2Discovery m_oauthDiscovery;
67+
bool m_oauthDiscoveryHasBeenSet = false;
68+
69+
Aws::String m_clientId;
70+
bool m_clientIdHasBeenSet = false;
71+
};
72+
73+
} // namespace Model
74+
} // namespace BedrockAgentCoreControl
75+
} // namespace Aws

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,28 @@ namespace Model
6767
CreateAgentRuntimeEndpointResult& WithAgentRuntimeArn(AgentRuntimeArnT&& value) { SetAgentRuntimeArn(std::forward<AgentRuntimeArnT>(value)); return *this;}
6868
///@}
6969

70+
///@{
71+
/**
72+
* <p>The unique identifier of the AgentCore Runtime.</p>
73+
*/
74+
inline const Aws::String& GetAgentRuntimeId() const { return m_agentRuntimeId; }
75+
template<typename AgentRuntimeIdT = Aws::String>
76+
void SetAgentRuntimeId(AgentRuntimeIdT&& value) { m_agentRuntimeIdHasBeenSet = true; m_agentRuntimeId = std::forward<AgentRuntimeIdT>(value); }
77+
template<typename AgentRuntimeIdT = Aws::String>
78+
CreateAgentRuntimeEndpointResult& WithAgentRuntimeId(AgentRuntimeIdT&& value) { SetAgentRuntimeId(std::forward<AgentRuntimeIdT>(value)); return *this;}
79+
///@}
80+
81+
///@{
82+
/**
83+
* <p>The name of the AgentCore Runtime endpoint.</p>
84+
*/
85+
inline const Aws::String& GetEndpointName() const { return m_endpointName; }
86+
template<typename EndpointNameT = Aws::String>
87+
void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
88+
template<typename EndpointNameT = Aws::String>
89+
CreateAgentRuntimeEndpointResult& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
90+
///@}
91+
7092
///@{
7193
/**
7294
* <p>The current status of the AgentCore Runtime endpoint.</p>
@@ -106,6 +128,12 @@ namespace Model
106128
Aws::String m_agentRuntimeArn;
107129
bool m_agentRuntimeArnHasBeenSet = false;
108130

131+
Aws::String m_agentRuntimeId;
132+
bool m_agentRuntimeIdHasBeenSet = false;
133+
134+
Aws::String m_endpointName;
135+
bool m_endpointNameHasBeenSet = false;
136+
109137
AgentRuntimeEndpointStatus m_status{AgentRuntimeEndpointStatus::NOT_SET};
110138
bool m_statusHasBeenSet = false;
111139

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
88
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControlRequest.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <aws/core/utils/memory/stl/AWSMap.h>
1011
#include <utility>
1112

1213
namespace Aws
@@ -57,13 +58,34 @@ namespace Model
5758
template<typename ApiKeyT = Aws::String>
5859
CreateApiKeyCredentialProviderRequest& WithApiKey(ApiKeyT&& value) { SetApiKey(std::forward<ApiKeyT>(value)); return *this;}
5960
///@}
61+
62+
///@{
63+
/**
64+
* <p>A map of tag keys and values to assign to the API key credential provider.
65+
* Tags enable you to categorize your resources in different ways, for example, by
66+
* purpose, owner, or environment.</p>
67+
*/
68+
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
69+
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
70+
template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
71+
void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
72+
template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
73+
CreateApiKeyCredentialProviderRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
74+
template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
75+
CreateApiKeyCredentialProviderRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
76+
m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
77+
}
78+
///@}
6079
private:
6180

6281
Aws::String m_name;
6382
bool m_nameHasBeenSet = false;
6483

6584
Aws::String m_apiKey;
6685
bool m_apiKeyHasBeenSet = false;
86+
87+
Aws::Map<Aws::String, Aws::String> m_tags;
88+
bool m_tagsHasBeenSet = false;
6789
};
6890

6991
} // namespace Model

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <aws/core/utils/memory/stl/AWSString.h>
1010
#include <aws/bedrock-agentcore-control/model/CredentialProviderVendorType.h>
1111
#include <aws/bedrock-agentcore-control/model/Oauth2ProviderConfigInput.h>
12+
#include <aws/core/utils/memory/stl/AWSMap.h>
1213
#include <utility>
1314

1415
namespace Aws
@@ -70,6 +71,24 @@ namespace Model
7071
template<typename Oauth2ProviderConfigInputT = Oauth2ProviderConfigInput>
7172
CreateOauth2CredentialProviderRequest& WithOauth2ProviderConfigInput(Oauth2ProviderConfigInputT&& value) { SetOauth2ProviderConfigInput(std::forward<Oauth2ProviderConfigInputT>(value)); return *this;}
7273
///@}
74+
75+
///@{
76+
/**
77+
* <p>A map of tag keys and values to assign to the OAuth2 credential provider.
78+
* Tags enable you to categorize your resources in different ways, for example, by
79+
* purpose, owner, or environment.</p>
80+
*/
81+
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
82+
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83+
template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
84+
void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
85+
template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
86+
CreateOauth2CredentialProviderRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
87+
template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
88+
CreateOauth2CredentialProviderRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
89+
m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
90+
}
91+
///@}
7392
private:
7493

7594
Aws::String m_name;
@@ -80,6 +99,9 @@ namespace Model
8099

81100
Oauth2ProviderConfigInput m_oauth2ProviderConfigInput;
82101
bool m_oauth2ProviderConfigInputHasBeenSet = false;
102+
103+
Aws::Map<Aws::String, Aws::String> m_tags;
104+
bool m_tagsHasBeenSet = false;
83105
};
84106

85107
} // namespace Model

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
88
#include <aws/bedrock-agentcore-control/model/Secret.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <aws/bedrock-agentcore-control/model/Oauth2ProviderConfigOutput.h>
1011
#include <utility>
1112

1213
namespace Aws
@@ -67,6 +68,28 @@ namespace Model
6768
CreateOauth2CredentialProviderResult& WithCredentialProviderArn(CredentialProviderArnT&& value) { SetCredentialProviderArn(std::forward<CredentialProviderArnT>(value)); return *this;}
6869
///@}
6970

71+
///@{
72+
/**
73+
* <p>Callback URL to register on the OAuth2 credential provider as an allowed
74+
* callback URL. This URL is where the OAuth2 authorization server redirects users
75+
* after they complete the authorization flow.</p>
76+
*/
77+
inline const Aws::String& GetCallbackUrl() const { return m_callbackUrl; }
78+
template<typename CallbackUrlT = Aws::String>
79+
void SetCallbackUrl(CallbackUrlT&& value) { m_callbackUrlHasBeenSet = true; m_callbackUrl = std::forward<CallbackUrlT>(value); }
80+
template<typename CallbackUrlT = Aws::String>
81+
CreateOauth2CredentialProviderResult& WithCallbackUrl(CallbackUrlT&& value) { SetCallbackUrl(std::forward<CallbackUrlT>(value)); return *this;}
82+
///@}
83+
84+
///@{
85+
86+
inline const Oauth2ProviderConfigOutput& GetOauth2ProviderConfigOutput() const { return m_oauth2ProviderConfigOutput; }
87+
template<typename Oauth2ProviderConfigOutputT = Oauth2ProviderConfigOutput>
88+
void SetOauth2ProviderConfigOutput(Oauth2ProviderConfigOutputT&& value) { m_oauth2ProviderConfigOutputHasBeenSet = true; m_oauth2ProviderConfigOutput = std::forward<Oauth2ProviderConfigOutputT>(value); }
89+
template<typename Oauth2ProviderConfigOutputT = Oauth2ProviderConfigOutput>
90+
CreateOauth2CredentialProviderResult& WithOauth2ProviderConfigOutput(Oauth2ProviderConfigOutputT&& value) { SetOauth2ProviderConfigOutput(std::forward<Oauth2ProviderConfigOutputT>(value)); return *this;}
91+
///@}
92+
7093
///@{
7194

7295
inline const Aws::String& GetRequestId() const { return m_requestId; }
@@ -86,6 +109,12 @@ namespace Model
86109
Aws::String m_credentialProviderArn;
87110
bool m_credentialProviderArnHasBeenSet = false;
88111

112+
Aws::String m_callbackUrl;
113+
bool m_callbackUrlHasBeenSet = false;
114+
115+
Oauth2ProviderConfigOutput m_oauth2ProviderConfigOutput;
116+
bool m_oauth2ProviderConfigOutputHasBeenSet = false;
117+
89118
Aws::String m_requestId;
90119
bool m_requestIdHasBeenSet = false;
91120
};

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControlRequest.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
1010
#include <aws/core/utils/memory/stl/AWSVector.h>
11+
#include <aws/core/utils/memory/stl/AWSMap.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -60,13 +61,34 @@ namespace Model
6061
template<typename AllowedResourceOauth2ReturnUrlsT = Aws::String>
6162
CreateWorkloadIdentityRequest& AddAllowedResourceOauth2ReturnUrls(AllowedResourceOauth2ReturnUrlsT&& value) { m_allowedResourceOauth2ReturnUrlsHasBeenSet = true; m_allowedResourceOauth2ReturnUrls.emplace_back(std::forward<AllowedResourceOauth2ReturnUrlsT>(value)); return *this; }
6263
///@}
64+
65+
///@{
66+
/**
67+
* <p>A map of tag keys and values to assign to the workload identity. Tags enable
68+
* you to categorize your resources in different ways, for example, by purpose,
69+
* owner, or environment.</p>
70+
*/
71+
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
72+
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
73+
template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
74+
void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
75+
template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
76+
CreateWorkloadIdentityRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
77+
template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
78+
CreateWorkloadIdentityRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
79+
m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
80+
}
81+
///@}
6382
private:
6483

6584
Aws::String m_name;
6685
bool m_nameHasBeenSet = false;
6786

6887
Aws::Vector<Aws::String> m_allowedResourceOauth2ReturnUrls;
6988
bool m_allowedResourceOauth2ReturnUrlsHasBeenSet = false;
89+
90+
Aws::Map<Aws::String, Aws::String> m_tags;
91+
bool m_tagsHasBeenSet = false;
7092
};
7193

7294
} // namespace Model

0 commit comments

Comments
 (0)