/******************************************************************************* * Copyright 2012-2019 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. * ***************************************************************************** * * AWS Tools for Windows (TM) PowerShell (TM) * */ using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using Amazon.PowerShell.Common; using Amazon.Runtime; using Amazon.Keyspaces; using Amazon.Keyspaces.Model; namespace Amazon.PowerShell.Cmdlets.KS { /// /// The CreateTable operation adds a new table to the specified keyspace. /// Within a keyspace, table names must be unique. /// /// /// CreateTable is an asynchronous operation. When the request is received, /// the status of the table is set to CREATING. You can monitor the creation /// status of the new table by using the GetTable operation, which returns /// the current status of the table. You can start using a table when the /// status is ACTIVE. /// /// For more information, see Creating /// tables in the Amazon Keyspaces Developer Guide. /// /// [Cmdlet("New", "KSTable", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] [OutputType("System.String")] [AWSCmdlet("Calls the Amazon Keyspaces CreateTable API operation.", Operation = new[] {"CreateTable"}, SelectReturnType = typeof(Amazon.Keyspaces.Model.CreateTableResponse))] [AWSCmdletOutput("System.String or Amazon.Keyspaces.Model.CreateTableResponse", "This cmdlet returns a System.String object.", "The service call response (type Amazon.Keyspaces.Model.CreateTableResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." )] public partial class NewKSTableCmdlet : AmazonKeyspacesClientCmdlet, IExecutor { #region Parameter SchemaDefinition_AllColumn /// /// /// The regular columns of the table. /// /// #if !MODULAR [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] #else [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] [System.Management.Automation.AllowEmptyCollection] [System.Management.Automation.AllowNull] #endif [Amazon.PowerShell.Common.AWSRequiredParameter] [Alias("SchemaDefinition_AllColumns")] public Amazon.Keyspaces.Model.ColumnDefinition[] SchemaDefinition_AllColumn { get; set; } #endregion #region Parameter SchemaDefinition_ClusteringKey /// /// /// The columns that are part of the clustering key of the table. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("SchemaDefinition_ClusteringKeys")] public Amazon.Keyspaces.Model.ClusteringKey[] SchemaDefinition_ClusteringKey { get; set; } #endregion #region Parameter DefaultTimeToLive /// /// /// The default Time to Live setting in seconds for the table.For more information, see Setting /// the default TTL value for a table in the Amazon Keyspaces Developer Guide. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.Int32? DefaultTimeToLive { get; set; } #endregion #region Parameter KeyspaceName /// /// /// The name of the keyspace that the table is going to be created in. /// /// #if !MODULAR [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] #else [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] [System.Management.Automation.AllowEmptyString] [System.Management.Automation.AllowNull] #endif [Amazon.PowerShell.Common.AWSRequiredParameter] public System.String KeyspaceName { get; set; } #endregion #region Parameter EncryptionSpecification_KmsKeyIdentifier /// /// /// The Amazon Resource Name (ARN) of the customer managed KMS key, for example kms_key_identifier:ARN. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String EncryptionSpecification_KmsKeyIdentifier { get; set; } #endregion #region Parameter Comment_Message /// /// /// An optional description of the table. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public System.String Comment_Message { get; set; } #endregion #region Parameter SchemaDefinition_PartitionKey /// /// /// The columns that are part of the partition key of the table . /// /// #if !MODULAR [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] #else [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] [System.Management.Automation.AllowEmptyCollection] [System.Management.Automation.AllowNull] #endif [Amazon.PowerShell.Common.AWSRequiredParameter] [Alias("SchemaDefinition_PartitionKeys")] public Amazon.Keyspaces.Model.PartitionKey[] SchemaDefinition_PartitionKey { get; set; } #endregion #region Parameter CapacitySpecification_ReadCapacityUnit /// /// /// The throughput capacity specified for read operations defined in read /// capacity units(RCUs). /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("CapacitySpecification_ReadCapacityUnits")] public System.Int64? CapacitySpecification_ReadCapacityUnit { get; set; } #endregion #region Parameter SchemaDefinition_StaticColumn /// /// /// The columns that have been defined as STATIC. Static columns store values /// that are shared by all rows in the same partition. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("SchemaDefinition_StaticColumns")] public Amazon.Keyspaces.Model.StaticColumn[] SchemaDefinition_StaticColumn { get; set; } #endregion #region Parameter ClientSideTimestamps_Status /// /// /// Shows how to enable client-side timestamps settings for the specified table. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [AWSConstantClassSource("Amazon.Keyspaces.ClientSideTimestampsStatus")] public Amazon.Keyspaces.ClientSideTimestampsStatus ClientSideTimestamps_Status { get; set; } #endregion #region Parameter PointInTimeRecovery_Status /// /// /// The options are: /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [AWSConstantClassSource("Amazon.Keyspaces.PointInTimeRecoveryStatus")] public Amazon.Keyspaces.PointInTimeRecoveryStatus PointInTimeRecovery_Status { get; set; } #endregion #region Parameter Ttl_Status /// /// /// Shows how to enable custom Time to Live (TTL) settings for the specified table. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [AWSConstantClassSource("Amazon.Keyspaces.TimeToLiveStatus")] public Amazon.Keyspaces.TimeToLiveStatus Ttl_Status { get; set; } #endregion #region Parameter TableName /// /// /// The name of the table. /// /// #if !MODULAR [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] #else [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] [System.Management.Automation.AllowEmptyString] [System.Management.Automation.AllowNull] #endif [Amazon.PowerShell.Common.AWSRequiredParameter] public System.String TableName { get; set; } #endregion #region Parameter Tag /// /// /// A list of key-value pair tags to be attached to the resource. For more information, see Adding /// tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer /// Guide. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("Tags")] public Amazon.Keyspaces.Model.Tag[] Tag { get; set; } #endregion #region Parameter CapacitySpecification_ThroughputMode /// /// /// The read/write throughput capacity mode for a table. The options are:The default is throughput_mode:PAY_PER_REQUEST.For more information, see Read/write /// capacity modes in the Amazon Keyspaces Developer Guide. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [AWSConstantClassSource("Amazon.Keyspaces.ThroughputMode")] public Amazon.Keyspaces.ThroughputMode CapacitySpecification_ThroughputMode { get; set; } #endregion #region Parameter EncryptionSpecification_Type /// /// /// The encryption option specified for the table. You can choose one of the following /// KMS keys (KMS keys):The default is type:AWS_OWNED_KMS_KEY. For more information, see Encryption /// at rest in the Amazon Keyspaces Developer Guide. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [AWSConstantClassSource("Amazon.Keyspaces.EncryptionType")] public Amazon.Keyspaces.EncryptionType EncryptionSpecification_Type { get; set; } #endregion #region Parameter CapacitySpecification_WriteCapacityUnit /// /// /// The throughput capacity specified for write operations defined in write /// capacity units(WCUs). /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] [Alias("CapacitySpecification_WriteCapacityUnits")] public System.Int64? CapacitySpecification_WriteCapacityUnit { get; set; } #endregion #region Parameter Select /// /// Use the -Select parameter to control the cmdlet output. The default value is 'ResourceArn'. /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Keyspaces.Model.CreateTableResponse). /// Specifying the name of a property of type Amazon.Keyspaces.Model.CreateTableResponse will result in that property being returned. /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public string Select { get; set; } = "ResourceArn"; #endregion #region Parameter Force /// /// This parameter overrides confirmation prompts to force /// the cmdlet to continue its operation. This parameter should always /// be used with caution. /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] public SwitchParameter Force { get; set; } #endregion protected override void ProcessRecord() { this._AWSSignerType = "v4"; base.ProcessRecord(); var resourceIdentifiersText = string.Empty; if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "New-KSTable (CreateTable)")) { return; } var context = new CmdletContext(); // allow for manipulation of parameters prior to loading into context PreExecutionContextLoad(context); if (ParameterWasBound(nameof(this.Select))) { context.Select = CreateSelectDelegate(Select) ?? throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); } context.CapacitySpecification_ReadCapacityUnit = this.CapacitySpecification_ReadCapacityUnit; context.CapacitySpecification_ThroughputMode = this.CapacitySpecification_ThroughputMode; context.CapacitySpecification_WriteCapacityUnit = this.CapacitySpecification_WriteCapacityUnit; context.ClientSideTimestamps_Status = this.ClientSideTimestamps_Status; context.Comment_Message = this.Comment_Message; context.DefaultTimeToLive = this.DefaultTimeToLive; context.EncryptionSpecification_KmsKeyIdentifier = this.EncryptionSpecification_KmsKeyIdentifier; context.EncryptionSpecification_Type = this.EncryptionSpecification_Type; context.KeyspaceName = this.KeyspaceName; #if MODULAR if (this.KeyspaceName == null && ParameterWasBound(nameof(this.KeyspaceName))) { WriteWarning("You are passing $null as a value for parameter KeyspaceName which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif context.PointInTimeRecovery_Status = this.PointInTimeRecovery_Status; if (this.SchemaDefinition_AllColumn != null) { context.SchemaDefinition_AllColumn = new List(this.SchemaDefinition_AllColumn); } #if MODULAR if (this.SchemaDefinition_AllColumn == null && ParameterWasBound(nameof(this.SchemaDefinition_AllColumn))) { WriteWarning("You are passing $null as a value for parameter SchemaDefinition_AllColumn which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif if (this.SchemaDefinition_ClusteringKey != null) { context.SchemaDefinition_ClusteringKey = new List(this.SchemaDefinition_ClusteringKey); } if (this.SchemaDefinition_PartitionKey != null) { context.SchemaDefinition_PartitionKey = new List(this.SchemaDefinition_PartitionKey); } #if MODULAR if (this.SchemaDefinition_PartitionKey == null && ParameterWasBound(nameof(this.SchemaDefinition_PartitionKey))) { WriteWarning("You are passing $null as a value for parameter SchemaDefinition_PartitionKey which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif if (this.SchemaDefinition_StaticColumn != null) { context.SchemaDefinition_StaticColumn = new List(this.SchemaDefinition_StaticColumn); } context.TableName = this.TableName; #if MODULAR if (this.TableName == null && ParameterWasBound(nameof(this.TableName))) { WriteWarning("You are passing $null as a value for parameter TableName which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif if (this.Tag != null) { context.Tag = new List(this.Tag); } context.Ttl_Status = this.Ttl_Status; // allow further manipulation of loaded context prior to processing PostExecutionContextLoad(context); var output = Execute(context) as CmdletOutput; ProcessOutput(output); } #region IExecutor Members public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; // create request var request = new Amazon.Keyspaces.Model.CreateTableRequest(); // populate CapacitySpecification var requestCapacitySpecificationIsNull = true; request.CapacitySpecification = new Amazon.Keyspaces.Model.CapacitySpecification(); System.Int64? requestCapacitySpecification_capacitySpecification_ReadCapacityUnit = null; if (cmdletContext.CapacitySpecification_ReadCapacityUnit != null) { requestCapacitySpecification_capacitySpecification_ReadCapacityUnit = cmdletContext.CapacitySpecification_ReadCapacityUnit.Value; } if (requestCapacitySpecification_capacitySpecification_ReadCapacityUnit != null) { request.CapacitySpecification.ReadCapacityUnits = requestCapacitySpecification_capacitySpecification_ReadCapacityUnit.Value; requestCapacitySpecificationIsNull = false; } Amazon.Keyspaces.ThroughputMode requestCapacitySpecification_capacitySpecification_ThroughputMode = null; if (cmdletContext.CapacitySpecification_ThroughputMode != null) { requestCapacitySpecification_capacitySpecification_ThroughputMode = cmdletContext.CapacitySpecification_ThroughputMode; } if (requestCapacitySpecification_capacitySpecification_ThroughputMode != null) { request.CapacitySpecification.ThroughputMode = requestCapacitySpecification_capacitySpecification_ThroughputMode; requestCapacitySpecificationIsNull = false; } System.Int64? requestCapacitySpecification_capacitySpecification_WriteCapacityUnit = null; if (cmdletContext.CapacitySpecification_WriteCapacityUnit != null) { requestCapacitySpecification_capacitySpecification_WriteCapacityUnit = cmdletContext.CapacitySpecification_WriteCapacityUnit.Value; } if (requestCapacitySpecification_capacitySpecification_WriteCapacityUnit != null) { request.CapacitySpecification.WriteCapacityUnits = requestCapacitySpecification_capacitySpecification_WriteCapacityUnit.Value; requestCapacitySpecificationIsNull = false; } // determine if request.CapacitySpecification should be set to null if (requestCapacitySpecificationIsNull) { request.CapacitySpecification = null; } // populate ClientSideTimestamps var requestClientSideTimestampsIsNull = true; request.ClientSideTimestamps = new Amazon.Keyspaces.Model.ClientSideTimestamps(); Amazon.Keyspaces.ClientSideTimestampsStatus requestClientSideTimestamps_clientSideTimestamps_Status = null; if (cmdletContext.ClientSideTimestamps_Status != null) { requestClientSideTimestamps_clientSideTimestamps_Status = cmdletContext.ClientSideTimestamps_Status; } if (requestClientSideTimestamps_clientSideTimestamps_Status != null) { request.ClientSideTimestamps.Status = requestClientSideTimestamps_clientSideTimestamps_Status; requestClientSideTimestampsIsNull = false; } // determine if request.ClientSideTimestamps should be set to null if (requestClientSideTimestampsIsNull) { request.ClientSideTimestamps = null; } // populate Comment var requestCommentIsNull = true; request.Comment = new Amazon.Keyspaces.Model.Comment(); System.String requestComment_comment_Message = null; if (cmdletContext.Comment_Message != null) { requestComment_comment_Message = cmdletContext.Comment_Message; } if (requestComment_comment_Message != null) { request.Comment.Message = requestComment_comment_Message; requestCommentIsNull = false; } // determine if request.Comment should be set to null if (requestCommentIsNull) { request.Comment = null; } if (cmdletContext.DefaultTimeToLive != null) { request.DefaultTimeToLive = cmdletContext.DefaultTimeToLive.Value; } // populate EncryptionSpecification var requestEncryptionSpecificationIsNull = true; request.EncryptionSpecification = new Amazon.Keyspaces.Model.EncryptionSpecification(); System.String requestEncryptionSpecification_encryptionSpecification_KmsKeyIdentifier = null; if (cmdletContext.EncryptionSpecification_KmsKeyIdentifier != null) { requestEncryptionSpecification_encryptionSpecification_KmsKeyIdentifier = cmdletContext.EncryptionSpecification_KmsKeyIdentifier; } if (requestEncryptionSpecification_encryptionSpecification_KmsKeyIdentifier != null) { request.EncryptionSpecification.KmsKeyIdentifier = requestEncryptionSpecification_encryptionSpecification_KmsKeyIdentifier; requestEncryptionSpecificationIsNull = false; } Amazon.Keyspaces.EncryptionType requestEncryptionSpecification_encryptionSpecification_Type = null; if (cmdletContext.EncryptionSpecification_Type != null) { requestEncryptionSpecification_encryptionSpecification_Type = cmdletContext.EncryptionSpecification_Type; } if (requestEncryptionSpecification_encryptionSpecification_Type != null) { request.EncryptionSpecification.Type = requestEncryptionSpecification_encryptionSpecification_Type; requestEncryptionSpecificationIsNull = false; } // determine if request.EncryptionSpecification should be set to null if (requestEncryptionSpecificationIsNull) { request.EncryptionSpecification = null; } if (cmdletContext.KeyspaceName != null) { request.KeyspaceName = cmdletContext.KeyspaceName; } // populate PointInTimeRecovery var requestPointInTimeRecoveryIsNull = true; request.PointInTimeRecovery = new Amazon.Keyspaces.Model.PointInTimeRecovery(); Amazon.Keyspaces.PointInTimeRecoveryStatus requestPointInTimeRecovery_pointInTimeRecovery_Status = null; if (cmdletContext.PointInTimeRecovery_Status != null) { requestPointInTimeRecovery_pointInTimeRecovery_Status = cmdletContext.PointInTimeRecovery_Status; } if (requestPointInTimeRecovery_pointInTimeRecovery_Status != null) { request.PointInTimeRecovery.Status = requestPointInTimeRecovery_pointInTimeRecovery_Status; requestPointInTimeRecoveryIsNull = false; } // determine if request.PointInTimeRecovery should be set to null if (requestPointInTimeRecoveryIsNull) { request.PointInTimeRecovery = null; } // populate SchemaDefinition var requestSchemaDefinitionIsNull = true; request.SchemaDefinition = new Amazon.Keyspaces.Model.SchemaDefinition(); List requestSchemaDefinition_schemaDefinition_AllColumn = null; if (cmdletContext.SchemaDefinition_AllColumn != null) { requestSchemaDefinition_schemaDefinition_AllColumn = cmdletContext.SchemaDefinition_AllColumn; } if (requestSchemaDefinition_schemaDefinition_AllColumn != null) { request.SchemaDefinition.AllColumns = requestSchemaDefinition_schemaDefinition_AllColumn; requestSchemaDefinitionIsNull = false; } List requestSchemaDefinition_schemaDefinition_ClusteringKey = null; if (cmdletContext.SchemaDefinition_ClusteringKey != null) { requestSchemaDefinition_schemaDefinition_ClusteringKey = cmdletContext.SchemaDefinition_ClusteringKey; } if (requestSchemaDefinition_schemaDefinition_ClusteringKey != null) { request.SchemaDefinition.ClusteringKeys = requestSchemaDefinition_schemaDefinition_ClusteringKey; requestSchemaDefinitionIsNull = false; } List requestSchemaDefinition_schemaDefinition_PartitionKey = null; if (cmdletContext.SchemaDefinition_PartitionKey != null) { requestSchemaDefinition_schemaDefinition_PartitionKey = cmdletContext.SchemaDefinition_PartitionKey; } if (requestSchemaDefinition_schemaDefinition_PartitionKey != null) { request.SchemaDefinition.PartitionKeys = requestSchemaDefinition_schemaDefinition_PartitionKey; requestSchemaDefinitionIsNull = false; } List requestSchemaDefinition_schemaDefinition_StaticColumn = null; if (cmdletContext.SchemaDefinition_StaticColumn != null) { requestSchemaDefinition_schemaDefinition_StaticColumn = cmdletContext.SchemaDefinition_StaticColumn; } if (requestSchemaDefinition_schemaDefinition_StaticColumn != null) { request.SchemaDefinition.StaticColumns = requestSchemaDefinition_schemaDefinition_StaticColumn; requestSchemaDefinitionIsNull = false; } // determine if request.SchemaDefinition should be set to null if (requestSchemaDefinitionIsNull) { request.SchemaDefinition = null; } if (cmdletContext.TableName != null) { request.TableName = cmdletContext.TableName; } if (cmdletContext.Tag != null) { request.Tags = cmdletContext.Tag; } // populate Ttl var requestTtlIsNull = true; request.Ttl = new Amazon.Keyspaces.Model.TimeToLive(); Amazon.Keyspaces.TimeToLiveStatus requestTtl_ttl_Status = null; if (cmdletContext.Ttl_Status != null) { requestTtl_ttl_Status = cmdletContext.Ttl_Status; } if (requestTtl_ttl_Status != null) { request.Ttl.Status = requestTtl_ttl_Status; requestTtlIsNull = false; } // determine if request.Ttl should be set to null if (requestTtlIsNull) { request.Ttl = null; } CmdletOutput output; // issue call var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; pipelineOutput = cmdletContext.Select(response, this); output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; } catch (Exception e) { output = new CmdletOutput { ErrorResponse = e }; } return output; } public ExecutorContext CreateContext() { return new CmdletContext(); } #endregion #region AWS Service Operation Call private Amazon.Keyspaces.Model.CreateTableResponse CallAWSServiceOperation(IAmazonKeyspaces client, Amazon.Keyspaces.Model.CreateTableRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Keyspaces", "CreateTable"); try { #if DESKTOP return client.CreateTable(request); #elif CORECLR return client.CreateTableAsync(request).GetAwaiter().GetResult(); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } } #endregion internal partial class CmdletContext : ExecutorContext { public System.Int64? CapacitySpecification_ReadCapacityUnit { get; set; } public Amazon.Keyspaces.ThroughputMode CapacitySpecification_ThroughputMode { get; set; } public System.Int64? CapacitySpecification_WriteCapacityUnit { get; set; } public Amazon.Keyspaces.ClientSideTimestampsStatus ClientSideTimestamps_Status { get; set; } public System.String Comment_Message { get; set; } public System.Int32? DefaultTimeToLive { get; set; } public System.String EncryptionSpecification_KmsKeyIdentifier { get; set; } public Amazon.Keyspaces.EncryptionType EncryptionSpecification_Type { get; set; } public System.String KeyspaceName { get; set; } public Amazon.Keyspaces.PointInTimeRecoveryStatus PointInTimeRecovery_Status { get; set; } public List SchemaDefinition_AllColumn { get; set; } public List SchemaDefinition_ClusteringKey { get; set; } public List SchemaDefinition_PartitionKey { get; set; } public List SchemaDefinition_StaticColumn { get; set; } public System.String TableName { get; set; } public List Tag { get; set; } public Amazon.Keyspaces.TimeToLiveStatus Ttl_Status { get; set; } public System.Func Select { get; set; } = (response, cmdlet) => response.ResourceArn; } } }