Skip to content

Commit

Permalink
This release includes a new API for retrieving the public endorsement…
Browse files Browse the repository at this point in the history
… key of the EC2 instance's Nitro Trusted Platform Module (NitroTPM).

This releases ability to delete users and their data, including their metadata and interactions data, from a dataset group.
This release adds support to specify an optional, maximum OnDemandThroughput for DynamoDB tables and global secondary indexes in the CreateTable or UpdateTable APIs. You can also override the OnDemandThroughput settings by calling the ImportTable, RestoreFromPointInTime, or RestoreFromBackup APIs.
Update Redshift Serverless List Scheduled Actions Output Response to include Namespace Name.
  • Loading branch information
aws-sdk-cpp-automation committed May 2, 2024
1 parent a5cab0a commit 17f10e5
Show file tree
Hide file tree
Showing 90 changed files with 5,701 additions and 400 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.319
1.11.320
Original file line number Diff line number Diff line change
Expand Up @@ -1199,12 +1199,12 @@ namespace DynamoDB
* metadata for your policy or table might not be available at that moment. Wait
* for a few seconds, and then retry the <code>GetResourcePolicy</code>
* request.</p> <p>After a <code>GetResourcePolicy</code> request returns a policy
* created using the <code>PutResourcePolicy</code> request, you can assume the
* policy will start getting applied in the authorization of requests to the
* resource. Because this process is eventually consistent, it will take some time
* to apply the policy to all requests to a resource. Policies that you attach
* while creating a table using the <code>CreateTable</code> request will always be
* applied to all requests for that table.</p><p><h3>See Also:</h3> <a
* created using the <code>PutResourcePolicy</code> request, the policy will be
* applied in the authorization of requests to the resource. Because this process
* is eventually consistent, it will take some time to apply the policy to all
* requests to a resource. Policies that you attach while creating a table using
* the <code>CreateTable</code> request will always be applied to all requests for
* that table.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetResourcePolicy">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -1514,7 +1514,7 @@ namespace DynamoDB
* <i>eventually consistent</i> </a>.</p> <p> <code>PutResourcePolicy</code> is an
* idempotent operation; running it multiple times on the same resource using the
* same policy document will return the same revision ID. If you specify an
* <code>ExpectedRevisionId</code> which doesn't match the current policy's
* <code>ExpectedRevisionId</code> that doesn't match the current policy's
* <code>RevisionId</code>, the <code>PolicyNotFoundException</code> will be
* returned.</p> <p> <code>PutResourcePolicy</code> is an asynchronous
* operation. If you issue a <code>GetResourcePolicy</code> request immediately
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/dynamodb/model/Projection.h>
#include <aws/dynamodb/model/ProvisionedThroughput.h>
#include <aws/dynamodb/model/OnDemandThroughput.h>
#include <aws/dynamodb/model/KeySchemaElement.h>
#include <utility>

Expand Down Expand Up @@ -221,6 +222,55 @@ namespace Model
*/
inline CreateGlobalSecondaryIndexAction& WithProvisionedThroughput(ProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;}


/**
* <p>The maximum number of read and write units for the global secondary index
* being created. If you use this parameter, you must specify
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
* both.</p>
*/
inline const OnDemandThroughput& GetOnDemandThroughput() const{ return m_onDemandThroughput; }

/**
* <p>The maximum number of read and write units for the global secondary index
* being created. If you use this parameter, you must specify
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
* both.</p>
*/
inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }

/**
* <p>The maximum number of read and write units for the global secondary index
* being created. If you use this parameter, you must specify
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
* both.</p>
*/
inline void SetOnDemandThroughput(const OnDemandThroughput& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = value; }

/**
* <p>The maximum number of read and write units for the global secondary index
* being created. If you use this parameter, you must specify
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
* both.</p>
*/
inline void SetOnDemandThroughput(OnDemandThroughput&& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = std::move(value); }

/**
* <p>The maximum number of read and write units for the global secondary index
* being created. If you use this parameter, you must specify
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
* both.</p>
*/
inline CreateGlobalSecondaryIndexAction& WithOnDemandThroughput(const OnDemandThroughput& value) { SetOnDemandThroughput(value); return *this;}

/**
* <p>The maximum number of read and write units for the global secondary index
* being created. If you use this parameter, you must specify
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
* both.</p>
*/
inline CreateGlobalSecondaryIndexAction& WithOnDemandThroughput(OnDemandThroughput&& value) { SetOnDemandThroughput(std::move(value)); return *this;}

private:

Aws::String m_indexName;
Expand All @@ -234,6 +284,9 @@ namespace Model

ProvisionedThroughput m_provisionedThroughput;
bool m_provisionedThroughputHasBeenSet = false;

OnDemandThroughput m_onDemandThroughput;
bool m_onDemandThroughputHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <aws/dynamodb/DynamoDB_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/dynamodb/model/ProvisionedThroughputOverride.h>
#include <aws/dynamodb/model/OnDemandThroughputOverride.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/dynamodb/model/TableClass.h>
#include <aws/dynamodb/model/ReplicaGlobalSecondaryIndex.h>
Expand Down Expand Up @@ -184,6 +185,55 @@ namespace Model
inline CreateReplicationGroupMemberAction& WithProvisionedThroughputOverride(ProvisionedThroughputOverride&& value) { SetProvisionedThroughputOverride(std::move(value)); return *this;}


/**
* <p>The maximum on-demand throughput settings for the specified replica table
* being created. You can only modify <code>MaxReadRequestUnits</code>, because you
* can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
* </p>
*/
inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const{ return m_onDemandThroughputOverride; }

/**
* <p>The maximum on-demand throughput settings for the specified replica table
* being created. You can only modify <code>MaxReadRequestUnits</code>, because you
* can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
* </p>
*/
inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }

/**
* <p>The maximum on-demand throughput settings for the specified replica table
* being created. You can only modify <code>MaxReadRequestUnits</code>, because you
* can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
* </p>
*/
inline void SetOnDemandThroughputOverride(const OnDemandThroughputOverride& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = value; }

/**
* <p>The maximum on-demand throughput settings for the specified replica table
* being created. You can only modify <code>MaxReadRequestUnits</code>, because you
* can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
* </p>
*/
inline void SetOnDemandThroughputOverride(OnDemandThroughputOverride&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::move(value); }

/**
* <p>The maximum on-demand throughput settings for the specified replica table
* being created. You can only modify <code>MaxReadRequestUnits</code>, because you
* can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
* </p>
*/
inline CreateReplicationGroupMemberAction& WithOnDemandThroughputOverride(const OnDemandThroughputOverride& value) { SetOnDemandThroughputOverride(value); return *this;}

/**
* <p>The maximum on-demand throughput settings for the specified replica table
* being created. You can only modify <code>MaxReadRequestUnits</code>, because you
* can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
* </p>
*/
inline CreateReplicationGroupMemberAction& WithOnDemandThroughputOverride(OnDemandThroughputOverride&& value) { SetOnDemandThroughputOverride(std::move(value)); return *this;}


/**
* <p>Replica-specific global secondary index settings.</p>
*/
Expand Down Expand Up @@ -272,6 +322,9 @@ namespace Model
ProvisionedThroughputOverride m_provisionedThroughputOverride;
bool m_provisionedThroughputOverrideHasBeenSet = false;

OnDemandThroughputOverride m_onDemandThroughputOverride;
bool m_onDemandThroughputOverrideHasBeenSet = false;

Aws::Vector<ReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
bool m_globalSecondaryIndexesHasBeenSet = false;

Expand Down
Loading

0 comments on commit 17f10e5

Please sign in to comment.