Skip to content

Commit 0505f3f

Browse files
We've added stricter parameter validations to AWS IoT FleetWise signal catalog, model manifest, and decoder manifest APIs.
With this release, Bedrock Evaluation will now support custom metrics for evaluation. This release adds following capabilities to Contact Lens Rules APIs 1/ 'ASSIGN_SLA' action and '$.Case.TemplateId' comparison value for 'OnCaseCreate' and 'OnCaseUpdate' event sources 2/ 'OnSlaBreach' Cases event source which supports '$.RelatedItem.SlaConfiguration.Name' comparison value Adds a new AccountSetting - defaultLogDriverMode for ECS. Added support for IPv6 and dual stack for Valkey and Redis clusters. Customers can now launch new Valkey and Redis clusters with IPv6 and dual stack networking support. Added new resource types to evaluate for public access in resource policies and added support for S3 directory bucket access points. Doc only update for EC2 Auto Scaling. Add versioning for HealthOmics workflows Add Workspace Configuration APIs for Amazon Prometheus
1 parent 68339ac commit 0505f3f

File tree

153 files changed

+8702
-1078
lines changed

Some content is hidden

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

153 files changed

+8702
-1078
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.548
1+
1.11.549

generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/AccessCheckResourceType.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ namespace Model
3333
AWS_SecretsManager_Secret,
3434
AWS_SNS_Topic,
3535
AWS_SQS_Queue,
36-
AWS_IAM_AssumeRolePolicyDocument
36+
AWS_IAM_AssumeRolePolicyDocument,
37+
AWS_S3Tables_TableBucket,
38+
AWS_ApiGateway_RestApi,
39+
AWS_CodeArtifact_Domain,
40+
AWS_Backup_BackupVault,
41+
AWS_CloudTrail_Dashboard,
42+
AWS_CloudTrail_EventDataStore,
43+
AWS_S3Tables_Table,
44+
AWS_S3Express_AccessPoint
3745
};
3846

3947
namespace AccessCheckResourceTypeMapper

generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/NetworkOriginConfiguration.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ namespace Model
2626

2727
/**
2828
* <p>The proposed <code>InternetConfiguration</code> or
29-
* <code>VpcConfiguration</code> to apply to the Amazon S3 access point.
30-
* <code>VpcConfiguration</code> does not apply to multi-region access points. You
31-
* can make the access point accessible from the internet, or you can specify that
32-
* all requests made through that access point must originate from a specific
33-
* virtual private cloud (VPC). You can specify only one type of network
34-
* configuration. For more information, see <a
29+
* <code>VpcConfiguration</code> to apply to the Amazon S3 access point. You can
30+
* make the access point accessible from the internet, or you can specify that all
31+
* requests made through that access point must originate from a specific virtual
32+
* private cloud (VPC). You can specify only one type of network configuration. For
33+
* more information, see <a
3534
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/creating-access-points.html">Creating
3635
* access points</a>.</p><p><h3>See Also:</h3> <a
3736
* href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/NetworkOriginConfiguration">AWS

generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/S3AccessPointConfiguration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace Model
8181
* multi-region access points. If the access preview is for a new resource and
8282
* neither is specified, the access preview uses <code>Internet</code> for the
8383
* network origin. If the access preview is for an existing resource and neither is
84-
* specified, the access preview uses the exiting network origin.</p>
84+
* specified, the access preview uses the existing network origin.</p>
8585
*/
8686
inline const NetworkOriginConfiguration& GetNetworkOrigin() const { return m_networkOrigin; }
8787
inline bool NetworkOriginHasBeenSet() const { return m_networkOriginHasBeenSet; }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
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/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/accessanalyzer/model/NetworkOriginConfiguration.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 AccessAnalyzer
23+
{
24+
namespace Model
25+
{
26+
27+
/**
28+
* <p>Proposed configuration for an access point attached to an Amazon S3 directory
29+
* bucket. You can propose up to 10 access points per bucket. If the proposed
30+
* access point configuration is for an existing Amazon S3 directory bucket, the
31+
* access preview uses the proposed access point configuration in place of the
32+
* existing access points. To propose an access point without a policy, you can
33+
* provide an empty string as the access point policy. For more information about
34+
* access points for Amazon S3 directory buckets, see <a
35+
* href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html">Managing
36+
* access to directory buckets with access points</a> in the Amazon Simple Storage
37+
* Service User Guide.</p><p><h3>See Also:</h3> <a
38+
* href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/S3ExpressDirectoryAccessPointConfiguration">AWS
39+
* API Reference</a></p>
40+
*/
41+
class S3ExpressDirectoryAccessPointConfiguration
42+
{
43+
public:
44+
AWS_ACCESSANALYZER_API S3ExpressDirectoryAccessPointConfiguration() = default;
45+
AWS_ACCESSANALYZER_API S3ExpressDirectoryAccessPointConfiguration(Aws::Utils::Json::JsonView jsonValue);
46+
AWS_ACCESSANALYZER_API S3ExpressDirectoryAccessPointConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
47+
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
48+
49+
50+
///@{
51+
/**
52+
* <p>The proposed access point policy for an Amazon S3 directory bucket access
53+
* point.</p>
54+
*/
55+
inline const Aws::String& GetAccessPointPolicy() const { return m_accessPointPolicy; }
56+
inline bool AccessPointPolicyHasBeenSet() const { return m_accessPointPolicyHasBeenSet; }
57+
template<typename AccessPointPolicyT = Aws::String>
58+
void SetAccessPointPolicy(AccessPointPolicyT&& value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy = std::forward<AccessPointPolicyT>(value); }
59+
template<typename AccessPointPolicyT = Aws::String>
60+
S3ExpressDirectoryAccessPointConfiguration& WithAccessPointPolicy(AccessPointPolicyT&& value) { SetAccessPointPolicy(std::forward<AccessPointPolicyT>(value)); return *this;}
61+
///@}
62+
63+
///@{
64+
65+
inline const NetworkOriginConfiguration& GetNetworkOrigin() const { return m_networkOrigin; }
66+
inline bool NetworkOriginHasBeenSet() const { return m_networkOriginHasBeenSet; }
67+
template<typename NetworkOriginT = NetworkOriginConfiguration>
68+
void SetNetworkOrigin(NetworkOriginT&& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = std::forward<NetworkOriginT>(value); }
69+
template<typename NetworkOriginT = NetworkOriginConfiguration>
70+
S3ExpressDirectoryAccessPointConfiguration& WithNetworkOrigin(NetworkOriginT&& value) { SetNetworkOrigin(std::forward<NetworkOriginT>(value)); return *this;}
71+
///@}
72+
private:
73+
74+
Aws::String m_accessPointPolicy;
75+
bool m_accessPointPolicyHasBeenSet = false;
76+
77+
NetworkOriginConfiguration m_networkOrigin;
78+
bool m_networkOriginHasBeenSet = false;
79+
};
80+
81+
} // namespace Model
82+
} // namespace AccessAnalyzer
83+
} // namespace Aws

generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/S3ExpressDirectoryBucketConfiguration.h

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#pragma once
77
#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
88
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/core/utils/memory/stl/AWSMap.h>
10+
#include <aws/accessanalyzer/model/S3ExpressDirectoryAccessPointConfiguration.h>
911
#include <utility>
1012

1113
namespace Aws
@@ -35,8 +37,8 @@ namespace Model
3537
* existing bucket policy, you can specify an empty string. For more information
3638
* about Amazon S3 directory bucket policies, see <a
3739
* href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example
38-
* directory bucket policies for S3 Express One Zone</a>.</p><p><h3>See Also:</h3>
39-
* <a
40+
* bucket policies for directory buckets</a> in the Amazon Simple Storage Service
41+
* User Guide.</p><p><h3>See Also:</h3> <a
4042
* href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/S3ExpressDirectoryBucketConfiguration">AWS
4143
* API Reference</a></p>
4244
*/
@@ -60,10 +62,29 @@ namespace Model
6062
template<typename BucketPolicyT = Aws::String>
6163
S3ExpressDirectoryBucketConfiguration& WithBucketPolicy(BucketPolicyT&& value) { SetBucketPolicy(std::forward<BucketPolicyT>(value)); return *this;}
6264
///@}
65+
66+
///@{
67+
/**
68+
* <p>The proposed access points for the Amazon S3 directory bucket.</p>
69+
*/
70+
inline const Aws::Map<Aws::String, S3ExpressDirectoryAccessPointConfiguration>& GetAccessPoints() const { return m_accessPoints; }
71+
inline bool AccessPointsHasBeenSet() const { return m_accessPointsHasBeenSet; }
72+
template<typename AccessPointsT = Aws::Map<Aws::String, S3ExpressDirectoryAccessPointConfiguration>>
73+
void SetAccessPoints(AccessPointsT&& value) { m_accessPointsHasBeenSet = true; m_accessPoints = std::forward<AccessPointsT>(value); }
74+
template<typename AccessPointsT = Aws::Map<Aws::String, S3ExpressDirectoryAccessPointConfiguration>>
75+
S3ExpressDirectoryBucketConfiguration& WithAccessPoints(AccessPointsT&& value) { SetAccessPoints(std::forward<AccessPointsT>(value)); return *this;}
76+
template<typename AccessPointsKeyT = Aws::String, typename AccessPointsValueT = S3ExpressDirectoryAccessPointConfiguration>
77+
S3ExpressDirectoryBucketConfiguration& AddAccessPoints(AccessPointsKeyT&& key, AccessPointsValueT&& value) {
78+
m_accessPointsHasBeenSet = true; m_accessPoints.emplace(std::forward<AccessPointsKeyT>(key), std::forward<AccessPointsValueT>(value)); return *this;
79+
}
80+
///@}
6381
private:
6482

