Skip to content

Commit c16b795

Browse files
Updates Amazon RDS documentation for Db2 read-only replicas.
Updating SDK examples after launch of shared AWS Cloud Map namespaces Remove incorrect endpoint tests Launch SageMaker Notebook Instances support for AL2023 along with P6-B200 instance type and Rootless Docker support for SageMaker Studio. Releasing model ID support for UpdateAIPrompt Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Added multi browser support for synthetics canaries, Increased ephemeral storage limit from 5GB to 10GB Remove incorrect endpoint tests AWS Elemental MediaLive now has a field called "SubtitleRows" for controlling subtitle row count for DVB-Sub and Burn-In captions outputs Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests Remove incorrect endpoint tests test and verified, safe to release
1 parent 517d556 commit c16b795

File tree

174 files changed

+3638
-5462
lines changed

Some content is hidden

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

174 files changed

+3638
-5462
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.632
1+
1.11.633

generated/src/aws-cpp-sdk-cognito-sync/source/CognitoSyncEndpointRules.cpp

Lines changed: 98 additions & 98 deletions
Large diffs are not rendered by default.

generated/src/aws-cpp-sdk-iotanalytics/source/IoTAnalyticsEndpointRules.cpp

Lines changed: 98 additions & 98 deletions
Large diffs are not rendered by default.

generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/BurnInDestinationSettings.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <aws/medialive/model/BurnInOutlineColor.h>
1414
#include <aws/medialive/model/BurnInShadowColor.h>
1515
#include <aws/medialive/model/BurnInTeletextGridControl.h>
16+
#include <aws/medialive/model/BurnInDestinationSubtitleRows.h>
1617
#include <utility>
1718

1819
namespace Aws
@@ -259,6 +260,22 @@ namespace Model
259260
inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
260261
inline BurnInDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
261262
///@}
263+
264+
///@{
265+
/**
266+
* Applies only when the input captions are Teletext and the output captions are
267+
* DVB-Sub or Burn-In. Choose the number of lines for the captions bitmap. The
268+
* captions bitmap is 700 wide × 576 high and will be laid over the video. For
269+
* example, a value of 16 divides the bitmap into 16 lines, with each line 36
270+
* pixels high (16 × 36 = 576). The default is 24 (24 pixels high). Enter the same
271+
* number in every encode in every output that converts the same Teletext source to
272+
* DVB-Sub or Burn-in.
273+
*/
274+
inline BurnInDestinationSubtitleRows GetSubtitleRows() const { return m_subtitleRows; }
275+
inline bool SubtitleRowsHasBeenSet() const { return m_subtitleRowsHasBeenSet; }
276+
inline void SetSubtitleRows(BurnInDestinationSubtitleRows value) { m_subtitleRowsHasBeenSet = true; m_subtitleRows = value; }
277+
inline BurnInDestinationSettings& WithSubtitleRows(BurnInDestinationSubtitleRows value) { SetSubtitleRows(value); return *this;}
278+
///@}
262279
private:
263280

264281
BurnInAlignment m_alignment{BurnInAlignment::NOT_SET};
@@ -311,6 +328,9 @@ namespace Model
311328

312329
int m_yPosition{0};
313330
bool m_yPositionHasBeenSet = false;
331+
332+
BurnInDestinationSubtitleRows m_subtitleRows{BurnInDestinationSubtitleRows::NOT_SET};
333+
bool m_subtitleRowsHasBeenSet = false;
314334
};
315335

316336
} // namespace Model
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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/medialive/MediaLive_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace MediaLive
13+
{
14+
namespace Model
15+
{
16+
enum class BurnInDestinationSubtitleRows
17+
{
18+
NOT_SET,
19+
ROWS_16,
20+
ROWS_20,
21+
ROWS_24
22+
};
23+
24+
namespace BurnInDestinationSubtitleRowsMapper
25+
{
26+
AWS_MEDIALIVE_API BurnInDestinationSubtitleRows GetBurnInDestinationSubtitleRowsForName(const Aws::String& name);
27+
28+
AWS_MEDIALIVE_API Aws::String GetNameForBurnInDestinationSubtitleRows(BurnInDestinationSubtitleRows value);
29+
} // namespace BurnInDestinationSubtitleRowsMapper
30+
} // namespace Model
31+
} // namespace MediaLive
32+
} // namespace Aws

generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/DvbSubDestinationSettings.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <aws/medialive/model/DvbSubDestinationOutlineColor.h>
1414
#include <aws/medialive/model/DvbSubDestinationShadowColor.h>
1515
#include <aws/medialive/model/DvbSubDestinationTeletextGridControl.h>
16+
#include <aws/medialive/model/DvbSubDestinationSubtitleRows.h>
1617
#include <utility>
1718

1819
namespace Aws
@@ -265,6 +266,22 @@ namespace Model
265266
inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
266267
inline DvbSubDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
267268
///@}
269+
270+
///@{
271+
/**
272+
* Applies only when the input captions are Teletext and the output captions are
273+
* DVB-Sub or Burn-In. Choose the number of lines for the captions bitmap. The
274+
* captions bitmap is 700 wide × 576 high and will be laid over the video. For
275+
* example, a value of 16 divides the bitmap into 16 lines, with each line 36
276+
* pixels high (16 × 36 = 576). The default is 24 (24 pixels high). Enter the same
277+
* number in every encode in every output that converts the same Teletext source to
278+
* DVB-Sub or Burn-in.
279+
*/
280+
inline DvbSubDestinationSubtitleRows GetSubtitleRows() const { return m_subtitleRows; }
281+
inline bool SubtitleRowsHasBeenSet() const { return m_subtitleRowsHasBeenSet; }
282+
inline void SetSubtitleRows(DvbSubDestinationSubtitleRows value) { m_subtitleRowsHasBeenSet = true; m_subtitleRows = value; }
283+
inline DvbSubDestinationSettings& WithSubtitleRows(DvbSubDestinationSubtitleRows value) { SetSubtitleRows(value); return *this;}
284+
///@}
268285
private:
269286

270287
DvbSubDestinationAlignment m_alignment{DvbSubDestinationAlignment::NOT_SET};
@@ -317,6 +334,9 @@ namespace Model
317334

318335
int m_yPosition{0};
319336
bool m_yPositionHasBeenSet = false;
337+
338+
DvbSubDestinationSubtitleRows m_subtitleRows{DvbSubDestinationSubtitleRows::NOT_SET};
339+
bool m_subtitleRowsHasBeenSet = false;
320340
};
321341

322342
} // namespace Model
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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/medialive/MediaLive_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace MediaLive
13+
{
14+
namespace Model
15+
{
16+
enum class DvbSubDestinationSubtitleRows
17+
{
18+
NOT_SET,
19+
ROWS_16,
20+
ROWS_20,
21+
ROWS_24
22+
};
23+
24+
namespace DvbSubDestinationSubtitleRowsMapper
25+
{
26+
AWS_MEDIALIVE_API DvbSubDestinationSubtitleRows GetDvbSubDestinationSubtitleRowsForName(const Aws::String& name);
27+
28+
AWS_MEDIALIVE_API Aws::String GetNameForDvbSubDestinationSubtitleRows(DvbSubDestinationSubtitleRows value);
29+
} // namespace DvbSubDestinationSubtitleRowsMapper
30+
} // namespace Model
31+
} // namespace MediaLive
32+
} // namespace Aws

generated/src/aws-cpp-sdk-medialive/source/model/BurnInDestinationSettings.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ BurnInDestinationSettings& BurnInDestinationSettings::operator =(JsonView jsonVa
110110
m_yPosition = jsonValue.GetInteger("yPosition");
111111
m_yPositionHasBeenSet = true;
112112
}
113+
if(jsonValue.ValueExists("subtitleRows"))
114+
{
115+
m_subtitleRows = BurnInDestinationSubtitleRowsMapper::GetBurnInDestinationSubtitleRowsForName(jsonValue.GetString("subtitleRows"));
116+
m_subtitleRowsHasBeenSet = true;
117+
}
113118
return *this;
114119
}
115120

@@ -213,6 +218,11 @@ JsonValue BurnInDestinationSettings::Jsonize() const
213218

214219
}
215220

