-
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.
Update API documentation to clarify the event SLA as well as the data…
… model expectations Releasing the support for Action User Confirmation. Amazon QBusiness: Enable support for SAML and OIDC federation through AWS IAM Identity Provider integration. Added support for the MAC_ARM environment type for CodeBuild fleets. Releasing the support for Action User Confirmation. Releasing minor partitional endpoint updates.
- Loading branch information
1 parent
7e3180c
commit 9514d1a
Showing
80 changed files
with
2,297 additions
and
199 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.390 | ||
1.11.391 |
32 changes: 32 additions & 0 deletions
32
...-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ActionInvocationType.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,32 @@ | ||
/** | ||
* 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> | ||
|
||
namespace Aws | ||
{ | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
enum class ActionInvocationType | ||
{ | ||
NOT_SET, | ||
RESULT, | ||
USER_CONFIRMATION, | ||
USER_CONFIRMATION_AND_RESULT | ||
}; | ||
|
||
namespace ActionInvocationTypeMapper | ||
{ | ||
AWS_BEDROCKAGENTRUNTIME_API ActionInvocationType GetActionInvocationTypeForName(const Aws::String& name); | ||
|
||
AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForActionInvocationType(ActionInvocationType value); | ||
} // namespace ActionInvocationTypeMapper | ||
} // 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
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
31 changes: 31 additions & 0 deletions
31
...cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConfirmationState.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,31 @@ | ||
/** | ||
* 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> | ||
|
||
namespace Aws | ||
{ | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
enum class ConfirmationState | ||
{ | ||
NOT_SET, | ||
CONFIRM, | ||
DENY | ||
}; | ||
|
||
namespace ConfirmationStateMapper | ||
{ | ||
AWS_BEDROCKAGENTRUNTIME_API ConfirmationState GetConfirmationStateForName(const Aws::String& name); | ||
|
||
AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForConfirmationState(ConfirmationState value); | ||
} // namespace ConfirmationStateMapper | ||
} // 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
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
79 changes: 79 additions & 0 deletions
79
generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ActionInvocationType.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,79 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#include <aws/bedrock-agent-runtime/model/ActionInvocationType.h> | ||
#include <aws/core/utils/HashingUtils.h> | ||
#include <aws/core/Globals.h> | ||
#include <aws/core/utils/EnumParseOverflowContainer.h> | ||
|
||
using namespace Aws::Utils; | ||
|
||
|
||
namespace Aws | ||
{ | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
namespace ActionInvocationTypeMapper | ||
{ | ||
|
||
static const int RESULT_HASH = HashingUtils::HashString("RESULT"); | ||
static const int USER_CONFIRMATION_HASH = HashingUtils::HashString("USER_CONFIRMATION"); | ||
static const int USER_CONFIRMATION_AND_RESULT_HASH = HashingUtils::HashString("USER_CONFIRMATION_AND_RESULT"); | ||
|
||
|
||
ActionInvocationType GetActionInvocationTypeForName(const Aws::String& name) | ||
{ | ||
int hashCode = HashingUtils::HashString(name.c_str()); | ||
if (hashCode == RESULT_HASH) | ||
{ | ||
return ActionInvocationType::RESULT; | ||
} | ||
else if (hashCode == USER_CONFIRMATION_HASH) | ||
{ | ||
return ActionInvocationType::USER_CONFIRMATION; | ||
} | ||
else if (hashCode == USER_CONFIRMATION_AND_RESULT_HASH) | ||
{ | ||
return ActionInvocationType::USER_CONFIRMATION_AND_RESULT; | ||
} | ||
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); | ||
if(overflowContainer) | ||
{ | ||
overflowContainer->StoreOverflow(hashCode, name); | ||
return static_cast<ActionInvocationType>(hashCode); | ||
} | ||
|
||
return ActionInvocationType::NOT_SET; | ||
} | ||
|
||
Aws::String GetNameForActionInvocationType(ActionInvocationType enumValue) | ||
{ | ||
switch(enumValue) | ||
{ | ||
case ActionInvocationType::NOT_SET: | ||
return {}; | ||
case ActionInvocationType::RESULT: | ||
return "RESULT"; | ||
case ActionInvocationType::USER_CONFIRMATION: | ||
return "USER_CONFIRMATION"; | ||
case ActionInvocationType::USER_CONFIRMATION_AND_RESULT: | ||
return "USER_CONFIRMATION_AND_RESULT"; | ||
default: | ||
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); | ||
if(overflowContainer) | ||
{ | ||
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); | ||
} | ||
|
||
return {}; | ||
} | ||
} | ||
|
||
} // namespace ActionInvocationTypeMapper | ||
} // 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
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
Oops, something went wrong.