6583
Aws::String m_bucketPolicy;
6684
bool m_bucketPolicyHasBeenSet = false;
85+
86+
Aws::Map<Aws::String, S3ExpressDirectoryAccessPointConfiguration> m_accessPoints;
87+
bool m_accessPointsHasBeenSet = false;
6788
};
6889

6990
} // namespace Model

generated/src/aws-cpp-sdk-accessanalyzer/source/model/AccessCheckResourceType.cpp

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ namespace Aws
3838
static const int AWS_SNS_Topic_HASH = HashingUtils::HashString("AWS::SNS::Topic");
3939
static const int AWS_SQS_Queue_HASH = HashingUtils::HashString("AWS::SQS::Queue");
4040
static const int AWS_IAM_AssumeRolePolicyDocument_HASH = HashingUtils::HashString("AWS::IAM::AssumeRolePolicyDocument");
41+
static const int AWS_S3Tables_TableBucket_HASH = HashingUtils::HashString("AWS::S3Tables::TableBucket");
42+
static const int AWS_ApiGateway_RestApi_HASH = HashingUtils::HashString("AWS::ApiGateway::RestApi");
43+
static const int AWS_CodeArtifact_Domain_HASH = HashingUtils::HashString("AWS::CodeArtifact::Domain");
44+
static const int AWS_Backup_BackupVault_HASH = HashingUtils::HashString("AWS::Backup::BackupVault");
45+
static const int AWS_CloudTrail_Dashboard_HASH = HashingUtils::HashString("AWS::CloudTrail::Dashboard");
46+
static const int AWS_CloudTrail_EventDataStore_HASH = HashingUtils::HashString("AWS::CloudTrail::EventDataStore");
47+
static const int AWS_S3Tables_Table_HASH = HashingUtils::HashString("AWS::S3Tables::Table");
48+
static const int AWS_S3Express_AccessPoint_HASH = HashingUtils::HashString("AWS::S3Express::AccessPoint");
4149

4250

