Skip to content

Commit c06fefa

Browse files
Private Certificate Authority service now supports Partitioned CRL as a revocation configuration option.
Documentation only update for RDS Performance Insights dimensions for execution plans and locking analysis. Add support for operation level caching Adding support for the new fullSnapshotSizeInBytes field in the response of the EC2 EBS DescribeSnapshots API. This field represents the size of all the blocks that were written to the source volume at the time the snapshot was created.
1 parent ecdd3f8 commit c06fefa

Some content is hidden

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

44 files changed

+1334
-1013
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.503
1+
1.11.504

generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/CrlConfiguration.h

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/core/utils/memory/stl/AWSString.h>
99
#include <aws/acm-pca/model/S3ObjectAcl.h>
1010
#include <aws/acm-pca/model/CrlDistributionPointExtensionConfiguration.h>
11+
#include <aws/acm-pca/model/CrlType.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -197,6 +198,53 @@ namespace Model
197198
inline CrlConfiguration& WithCrlDistributionPointExtensionConfiguration(const CrlDistributionPointExtensionConfiguration& value) { SetCrlDistributionPointExtensionConfiguration(value); return *this;}
198199
inline CrlConfiguration& WithCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfiguration&& value) { SetCrlDistributionPointExtensionConfiguration(std::move(value)); return *this;}
199200
///@}
201+
202+
///@{
203+
/**
204+
* <p>Choose whether to use a partitioned or complete CRL. Your choice determines
205+
* the maximum number of certificates that the certificate authority can issue and
206+
* revoke, as described in the <a
207+
* href="https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca-connector-ad">Amazon
208+
* Web Services Private CA quotas</a>.</p> <ul> <li> <p> <code>PARTITIONED</code> -
209+
* The default setting. Partitioned CRLs are an especially good option for devices
210+
* that have limited processing power or storage capacity, such as certain IoT
211+
* devices. Compared to complete CRLs, partitioned CRLs dramatically increase the
212+
* number of certificates your private CA can issue. Each certificate that Amazon
213+
* Web Services Private CA issues is bound to a specific CRL partition through the
214+
* CRL distribution point (CDP) defined in <a
215+
* href="https://datatracker.ietf.org/doc/html/rfc5280">RFC 5280</a>.</p>
216+
* <p>To make sure that your client fetches the CRL from a valid
217+
* endpoint, we recommend that you programmatically validate that the CRL's issuing
218+
* distribution point (IDP) URI matches the certificate's CDP URI. Amazon Web
219+
* Services Private CA marks the IDP extension as critical, which your client must
220+
* be able to process.</p> </li> <li> <p> <code>COMPLETE</code> -
221+
* Amazon Web Services Private CA maintains a single CRL file for all unexpired
222+
* certificates issued by a CA that have been revoked for any reason.</p> </li>
223+
* </ul>
224+
*/
225+
inline const CrlType& GetCrlType() const{ return m_crlType; }
226+
inline bool CrlTypeHasBeenSet() const { return m_crlTypeHasBeenSet; }
227+
inline void SetCrlType(const CrlType& value) { m_crlTypeHasBeenSet = true; m_crlType = value; }
228+
inline void SetCrlType(CrlType&& value) { m_crlTypeHasBeenSet = true; m_crlType = std::move(value); }
229+
inline CrlConfiguration& WithCrlType(const CrlType& value) { SetCrlType(value); return *this;}
230+
inline CrlConfiguration& WithCrlType(CrlType&& value) { SetCrlType(std::move(value)); return *this;}
231+
///@}
232+
233+
///@{
234+
/**
235+
* <p>Designates a custom file path in S3 for CRL(s). For example,
236+
* <code>http://&lt;CustomName&gt;/&lt;CustomPath&gt;/&lt;CrlPartition_GUID&gt;.crl</code>.
237+
* You can change the custom path up to five times.</p>
238+
*/
239+
inline const Aws::String& GetCustomPath() const{ return m_customPath; }
240+
inline bool CustomPathHasBeenSet() const { return m_customPathHasBeenSet; }
241+
inline void SetCustomPath(const Aws::String& value) { m_customPathHasBeenSet = true; m_customPath = value; }
242+
inline void SetCustomPath(Aws::String&& value) { m_customPathHasBeenSet = true; m_customPath = std::move(value); }
243+
inline void SetCustomPath(const char* value) { m_customPathHasBeenSet = true; m_customPath.assign(value); }
244+
inline CrlConfiguration& WithCustomPath(const Aws::String& value) { SetCustomPath(value); return *this;}
245+
inline CrlConfiguration& WithCustomPath(Aws::String&& value) { SetCustomPath(std::move(value)); return *this;}
246+
inline CrlConfiguration& WithCustomPath(const char* value) { SetCustomPath(value); return *this;}
247+
///@}
200248
private:
201249

