Skip to content

Commit f187cf6

Browse files
Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
Support new Polly voice engines in VoiceSettings: long-form and generative Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support. Added KMS_DSSE to EncryptionType Add support for new statistic types in GetFindingsStatistics. Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
1 parent 8ff2227 commit f187cf6

File tree

299 files changed

+40246
-15253
lines changed

Some content is hidden

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

299 files changed

+40246
-15253
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.402
1+
1.11.403

generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ namespace BedrockAgentRuntime
236236

237237
/**
238238
* <p>Queries a knowledge base and generates responses based on the retrieved
239-
* results. The response only cites sources that are relevant to the
239+
* results and using the specified foundation model or <a
240+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference
241+
* profile</a>. The response only cites sources that are relevant to the
240242
* query.</p><p><h3>See Also:</h3> <a
241243
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/RetrieveAndGenerate">AWS
242244
* API Reference</a></p>

generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/KnowledgeBaseRetrieveAndGenerateConfiguration.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ namespace Model
6262

6363
///@{
6464
/**
65-
* <p>The unique identifier of the knowledge base that is queried and the
66-
* foundation model used for generation.</p>
65+
* <p>The unique identifier of the knowledge base that is queried.</p>
6766
*/
6867
inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
6968
inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
@@ -77,7 +76,9 @@ namespace Model
7776

7877
///@{
7978
/**
80-
* <p>The ARN of the foundation model used to generate a response.</p>
79+
* <p>The ARN of the foundation model or <a
80+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference
81+
* profile</a> used to generate a response.</p>
8182
*/
8283
inline const Aws::String& GetModelArn() const{ return m_modelArn; }
8384
inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }

generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/BedrockFoundationModelConfiguration.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ namespace Model
2525
{
2626

2727
/**
28-
* <p>Settings for a foundation model used to parse documents for a data
29-
* source.</p><p><h3>See Also:</h3> <a
28+
* <p>Settings for a foundation model or <a
29+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference
30+
* profile</a> used to parse documents for a data source.</p><p><h3>See Also:</h3>
31+
* <a
3032
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockFoundationModelConfiguration">AWS
3133
* API Reference</a></p>
3234
*/
@@ -41,7 +43,9 @@ namespace Model
4143

4244
///@{
4345
/**
44-
* <p>The model's ARN.</p>
46+
* <p>The ARN of the foundation model or <a
47+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference
48+
* profile</a>.</p>
4549
*/
4650
inline const Aws::String& GetModelArn() const{ return m_modelArn; }
4751
inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }

generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ParsingConfiguration.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ namespace Model
3131
* source to convert the pages of text into images and use a model to describe the
3232
* contents of each page.</p> <p>To use a model to parse PDF documents, set the
3333
* parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model
34-
* to use by ARN. You can also override the default parsing prompt with
34+
* or <a
35+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference
36+
* profile</a> to use by ARN. You can also override the default parsing prompt with
3537
* instructions for how to interpret images and tables in your documents. The
3638
* following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet -
3739
* <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li>

generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EncryptionConfiguration.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,16 @@ namespace Model
5555
* type, the contents of the repository will be encrypted using server-side
5656
* encryption with Key Management Service key stored in KMS. When you use KMS to
5757
* encrypt your data, you can either use the default Amazon Web Services managed
58-
* KMS key for Amazon ECR, or specify your own KMS key, which you already created.
59-
* For more information, see <a
60-
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting
61-
* data using server-side encryption with an KMS key stored in Key Management
62-
* Service (SSE-KMS)</a> in the <i>Amazon Simple Storage Service Console Developer
63-
* Guide</i>.</p> <p>If you use the <code>AES256</code> encryption type, Amazon ECR
64-
* uses server-side encryption with Amazon S3-managed encryption keys which
65-
* encrypts the images in the repository using an AES256 encryption algorithm. For
66-
* more information, see <a
58+
* KMS key for Amazon ECR, or specify your own KMS key, which you already
59+
* created.</p> <p>If you use the <code>KMS_DSSE</code> encryption type, the
60+
* contents of the repository will be encrypted with two layers of encryption using
61+
* server-side encryption with the KMS Management Service key stored in KMS.
62+
* Similar to the KMS encryption type, you can either use the default Amazon Web
63+
* Services managed KMS key for Amazon ECR, or specify your own KMS key, which
64+
* you've already created. </p> <p>If you use the <code>AES256</code> encryption
65+
* type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
66+
* keys which encrypts the images in the repository using an AES256 encryption
67+
* algorithm. For more information, see <a
6768
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting
6869
* data using server-side encryption with Amazon S3-managed encryption keys
6970
* (SSE-S3)</a> in the <i>Amazon Simple Storage Service Console Developer

generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EncryptionType.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ namespace Model
1717
{
1818
NOT_SET,
1919
AES256,
20-
KMS
20+
KMS,
21+
KMS_DSSE
2122
};
2223

2324
namespace EncryptionTypeMapper

generated/src/aws-cpp-sdk-ecr/source/model/EncryptionType.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Aws
2222

2323
static const int AES256_HASH = HashingUtils::HashString("AES256");
2424
static const int KMS_HASH = HashingUtils::HashString("KMS");
25+
static const int KMS_DSSE_HASH = HashingUtils::HashString("KMS_DSSE");
2526

2627

2728
EncryptionType GetEncryptionTypeForName(const Aws::String& name)
@@ -35,6 +36,10 @@ namespace Aws
3536
{
3637
return EncryptionType::KMS;
3738
}
39+
else if (hashCode == KMS_DSSE_HASH)
40+
{
41+
return EncryptionType::KMS_DSSE;
42+
}
3843
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
3944
if(overflowContainer)
4045
{
@@ -55,6 +60,8 @@ namespace Aws
5560
return "AES256";
5661
case EncryptionType::KMS:
5762
return "KMS";
63+
case EncryptionType::KMS_DSSE:
64+
return "KMS_DSSE";
5865
default:
5966
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
6067
if(overflowContainer)

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/GuardDutyClient.h

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ namespace GuardDuty
336336
}
337337

338338
/**
339-
* <p>Creates a publishing destination to export findings to. The resource to
340-
* export findings to must exist before you use this operation.</p><p><h3>See
341-
* Also:</h3> <a
339+
* <p>Creates a publishing destination where you can export your GuardDuty
340+
* findings. Before you start exporting the findings, the destination resource must
341+
* exist.</p><p><h3>See Also:</h3> <a
342342
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreatePublishingDestination">AWS
343343
* API Reference</a></p>
344344
*/
@@ -945,10 +945,10 @@ namespace GuardDuty
945945
}
946946