4351
AccessCheckResourceType GetAccessCheckResourceTypeForName(const Aws::String& name)
@@ -115,6 +123,38 @@ namespace Aws
115123
{
116124
return AccessCheckResourceType::AWS_IAM_AssumeRolePolicyDocument;
117125
}
126+
else if (hashCode == AWS_S3Tables_TableBucket_HASH)
127+
{
128+
return AccessCheckResourceType::AWS_S3Tables_TableBucket;
129+
}
130+
else if (hashCode == AWS_ApiGateway_RestApi_HASH)
131+
{
132+
return AccessCheckResourceType::AWS_ApiGateway_RestApi;
133+
}
134+
else if (hashCode == AWS_CodeArtifact_Domain_HASH)
135+
{
136+
return AccessCheckResourceType::AWS_CodeArtifact_Domain;
137+
}
138+
else if (hashCode == AWS_Backup_BackupVault_HASH)
139+
{
140+
return AccessCheckResourceType::AWS_Backup_BackupVault;
141+
}
142+
else if (hashCode == AWS_CloudTrail_Dashboard_HASH)
143+
{
144+
return AccessCheckResourceType::AWS_CloudTrail_Dashboard;
145+
}
146+
else if (hashCode == AWS_CloudTrail_EventDataStore_HASH)
147+
{
148+
return AccessCheckResourceType::AWS_CloudTrail_EventDataStore;
149+
}
150+
else if (hashCode == AWS_S3Tables_Table_HASH)
151+
{
152+
return AccessCheckResourceType::AWS_S3Tables_Table;
153+
}
154+
else if (hashCode == AWS_S3Express_AccessPoint_HASH)
155+
{
156+
return AccessCheckResourceType::AWS_S3Express_AccessPoint;
157+
}
118158
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
119159
if(overflowContainer)
120160
{
@@ -167,6 +207,22 @@ namespace Aws
167207
return "AWS::SQS::Queue";
168208
case AccessCheckResourceType::AWS_IAM_AssumeRolePolicyDocument:
169209
return "AWS::IAM::AssumeRolePolicyDocument";
210+
case AccessCheckResourceType::AWS_S3Tables_TableBucket:
211+
return "AWS::S3Tables::TableBucket";
212+
case AccessCheckResourceType::AWS_ApiGateway_RestApi:
213+
return "AWS::ApiGateway::RestApi";
214+
case AccessCheckResourceType::AWS_CodeArtifact_Domain:
215+
return "AWS::CodeArtifact::Domain";
216+
case AccessCheckResourceType::AWS_Backup_BackupVault:
217+
return "AWS::Backup::BackupVault";
218+
case AccessCheckResourceType::AWS_CloudTrail_Dashboard:
219+
return "AWS::CloudTrail::Dashboard";
220+
case AccessCheckResourceType::AWS_CloudTrail_EventDataStore:
221+
return "AWS::CloudTrail::EventDataStore";
222+
case AccessCheckResourceType::AWS_S3Tables_Table:
223+
return "AWS::S3Tables::Table";
224+
case AccessCheckResourceType::AWS_S3Express_AccessPoint:
225+
return "AWS::S3Express::AccessPoint";
170226
default:
171227
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
172228
if(overflowContainer)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/accessanalyzer/model/S3ExpressDirectoryAccessPointConfiguration.h>
7+
#include <aws/core/utils/json/JsonSerializer.h>
8+
9+
#include <utility>
10+
11+
using namespace Aws::Utils::Json;
12+
using namespace Aws::Utils;
13+
14+
namespace Aws
15+
{
16+
namespace AccessAnalyzer
17+
{
18+
namespace Model
19+
{
20+
21+
S3ExpressDirectoryAccessPointConfiguration::S3ExpressDirectoryAccessPointConfiguration(JsonView jsonValue)
22+
{
23+
*this = jsonValue;
24+
}
25+
26+
S3ExpressDirectoryAccessPointConfiguration& S3ExpressDirectoryAccessPointConfiguration::operator =(JsonView jsonValue)
27+
{
28+
if(jsonValue.ValueExists("accessPointPolicy"))
29+
{
30+
m_accessPointPolicy = jsonValue.GetString("accessPointPolicy");
31+
m_accessPointPolicyHasBeenSet = true;
32+
}
33+
if(jsonValue.ValueExists("networkOrigin"))
34+
{
35+
m_networkOrigin = jsonValue.GetObject("networkOrigin");
36+
m_networkOriginHasBeenSet = true;
37+
}
38+
return *this;
39+
}
40+
41+
JsonValue S3ExpressDirectoryAccessPointConfiguration::Jsonize() const
42+
{
43+
JsonValue payload;
44+
45+
if(m_accessPointPolicyHasBeenSet)
46+
{
47+
payload.WithString("accessPointPolicy", m_accessPointPolicy);
48+
49+
}
50+
51+
if(m_networkOriginHasBeenSet)
52+
{
53+
payload.WithObject("networkOrigin", m_networkOrigin.Jsonize());
54+
55+
}
56+
57+
return payload;
58+
}
59+
60+
} // namespace Model
61+
} // namespace AccessAnalyzer
62+
} // namespace Aws

generated/src/aws-cpp-sdk-accessanalyzer/source/model/S3ExpressDirectoryBucketConfiguration.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ S3ExpressDirectoryBucketConfiguration& S3ExpressDirectoryBucketConfiguration::op
3030
m_bucketPolicy = jsonValue.GetString("bucketPolicy");
3131
m_bucketPolicyHasBeenSet = true;
3232
}
33+
if(jsonValue.ValueExists("accessPoints"))
34+
{
35+
Aws::Map<Aws::String, JsonView> accessPointsJsonMap = jsonValue.GetObject("accessPoints").GetAllObjects();
36+
for(auto& accessPointsItem : accessPointsJsonMap)
37+
{
38+
m_accessPoints[accessPointsItem.first] = accessPointsItem.second.AsObject();
39+
}
40+
m_accessPointsHasBeenSet = true;
41+
}
3342
return *this;
3443
}
3544

@@ -43,6 +52,17 @@ JsonValue S3ExpressDirectoryBucketConfiguration::Jsonize() const
4352

4453
}
4554

55+
if(m_accessPointsHasBeenSet)
56+
{
57+
JsonValue accessPointsJsonMap;
58+
for(auto& accessPointsItem : m_accessPoints)
59+
{
60+
accessPointsJsonMap.WithObject(accessPointsItem.first, accessPointsItem.second.Jsonize());
61+
}
62+
payload.WithObject("accessPoints", std::move(accessPointsJsonMap));
63+
64+
}
65+
4666
return payload;
4767
}
4868

0 commit comments

Comments
 (0)