Skip to content

Commit

Permalink
Amazon Q in Connect enables agents to ask Q for assistance in multipl…
Browse files Browse the repository at this point in the history
…e languages and Q will provide answers and recommended step-by-step guides in those languages. Qs default language is English (United States) and you can switch this by setting the locale configuration on the AI Agent.

Added AWS Global Accelerator (AGA) support for WorkSpaces Personal.
Added support for Rocky Linux 8 on Amazon AppStream 2.0
MediaLive is releasing ListVersions api
This release adds support for inserting timecode tracks into MP4 container outputs.
AWS Systems Manager for SAP added support for registration and discovery of distributed ABAP applications
  • Loading branch information
aws-sdk-cpp-automation committed Dec 19, 2024
1 parent 24627d6 commit 881a7f3
Show file tree
Hide file tree
Showing 82 changed files with 3,397 additions and 879 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.470
1.11.471
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, DescribeUserFailure )
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,13 +41,13 @@ 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());
}
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -56,10 +56,10 @@ 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());
}
}
19 changes: 9 additions & 10 deletions generated/smoke-tests/elasticmapreduce/EMRSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/elasticmapreduce/model/DescribeClusterRequest.h>
#include <aws/elasticmapreduce/model/ListClustersRequest.h>
#include <aws/elasticmapreduce/EMRClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace EMRSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class EMRSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char EMRSmokeTestSuite::ALLOCATION_TAG[] = "EMRSmokeTest";
TEST_F(EMRSmokeTestSuite, ListClustersSuccess )
TEST_F(EMRSmokeTestSuite, DescribeClusterFailure )
{
Aws::EMR::EMRClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ TEST_F(EMRSmokeTestSuite, ListClustersSuccess )
auto clientSp = Aws::MakeShared<EMRClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListClustersRequest input;
auto outcome = clientSp->ListClusters(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeClusterRequest input;
input.SetClusterId("fake_cluster");
auto outcome = clientSp->DescribeCluster(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(EMRSmokeTestSuite, DescribeClusterFailure )
TEST_F(EMRSmokeTestSuite, ListClustersSuccess )
{
Aws::EMR::EMRClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ TEST_F(EMRSmokeTestSuite, DescribeClusterFailure )
auto clientSp = Aws::MakeShared<EMRClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeClusterRequest input;
input.SetClusterId("fake_cluster");
auto outcome = clientSp->DescribeCluster(input);
EXPECT_FALSE( outcome.IsSuccess());
ListClustersRequest input;
auto outcome = clientSp->ListClusters(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
19 changes: 9 additions & 10 deletions generated/smoke-tests/eventbridge/EventBridgeSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/eventbridge/EventBridgeClient.h>
#include <aws/eventbridge/model/ListRulesRequest.h>
#include <aws/eventbridge/model/DescribeRuleRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace EventBridgeSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class EventBridgeSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char EventBridgeSmokeTestSuite::ALLOCATION_TAG[] = "EventBridgeSmokeTest";
TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess )
TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure )
{
Aws::EventBridge::EventBridgeClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess )
auto clientSp = Aws::MakeShared<EventBridgeClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListRulesRequest input;
auto outcome = clientSp->ListRules(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeRuleRequest input;
input.SetName("fake-rule");
auto outcome = clientSp->DescribeRule(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure )
TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess )
{
Aws::EventBridge::EventBridgeClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure )
auto clientSp = Aws::MakeShared<EventBridgeClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeRuleRequest input;
input.SetName("fake-rule");
auto outcome = clientSp->DescribeRule(input);
EXPECT_FALSE( outcome.IsSuccess());
ListRulesRequest input;
auto outcome = clientSp->ListRules(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/route53/Route53SmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/route53/Route53Client.h>
#include <aws/route53/model/GetHostedZoneRequest.h>
#include <aws/route53/model/ListHostedZonesRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Route53SmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class Route53SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char Route53SmokeTestSuite::ALLOCATION_TAG[] = "Route53SmokeTest";
TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
{
Aws::Route53::Route53ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
Expand All @@ -40,12 +41,11 @@ TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
auto clientSp = Aws::MakeShared<Route53Client>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetHostedZoneRequest input;
input.SetId("fake-zone");
auto outcome = clientSp->GetHostedZone(input);
EXPECT_FALSE( outcome.IsSuccess());
ListHostedZonesRequest input;
auto outcome = clientSp->ListHostedZones(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
{
Aws::Route53::Route53ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
Expand All @@ -54,8 +54,9 @@ TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
auto clientSp = Aws::MakeShared<Route53Client>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListHostedZonesRequest input;
auto outcome = clientSp->ListHostedZones(input);
EXPECT_TRUE( outcome.IsSuccess());
GetHostedZoneRequest input;
input.SetId("fake-zone");
auto outcome = clientSp->GetHostedZone(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 @@ -21,7 +21,8 @@ namespace Model
WINDOWS_SERVER_2019,
WINDOWS_SERVER_2022,
AMAZON_LINUX2,
RHEL8
RHEL8,
ROCKY_LINUX8
};

namespace PlatformTypeMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ namespace Aws
static const int WINDOWS_SERVER_2022_HASH = HashingUtils::HashString("WINDOWS_SERVER_2022");
static const int AMAZON_LINUX2_HASH = HashingUtils::HashString("AMAZON_LINUX2");
static const int RHEL8_HASH = HashingUtils::HashString("RHEL8");
static const int ROCKY_LINUX8_HASH = HashingUtils::HashString("ROCKY_LINUX8");


PlatformType GetPlatformTypeForName(const Aws::String& name)
Expand Down Expand Up @@ -55,6 +56,10 @@ namespace Aws
{
return PlatformType::RHEL8;
}
else if (hashCode == ROCKY_LINUX8_HASH)
{
return PlatformType::ROCKY_LINUX8;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
Expand Down Expand Up @@ -83,6 +88,8 @@ namespace Aws
return "AMAZON_LINUX2";
case PlatformType::RHEL8:
return "RHEL8";
case PlatformType::ROCKY_LINUX8:
return "ROCKY_LINUX8";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconvert/model/FontScript.h>
#include <aws/mediaconvert/model/BurninSubtitleOutlineColor.h>
#include <aws/mediaconvert/model/RemoveRubyReserveAttributes.h>
#include <aws/mediaconvert/model/BurninSubtitleShadowColor.h>
#include <aws/mediaconvert/model/BurnInSubtitleStylePassthrough.h>
#include <aws/mediaconvert/model/BurninSubtitleTeletextSpacing.h>
Expand Down Expand Up @@ -305,6 +306,22 @@ When you do, you must also separately
inline BurninDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
///@}

///@{
/**
* Optionally remove any tts:rubyReserve attributes present in your input, that do
* not have a tts:ruby attribute in the same element, from your output. Use if your
* vertical Japanese output captions have alignment issues. To remove ruby reserve
* attributes when present: Choose Enabled. To not remove any ruby reserve
* attributes: Keep the default value, Disabled.
*/
inline const RemoveRubyReserveAttributes& GetRemoveRubyReserveAttributes() const{ return m_removeRubyReserveAttributes; }
inline bool RemoveRubyReserveAttributesHasBeenSet() const { return m_removeRubyReserveAttributesHasBeenSet; }
inline void SetRemoveRubyReserveAttributes(const RemoveRubyReserveAttributes& value) { m_removeRubyReserveAttributesHasBeenSet = true; m_removeRubyReserveAttributes = value; }
inline void SetRemoveRubyReserveAttributes(RemoveRubyReserveAttributes&& value) { m_removeRubyReserveAttributesHasBeenSet = true; m_removeRubyReserveAttributes = std::move(value); }
inline BurninDestinationSettings& WithRemoveRubyReserveAttributes(const RemoveRubyReserveAttributes& value) { SetRemoveRubyReserveAttributes(value); return *this;}
inline BurninDestinationSettings& WithRemoveRubyReserveAttributes(RemoveRubyReserveAttributes&& value) { SetRemoveRubyReserveAttributes(std::move(value)); return *this;}
///@}

///@{
/**
* Specify the color of the shadow cast by the captions. Leave Shadow color blank
Expand Down Expand Up @@ -471,6 +488,9 @@ When you do, you must also separately
int m_outlineSize;
bool m_outlineSizeHasBeenSet = false;

RemoveRubyReserveAttributes m_removeRubyReserveAttributes;
bool m_removeRubyReserveAttributesHasBeenSet = false;

BurninSubtitleShadowColor m_shadowColor;
bool m_shadowColorHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ namespace Model
/**
* Specify the input that MediaConvert references for your default output settings.
* MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio
* for all outputs that you don't manually specify different output settings for.
* for all outputs that you don't manually specify different output settings for.
* Enabling this setting will disable "Follow source" for all other inputs. If
* MediaConvert cannot follow your source, for example if you specify an audio-only
* input, MediaConvert uses the first followable input instead. In your JSON job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ namespace Model
/**
* Specify the input that MediaConvert references for your default output settings.
* MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio
* for all outputs that you don't manually specify different output settings for.
* for all outputs that you don't manually specify different output settings for.
* Enabling this setting will disable "Follow source" for all other inputs. If
* MediaConvert cannot follow your source, for example if you specify an audio-only
* input, MediaConvert uses the first followable input instead. In your JSON job
Expand Down
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/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace MediaConvert
{
namespace Model
{
enum class RemoveRubyReserveAttributes
{
NOT_SET,
DISABLED,
ENABLED
};

namespace RemoveRubyReserveAttributesMapper
{
AWS_MEDIACONVERT_API RemoveRubyReserveAttributes GetRemoveRubyReserveAttributesForName(const Aws::String& name);

AWS_MEDIACONVERT_API Aws::String GetNameForRemoveRubyReserveAttributes(RemoveRubyReserveAttributes value);
} // namespace RemoveRubyReserveAttributesMapper
} // namespace Model
} // namespace MediaConvert
} // namespace Aws
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/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace MediaConvert
{
namespace Model
{
enum class TimecodeTrack
{
NOT_SET,
DISABLED,
ENABLED
};

namespace TimecodeTrackMapper
{
AWS_MEDIACONVERT_API TimecodeTrack GetTimecodeTrackForName(const Aws::String& name);

AWS_MEDIACONVERT_API Aws::String GetNameForTimecodeTrack(TimecodeTrack value);
} // namespace TimecodeTrackMapper
} // namespace Model
} // namespace MediaConvert
} // namespace Aws
Loading

0 comments on commit 881a7f3

Please sign in to comment.