202250
bool m_enabled;
@@ -216,6 +264,12 @@ namespace Model
216264

217265
CrlDistributionPointExtensionConfiguration m_crlDistributionPointExtensionConfiguration;
218266
bool m_crlDistributionPointExtensionConfigurationHasBeenSet = false;
267+
268+
CrlType m_crlType;
269+
bool m_crlTypeHasBeenSet = false;
270+
271+
Aws::String m_customPath;
272+
bool m_customPathHasBeenSet = false;
219273
};
220274

221275
} // namespace Model
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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/acm-pca/ACMPCA_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace ACMPCA
13+
{
14+
namespace Model
15+
{
16+
enum class CrlType
17+
{
18+
NOT_SET,
19+
COMPLETE,
20+
PARTITIONED
21+
};
22+
23+
namespace CrlTypeMapper
24+
{
25+
AWS_ACMPCA_API CrlType GetCrlTypeForName(const Aws::String& name);
26+
27+
AWS_ACMPCA_API Aws::String GetNameForCrlType(CrlType value);
28+
} // namespace CrlTypeMapper
29+
} // namespace Model
30+
} // namespace ACMPCA
31+
} // namespace Aws

generated/src/aws-cpp-sdk-acm-pca/source/model/CrlConfiguration.cpp

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ CrlConfiguration::CrlConfiguration() :
2727
m_s3BucketNameHasBeenSet(false),
2828
m_s3ObjectAcl(S3ObjectAcl::NOT_SET),
2929
m_s3ObjectAclHasBeenSet(false),
30-
m_crlDistributionPointExtensionConfigurationHasBeenSet(false)
30+
m_crlDistributionPointExtensionConfigurationHasBeenSet(false),
31+
m_crlType(CrlType::NOT_SET),
32+
m_crlTypeHasBeenSet(false),
33+
m_customPathHasBeenSet(false)
3134
{
3235
}
3336

@@ -81,6 +84,20 @@ CrlConfiguration& CrlConfiguration::operator =(JsonView jsonValue)
8184
m_crlDistributionPointExtensionConfigurationHasBeenSet = true;
8285
}
8386

87+
if(jsonValue.ValueExists("CrlType"))
88+
{
89+
m_crlType = CrlTypeMapper::GetCrlTypeForName(jsonValue.GetString("CrlType"));
90+
91+
m_crlTypeHasBeenSet = true;
92+
}
93+
94+
if(jsonValue.ValueExists("CustomPath"))
95+
{
96+
m_customPath = jsonValue.GetString("CustomPath");
97+
98+
m_customPathHasBeenSet = true;
99+
}
100+
84101
return *this;
85102
}
86103

@@ -123,6 +140,17 @@ JsonValue CrlConfiguration::Jsonize() const
123140

124141
}
125142

143+
if(m_crlTypeHasBeenSet)
144+
{
145+
payload.WithString("CrlType", CrlTypeMapper::GetNameForCrlType(m_crlType));
146+
}
147+
148+
if(m_customPathHasBeenSet)
149+
{
150+
payload.WithString("CustomPath", m_customPath);
151+
152+
}
153+
126154
return payload;
127155
}
128156

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/acm-pca/model/CrlType.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 ACMPCA
17+
{
18+
namespace Model
19+
{
20+
namespace CrlTypeMapper
21+
{
22+
23+
static const int COMPLETE_HASH = HashingUtils::HashString("COMPLETE");
24+
static const int PARTITIONED_HASH = HashingUtils::HashString("PARTITIONED");
25+
26+
27+
CrlType GetCrlTypeForName(const Aws::String& name)
28+
{
29+
int hashCode = HashingUtils::HashString(name.c_str());
30+
if (hashCode == COMPLETE_HASH)
31+
{
32+
return CrlType::COMPLETE;
33+
}
34+
else if (hashCode == PARTITIONED_HASH)
35+
{
36+
return CrlType::PARTITIONED;
37+
}
38+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
39+
if(overflowContainer)
40+
{
41+
overflowContainer->StoreOverflow(hashCode, name);
42+
return static_cast<CrlType>(hashCode);
43+
}
44+
45+
return CrlType::NOT_SET;
46+
}
47+
48+
Aws::String GetNameForCrlType(CrlType enumValue)
49+
{
50+
switch(enumValue)
51+
{
52+
case CrlType::NOT_SET:
53+
return {};
54+
case CrlType::COMPLETE:
55+
return "COMPLETE";
56+
case CrlType::PARTITIONED:
57+
return "PARTITIONED";
58+
default:
59+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
60+
if(overflowContainer)
61+
{
62+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
63+
}
64+
65+
return {};
66+
}
67+
}
68+
69+
} // namespace CrlTypeMapper
70+
} // namespace Model
71+
} // namespace ACMPCA
72+
} // namespace Aws

generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/ApiCache.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ namespace Model
5454
///@{
5555
/**
5656
* <p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests
57-
* are fully cached.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual
58-
* resolvers that you specify are cached.</p> </li> </ul>
57+
* from the same user are cached. Individual resolvers are automatically cached.
58+
* All API calls will try to return responses from the cache.</p> </li> <li> <p>
59+
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are
60+
* cached.</p> </li> <li> <p> <b>OPERATION_LEVEL_CACHING</b>: Full requests are
61+
* cached together and returned without executing resolvers.</p> </li> </ul>
5962
*/
6063
inline const ApiCachingBehavior& GetApiCachingBehavior() const{ return m_apiCachingBehavior; }
6164
inline bool ApiCachingBehaviorHasBeenSet() const { return m_apiCachingBehaviorHasBeenSet; }

generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/ApiCachingBehavior.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
FULL_REQUEST_CACHING,
20-
PER_RESOLVER_CACHING
20+
PER_RESOLVER_CACHING,
21+
OPERATION_LEVEL_CACHING
2122
};
2223

2324
namespace ApiCachingBehaviorMapper

generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/CreateApiCacheRequest.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,11 @@ namespace Model
8989
///@{
9090
/**
9191
* <p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests
92-
* are fully cached.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual
93-
* resolvers that you specify are cached.</p> </li> </ul>
92+
* from the same user are cached. Individual resolvers are automatically cached.
93+
* All API calls will try to return responses from the cache.</p> </li> <li> <p>
94+
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are
95+
* cached.</p> </li> <li> <p> <b>OPERATION_LEVEL_CACHING</b>: Full requests are
96+
* cached together and returned without executing resolvers.</p> </li> </ul>
9497
*/
9598
inline const ApiCachingBehavior& GetApiCachingBehavior() const{ return m_apiCachingBehavior; }
9699
inline bool ApiCachingBehaviorHasBeenSet() const { return m_apiCachingBehaviorHasBeenSet; }

generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/UpdateApiCacheRequest.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ namespace Model
6767
///@{
6868
/**
6969
* <p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests
70-
* are fully cached.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual
71-
* resolvers that you specify are cached.</p> </li> </ul>
70+
* from the same user are cached. Individual resolvers are automatically cached.
71+
* All API calls will try to return responses from the cache.</p> </li> <li> <p>
72+
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are
73+
* cached.</p> </li> <li> <p> <b>OPERATION_LEVEL_CACHING</b>: Full requests are
74+
* cached together and returned without executing resolvers.</p> </li> </ul>
7275
*/
7376
inline const ApiCachingBehavior& GetApiCachingBehavior() const{ return m_apiCachingBehavior; }
7477
inline bool ApiCachingBehaviorHasBeenSet() const { return m_apiCachingBehaviorHasBeenSet; }

generated/src/aws-cpp-sdk-appsync/source/model/ApiCachingBehavior.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 FULL_REQUEST_CACHING_HASH = HashingUtils::HashString("FULL_REQUEST_CACHING");
2424
static const int PER_RESOLVER_CACHING_HASH = HashingUtils::HashString("PER_RESOLVER_CACHING");
25+
static const int OPERATION_LEVEL_CACHING_HASH = HashingUtils::HashString("OPERATION_LEVEL_CACHING");
2526

2627

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

0 commit comments

Comments
 (0)