221+
if(m_subtitleRowsHasBeenSet)
222+
{
223+
payload.WithString("subtitleRows", BurnInDestinationSubtitleRowsMapper::GetNameForBurnInDestinationSubtitleRows(m_subtitleRows));
224+
}
225+
216226
return payload;
217227
}
218228

Lines changed: 79 additions & 0 deletions
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+
#include <aws/medialive/model/BurnInDestinationSubtitleRows.h>
7+
#include <aws/core/utils/HashingUtils.h>
8+
#include <aws/core/Globals.h>
9+
#include <aws/core/utils/EnumParseOverflowContainer.h>
10+
11+
using namespace Aws::Utils;
12+
13+
14+
namespace Aws
15+
{
16+
namespace MediaLive
17+
{
18+
namespace Model
19+
{
20+
namespace BurnInDestinationSubtitleRowsMapper
21+
{
22+
23+
static const int ROWS_16_HASH = HashingUtils::HashString("ROWS_16");
24+
static const int ROWS_20_HASH = HashingUtils::HashString("ROWS_20");
25+
static const int ROWS_24_HASH = HashingUtils::HashString("ROWS_24");
26+
27+
28+
BurnInDestinationSubtitleRows GetBurnInDestinationSubtitleRowsForName(const Aws::String& name)
29+
{
30+
int hashCode = HashingUtils::HashString(name.c_str());
31+
if (hashCode == ROWS_16_HASH)
32+
{
33+
return BurnInDestinationSubtitleRows::ROWS_16;
34+
}
35+
else if (hashCode == ROWS_20_HASH)
36+
{
37+
return BurnInDestinationSubtitleRows::ROWS_20;
38+
}
39+
else if (hashCode == ROWS_24_HASH)
40+
{
41+
return BurnInDestinationSubtitleRows::ROWS_24;
42+
}
43+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
44+
if(overflowContainer)
45+
{
46+
overflowContainer->StoreOverflow(hashCode, name);
47+
return static_cast<BurnInDestinationSubtitleRows>(hashCode);
48+
}
49+
50+
return BurnInDestinationSubtitleRows::NOT_SET;
51+
}
52+
53+
Aws::String GetNameForBurnInDestinationSubtitleRows(BurnInDestinationSubtitleRows enumValue)
54+
{
55+
switch(enumValue)
56+
{
57+
case BurnInDestinationSubtitleRows::NOT_SET:
58+
return {};
59+
case BurnInDestinationSubtitleRows::ROWS_16:
60+
return "ROWS_16";
61+
case BurnInDestinationSubtitleRows::ROWS_20:
62+
return "ROWS_20";
63+
case BurnInDestinationSubtitleRows::ROWS_24:
64+
return "ROWS_24";
65+
default:
66+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
67+
if(overflowContainer)
68+
{
69+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
70+
}
71+
72+
return {};
73+
}
74+
}
75+
76+
} // namespace BurnInDestinationSubtitleRowsMapper
77+
} // namespace Model
78+
} // namespace MediaLive
79+
} // namespace Aws

generated/src/aws-cpp-sdk-medialive/source/model/DvbSubDestinationSettings.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ DvbSubDestinationSettings& DvbSubDestinationSettings::operator =(JsonView jsonVa
110110
m_yPosition = jsonValue.GetInteger("yPosition");
111111
m_yPositionHasBeenSet = true;
112112
}
113+
if(jsonValue.ValueExists("subtitleRows"))
114+
{
115+
m_subtitleRows = DvbSubDestinationSubtitleRowsMapper::GetDvbSubDestinationSubtitleRowsForName(jsonValue.GetString("subtitleRows"));
116+
m_subtitleRowsHasBeenSet = true;
117+
}
113118
return *this;
114119
}
115120

@@ -213,6 +218,11 @@ JsonValue DvbSubDestinationSettings::Jsonize() const
213218

214219
}
215220

221+
if(m_subtitleRowsHasBeenSet)
222+
{
223+
payload.WithString("subtitleRows", DvbSubDestinationSubtitleRowsMapper::GetNameForDvbSubDestinationSubtitleRows(m_subtitleRows));
224+
}
225+
216226
return payload;
217227
}
218228

0 commit comments

Comments
 (0)