Skip to content

Commit

Permalink
Adds multi-turn input support for an Agent node in an Amazon Bedrock …
Browse files Browse the repository at this point in the history
…Flow

Docs Update for timeout changes
Rename WorkSpaces Web to WorkSpaces Secure Browser
AWS Elemental MediaLive adds a new feature, ID3 segment tagging, in CMAF Ingest output groups. It allows customers to insert ID3 tags into every output segment, controlled by a newly added channel schedule action Id3SegmentTagging.
  • Loading branch information
aws-sdk-cpp-automation committed Jan 22, 2025
1 parent 07b2178 commit 806aa12
Show file tree
Hide file tree
Showing 50 changed files with 2,010 additions and 921 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.489
1.11.490
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DirectoryServiceDataSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSu
static const char ALLOCATION_TAG[];
};
const char DirectoryServiceDataSmokeTestSuite::ALLOCATION_TAG[] = "DirectoryServiceDataSmokeTest";
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,13 +41,13 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
auto clientSp = Aws::MakeShared<DirectoryServiceDataClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeGroupRequest input;
DescribeUserRequest input;
input.SetDirectoryId("d-1111111111");
input.SetSAMAccountName("test-group");
auto outcome = clientSp->DescribeGroup(input);
input.SetSAMAccountName("test-user");
auto outcome = clientSp->DescribeUser(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -56,10 +56,10 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
auto clientSp = Aws::MakeShared<DirectoryServiceDataClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeUserRequest input;
DescribeGroupRequest input;
input.SetDirectoryId("d-1111111111");
input.SetSAMAccountName("test-user");
auto outcome = clientSp->DescribeUser(input);
input.SetSAMAccountName("test-group");
auto outcome = clientSp->DescribeGroup(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/ecr/ECRSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/ecr/model/ListImagesRequest.h>
#include <aws/ecr/model/DescribeRepositoriesRequest.h>
#include <aws/ecr/ECRClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace ECRSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class ECRSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char ECRSmokeTestSuite::ALLOCATION_TAG[] = "ECRSmokeTest";
TEST_F(ECRSmokeTestSuite, ListImagesFailure )
TEST_F(ECRSmokeTestSuite, DescribeRepositoriesSuccess )
{
Aws::ECR::ECRClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(ECRSmokeTestSuite, ListImagesFailure )
auto clientSp = Aws::MakeShared<ECRClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListImagesRequest input;
input.SetRepositoryName("not-a-real-repository");
auto outcome = clientSp->ListImages(input);
EXPECT_FALSE( outcome.IsSuccess());
DescribeRepositoriesRequest input;
auto outcome = clientSp->DescribeRepositories(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(ECRSmokeTestSuite, DescribeRepositoriesSuccess )
TEST_F(ECRSmokeTestSuite, ListImagesFailure )
{
Aws::ECR::ECRClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(ECRSmokeTestSuite, DescribeRepositoriesSuccess )
auto clientSp = Aws::MakeShared<ECRClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeRepositoriesRequest input;
auto outcome = clientSp->DescribeRepositories(input);
EXPECT_TRUE( outcome.IsSuccess());
ListImagesRequest input;
input.SetRepositoryName("not-a-real-repository");
auto outcome = clientSp->ListImages(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
19 changes: 9 additions & 10 deletions generated/smoke-tests/iam/IAMSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/iam/model/GetUserRequest.h>
#include <aws/iam/IAMClient.h>
#include <aws/iam/model/ListUsersRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace IAMSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class IAMSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char IAMSmokeTestSuite::ALLOCATION_TAG[] = "IAMSmokeTest";
TEST_F(IAMSmokeTestSuite, ListUsersSuccess )
TEST_F(IAMSmokeTestSuite, GetUserFailure )
{
Aws::IAM::IAMClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
Expand All @@ -41,11 +40,12 @@ TEST_F(IAMSmokeTestSuite, ListUsersSuccess )
auto clientSp = Aws::MakeShared<IAMClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListUsersRequest input;
auto outcome = clientSp->ListUsers(input);
EXPECT_TRUE( outcome.IsSuccess());
GetUserRequest input;
input.SetUserName("fake_user");
auto outcome = clientSp->GetUser(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(IAMSmokeTestSuite, GetUserFailure )
TEST_F(IAMSmokeTestSuite, ListUsersSuccess )
{
Aws::IAM::IAMClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
Expand All @@ -54,9 +54,8 @@ TEST_F(IAMSmokeTestSuite, GetUserFailure )
auto clientSp = Aws::MakeShared<IAMClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetUserRequest input;
input.SetUserName("fake_user");
auto outcome = clientSp->GetUser(input);
EXPECT_FALSE( outcome.IsSuccess());
ListUsersRequest input;
auto outcome = clientSp->ListUsers(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
21 changes: 11 additions & 10 deletions generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/logs/model/DescribeLogGroupsRequest.h>
#include <aws/logs/model/GetLogEventsRequest.h>
#include <aws/logs/CloudWatchLogsClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace CloudWatchLogsSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class CloudWatchLogsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char CloudWatchLogsSmokeTestSuite::ALLOCATION_TAG[] = "CloudWatchLogsSmokeTest";
TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,13 +41,11 @@ TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
auto clientSp = Aws::MakeShared<CloudWatchLogsClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetLogEventsRequest input;
input.SetLogGroupName("fakegroup");
input.SetLogStreamName("fakestream");
auto outcome = clientSp->GetLogEvents(input);
EXPECT_FALSE( outcome.IsSuccess());
DescribeLogGroupsRequest input;
auto outcome = clientSp->DescribeLogGroups(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -55,8 +54,10 @@ TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
auto clientSp = Aws::MakeShared<CloudWatchLogsClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeLogGroupsRequest input;
auto outcome = clientSp->DescribeLogGroups(input);
EXPECT_TRUE( outcome.IsSuccess());
GetLogEventsRequest input;
input.SetLogGroupName("fakegroup");
input.SetLogStreamName("fakestream");
auto outcome = clientSp->GetLogEvents(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
19 changes: 9 additions & 10 deletions generated/smoke-tests/neptune/NeptuneSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/neptune/NeptuneClient.h>
#include <aws/neptune/model/DescribeDBInstancesRequest.h>
#include <aws/neptune/model/DescribeDBEngineVersionsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace NeptuneSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class NeptuneSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char NeptuneSmokeTestSuite::ALLOCATION_TAG[] = "NeptuneSmokeTest";
TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
{
Aws::Neptune::NeptuneClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto clientSp = Aws::MakeShared<NeptuneClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeDBEngineVersionsRequest input;
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeDBInstancesRequest input;
input.SetDBInstanceIdentifier("fake-id");
auto outcome = clientSp->DescribeDBInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
{
Aws::Neptune::NeptuneClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
auto clientSp = Aws::MakeShared<NeptuneClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeDBInstancesRequest input;
input.SetDBInstanceIdentifier("fake-id");
auto outcome = clientSp->DescribeDBInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
DescribeDBEngineVersionsRequest input;
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/pinpoint/PinpointSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/pinpoint/PinpointClient.h>
#include <aws/pinpoint/model/GetAppsRequest.h>
#include <aws/pinpoint/model/GetAppRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace PinpointSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class PinpointSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char PinpointSmokeTestSuite::ALLOCATION_TAG[] = "PinpointSmokeTest";
TEST_F(PinpointSmokeTestSuite, GetAppFailure )
TEST_F(PinpointSmokeTestSuite, GetAppsSuccess )
{
Aws::Pinpoint::PinpointClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(PinpointSmokeTestSuite, GetAppFailure )
auto clientSp = Aws::MakeShared<PinpointClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetAppRequest input;
input.SetApplicationId("InvalidApplicationId");
auto outcome = clientSp->GetApp(input);
EXPECT_FALSE( outcome.IsSuccess());
GetAppsRequest input;
auto outcome = clientSp->GetApps(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(PinpointSmokeTestSuite, GetAppsSuccess )
TEST_F(PinpointSmokeTestSuite, GetAppFailure )
{
Aws::Pinpoint::PinpointClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(PinpointSmokeTestSuite, GetAppsSuccess )
auto clientSp = Aws::MakeShared<PinpointClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetAppsRequest input;
auto outcome = clientSp->GetApps(input);
EXPECT_TRUE( outcome.IsSuccess());
GetAppRequest input;
input.SetApplicationId("InvalidApplicationId");
auto outcome = clientSp->GetApp(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
19 changes: 9 additions & 10 deletions generated/smoke-tests/secretsmanager/SecretsManagerSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/secretsmanager/model/ListSecretsRequest.h>
#include <aws/secretsmanager/model/DescribeSecretRequest.h>
#include <aws/secretsmanager/SecretsManagerClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace SecretsManagerSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class SecretsManagerSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char SecretsManagerSmokeTestSuite::ALLOCATION_TAG[] = "SecretsManagerSmokeTest";
TEST_F(SecretsManagerSmokeTestSuite, ListSecretsSuccess )
TEST_F(SecretsManagerSmokeTestSuite, DescribeSecretFailure )
{
Aws::SecretsManager::SecretsManagerClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ TEST_F(SecretsManagerSmokeTestSuite, ListSecretsSuccess )
auto clientSp = Aws::MakeShared<SecretsManagerClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListSecretsRequest input;
auto outcome = clientSp->ListSecrets(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeSecretRequest input;
input.SetSecretId("fake-secret-id");
auto outcome = clientSp->DescribeSecret(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(SecretsManagerSmokeTestSuite, DescribeSecretFailure )
TEST_F(SecretsManagerSmokeTestSuite, ListSecretsSuccess )
{
Aws::SecretsManager::SecretsManagerClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ TEST_F(SecretsManagerSmokeTestSuite, DescribeSecretFailure )
auto clientSp = Aws::MakeShared<SecretsManagerClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeSecretRequest input;
input.SetSecretId("fake-secret-id");
auto outcome = clientSp->DescribeSecret(input);
EXPECT_FALSE( outcome.IsSuccess());
ListSecretsRequest input;
auto outcome = clientSp->ListSecrets(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ namespace Model
enum class FlowCompletionReason
{
NOT_SET,
SUCCESS
SUCCESS,
INPUT_REQUIRED
};

namespace FlowCompletionReasonMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ namespace Model
inline FlowInput& WithContent(FlowInputContent&& value) { SetContent(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The name of the input from the flow input node.</p>
*/
inline const Aws::String& GetNodeInputName() const{ return m_nodeInputName; }
inline bool NodeInputNameHasBeenSet() const { return m_nodeInputNameHasBeenSet; }
inline void SetNodeInputName(const Aws::String& value) { m_nodeInputNameHasBeenSet = true; m_nodeInputName = value; }
inline void SetNodeInputName(Aws::String&& value) { m_nodeInputNameHasBeenSet = true; m_nodeInputName = std::move(value); }
inline void SetNodeInputName(const char* value) { m_nodeInputNameHasBeenSet = true; m_nodeInputName.assign(value); }
inline FlowInput& WithNodeInputName(const Aws::String& value) { SetNodeInputName(value); return *this;}
inline FlowInput& WithNodeInputName(Aws::String&& value) { SetNodeInputName(std::move(value)); return *this;}
inline FlowInput& WithNodeInputName(const char* value) { SetNodeInputName(value); return *this;}
///@}

///@{
/**
* <p>The name of the flow input node that begins the prompt flow.</p>
Expand Down Expand Up @@ -84,6 +98,9 @@ namespace Model
FlowInputContent m_content;
bool m_contentHasBeenSet = false;

Aws::String m_nodeInputName;
bool m_nodeInputNameHasBeenSet = false;

Aws::String m_nodeName;
bool m_nodeNameHasBeenSet = false;

Expand Down
Loading

0 comments on commit 806aa12

Please sign in to comment.