947947
/**
948-
* <p>Retrieves an Amazon GuardDuty detector specified by the detectorId.</p>
949-
* <p>There might be regional differences because some data sources might not be
950-
* available in all the Amazon Web Services Regions where GuardDuty is presently
951-
* supported. For more information, see <a
948+
* <p>Retrieves a GuardDuty detector specified by the detectorId.</p> <p>There
949+
* might be regional differences because some data sources might not be available
950+
* in all the Amazon Web Services Regions where GuardDuty is presently supported.
951+
* For more information, see <a
952952
* href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions
953953
* and endpoints</a>.</p><p><h3>See Also:</h3> <a
954954
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector">AWS
@@ -1027,7 +1027,10 @@ namespace GuardDuty
10271027
}
10281028

10291029
/**
1030-
* <p>Lists Amazon GuardDuty findings statistics for the specified detector ID.</p>
1030+
* <p>Lists GuardDuty findings statistics for the specified detector ID.</p> <p>You
1031+
* must provide either <code>findingStatisticTypes</code> or <code>groupBy</code>
1032+
* parameter, and not both. You can use the <code>maxResults</code> and
1033+
* <code>orderBy</code> parameters only when using <code>groupBy</code>.</p>
10311034
* <p>There might be regional differences because some flags might not be available
10321035
* in all the Regions where GuardDuty is currently supported. For more information,
10331036
* see <a
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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/guardduty/GuardDuty_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/core/utils/DateTime.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 GuardDuty
23+
{
24+
namespace Model
25+
{
26+
27+
/**
28+
* <p>Represents a list of map of accounts with the number of findings associated
29+
* with each account.</p><p><h3>See Also:</h3> <a
30+
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountStatistics">AWS
31+
* API Reference</a></p>
32+
*/
33+
class AccountStatistics
34+
{
35+
public:
36+
AWS_GUARDDUTY_API AccountStatistics();
37+
AWS_GUARDDUTY_API AccountStatistics(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_GUARDDUTY_API AccountStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40+
41+
42+
///@{
43+
/**
44+
* <p>The ID of the Amazon Web Services account.</p>
45+
*/
46+
inline const Aws::String& GetAccountId() const{ return m_accountId; }
47+
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48+
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49+
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50+
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51+
inline AccountStatistics& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52+
inline AccountStatistics& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53+
inline AccountStatistics& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54+
///@}
55+
56+
///@{
57+
/**
58+
* <p>The timestamp at which the finding for this account was last generated.</p>
59+
*/
60+
inline const Aws::Utils::DateTime& GetLastGeneratedAt() const{ return m_lastGeneratedAt; }
61+
inline bool LastGeneratedAtHasBeenSet() const { return m_lastGeneratedAtHasBeenSet; }
62+
inline void SetLastGeneratedAt(const Aws::Utils::DateTime& value) { m_lastGeneratedAtHasBeenSet = true; m_lastGeneratedAt = value; }
63+
inline void SetLastGeneratedAt(Aws::Utils::DateTime&& value) { m_lastGeneratedAtHasBeenSet = true; m_lastGeneratedAt = std::move(value); }
64+
inline AccountStatistics& WithLastGeneratedAt(const Aws::Utils::DateTime& value) { SetLastGeneratedAt(value); return *this;}
65+
inline AccountStatistics& WithLastGeneratedAt(Aws::Utils::DateTime&& value) { SetLastGeneratedAt(std::move(value)); return *this;}
66+
///@}
67+
68+
///@{
69+
/**
70+
* <p>The total number of findings associated with an account.</p>
71+
*/
72+
inline int GetTotalFindings() const{ return m_totalFindings; }
73+
inline bool TotalFindingsHasBeenSet() const { return m_totalFindingsHasBeenSet; }
74+
inline void SetTotalFindings(int value) { m_totalFindingsHasBeenSet = true; m_totalFindings = value; }
75+
inline AccountStatistics& WithTotalFindings(int value) { SetTotalFindings(value); return *this;}
76+
///@}
77+
private:
78+
79+
Aws::String m_accountId;
80+
bool m_accountIdHasBeenSet = false;
81+
82+
Aws::Utils::DateTime m_lastGeneratedAt;
83+
bool m_lastGeneratedAtHasBeenSet = false;
84+
85+
int m_totalFindings;
86+
bool m_totalFindingsHasBeenSet = false;
87+
};
88+
89+
} // namespace Model
90+
} // namespace GuardDuty
91+
} // namespace Aws

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/CreateFilterRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ namespace Model
3838

3939
///@{
4040
/**
41-
* <p>The ID of the detector belonging to the GuardDuty account that you want to
42-
* create a filter for.</p>
41+
* <p>The detector ID associated with the GuardDuty account for which you want to
42+
* create a filter.</p>
4343
*/
4444
inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
4545
inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/CreateIPSetRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ namespace Model
3737

3838
///@{
3939
/**
40-
* <p>The unique ID of the detector of the GuardDuty account that you want to
41-
* create an IPSet for.</p>
40+
* <p>The unique ID of the detector of the GuardDuty account for which you want to
41+
* create an IPSet.</p>
4242
*/
4343
inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
4444
inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/CreateMalwareProtectionPlanRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ namespace Model
5252

5353
///@{
5454
/**
55-
* <p>IAM role with permissions required to scan and add tags to the associated
56-
* protected resource.</p>
55+
* <p>Amazon Resource Name (ARN) of the IAM role that has the permissions to scan
56+
* and add tags to the associated protected resource.</p>
5757
*/
5858
inline const Aws::String& GetRole() const{ return m_role; }
5959
inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/CreateMembersRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ namespace Model
3636

3737
///@{
3838
/**
39-
* <p>The unique ID of the detector of the GuardDuty account that you want to
40-
* associate member accounts with.</p>
39+
* <p>The unique ID of the detector of the GuardDuty account for which you want to
40+
* associate member accounts.</p>
4141
*/
4242
inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
4343
inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/CreateSampleFindingsRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace Model
3535

3636
///@{
3737
/**
38-
* <p>The ID of the detector to create sample findings for.</p>
38+
* <p>The ID of the detector for which you need to create sample findings.</p>
3939
*/
4040
inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
4141
inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }

generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/CreateThreatIntelSetRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ namespace Model
3737

3838
///@{
3939
/**
40-
* <p>The unique ID of the detector of the GuardDuty account that you want to
41-
* create a threatIntelSet for.</p>
40+
* <p>The unique ID of the detector of the GuardDuty account for which you want to
41+
* create a <code>ThreatIntelSet</code>.</p>
4242
*/
4343
inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
4444
inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }

0 commit comments

Comments
 (0)