/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the dynamodb-2012-08-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.DynamoDBv2.Model
{
///
/// Container for the parameters to the CreateBackup operation.
/// Creates a backup for an existing table.
///
///
///
/// Each time you create an on-demand backup, the entire table data is backed up. There
/// is no limit to the number of on-demand backups that can be taken.
///
///
///
/// When you create an on-demand backup, a time marker of the request is cataloged, and
/// the backup is created asynchronously, by applying all changes until the time of the
/// request to the last full table snapshot. Backup requests are processed instantaneously
/// and become available for restore within minutes.
///
///
///
/// You can call CreateBackup
at a maximum rate of 50 times per second.
///
///
///
/// All backups in DynamoDB work without consuming any provisioned throughput on the table.
///
///
///
/// If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed
/// to contain all data committed to the table up to 14:24:00, and data committed after
/// 14:26:00 will not be. The backup might contain data modifications made between 14:24:00
/// and 14:26:00. On-demand backup does not support causal consistency.
///
///
///
/// Along with data, the following are also included on the backups:
///
/// -
///
/// Global secondary indexes (GSIs)
///
///
-
///
/// Local secondary indexes (LSIs)
///
///
-
///
/// Streams
///
///
-
///
/// Provisioned read and write capacity
///
///
///
public partial class CreateBackupRequest : AmazonDynamoDBRequest
{
private string _backupName;
private string _tableName;
///
/// Gets and sets the property BackupName.
///
/// Specified name for the backup.
///
///
[AWSProperty(Required=true, Min=3, Max=255)]
public string BackupName
{
get { return this._backupName; }
set { this._backupName = value; }
}
// Check to see if BackupName property is set
internal bool IsSetBackupName()
{
return this._backupName != null;
}
///
/// Gets and sets the property TableName.
///
/// The name of the table.
///
///
[AWSProperty(Required=true, Min=3, Max=255)]
public string TableName
{
get { return this._tableName; }
set { this._tableName = value; }
}
// Check to see if TableName property is set
internal bool IsSetTableName()
{
return this._tableName != null;
}
}
}