repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the GetTableMetadata operation. /// Returns table metadata for the specified catalog, database, and table. /// </summary> public partial class GetTableMetadataRequest : AmazonAthenaRequest { private string _catalogName; private string _databaseName; private string _tableName; /// <summary> /// Gets and sets the property CatalogName. /// <para> /// The name of the data catalog that contains the database and table metadata to return. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string CatalogName { get { return this._catalogName; } set { this._catalogName = value; } } // Check to see if CatalogName property is set internal bool IsSetCatalogName() { return this._catalogName != null; } /// <summary> /// Gets and sets the property DatabaseName. /// <para> /// The name of the database that contains the table metadata to return. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string DatabaseName { get { return this._databaseName; } set { this._databaseName = value; } } // Check to see if DatabaseName property is set internal bool IsSetDatabaseName() { return this._databaseName != null; } /// <summary> /// Gets and sets the property TableName. /// <para> /// The name of the table for which metadata is returned. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] 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; } } }
99
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the GetTableMetadata operation. /// </summary> public partial class GetTableMetadataResponse : AmazonWebServiceResponse { private TableMetadata _tableMetadata; /// <summary> /// Gets and sets the property TableMetadata. /// <para> /// An object that contains table metadata. /// </para> /// </summary> public TableMetadata TableMetadata { get { return this._tableMetadata; } set { this._tableMetadata = value; } } // Check to see if TableMetadata property is set internal bool IsSetTableMetadata() { return this._tableMetadata != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the GetWorkGroup operation. /// Returns information about the workgroup with the specified name. /// </summary> public partial class GetWorkGroupRequest : AmazonAthenaRequest { private string _workGroup; /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup. /// </para> /// </summary> [AWSProperty(Required=true)] public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the GetWorkGroup operation. /// </summary> public partial class GetWorkGroupResponse : AmazonWebServiceResponse { private WorkGroup _workGroup; /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// Information about the workgroup. /// </para> /// </summary> public WorkGroup WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ImportNotebook operation. /// Imports a single <code>ipynb</code> file to a Spark enabled workgroup. The maximum /// file size that can be imported is 10 megabytes. If an <code>ipynb</code> file with /// the same name already exists in the workgroup, throws an error. /// </summary> public partial class ImportNotebookRequest : AmazonAthenaRequest { private string _clientRequestToken; private string _name; private string _payload; private NotebookType _type; private string _workGroup; /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// A unique case-sensitive string used to ensure the request to import the notebook is /// idempotent (executes only once). /// </para> /// <important> /// <para> /// This token is listed as not required because Amazon Web Services SDKs (for example /// the Amazon Web Services SDK for Java) auto-generate the token for you. If you are /// not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide /// this token or the action will fail. /// </para> /// </important> /// </summary> [AWSProperty(Min=1, Max=36)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the notebook to import. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Payload. /// <para> /// The notebook content to be imported. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=10485760)] public string Payload { get { return this._payload; } set { this._payload = value; } } // Check to see if Payload property is set internal bool IsSetPayload() { return this._payload != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The notebook content type. Currently, the only valid type is <code>IPYNB</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public NotebookType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the Spark enabled workgroup to import the notebook to. /// </para> /// </summary> [AWSProperty(Required=true)] public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
150
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ImportNotebook operation. /// </summary> public partial class ImportNotebookResponse : AmazonWebServiceResponse { private string _notebookId; /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The ID assigned to the imported notebook. /// </para> /// </summary> [AWSProperty(Min=1, Max=36)] public string NotebookId { get { return this._notebookId; } set { this._notebookId = value; } } // Check to see if NotebookId property is set internal bool IsSetNotebookId() { return this._notebookId != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Indicates a platform issue, which may be due to a transient condition or outage. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InternalServerException : AmazonAthenaException { /// <summary> /// Constructs a new InternalServerException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InternalServerException(string message) : base(message) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InternalServerException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="innerException"></param> public InternalServerException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InternalServerException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InternalServerException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InternalServerException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InternalServerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidRequestException : AmazonAthenaException { private string _athenaErrorCode; /// <summary> /// Constructs a new InvalidRequestException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidRequestException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidRequestException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="innerException"></param> public InvalidRequestException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InvalidRequestException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InvalidRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.AthenaErrorCode = (string)info.GetValue("AthenaErrorCode", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("AthenaErrorCode", this.AthenaErrorCode); } #endif /// <summary> /// Gets and sets the property AthenaErrorCode. /// </summary> [AWSProperty(Min=1, Max=256)] public string AthenaErrorCode { get { return this._athenaErrorCode; } set { this._athenaErrorCode = value; } } // Check to see if AthenaErrorCode property is set internal bool IsSetAthenaErrorCode() { return this._athenaErrorCode != null; } } }
144
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListApplicationDPUSizes operation. /// Returns the supported DPU sizes for the supported application runtimes (for example, /// <code>Athena notebook version 1</code>). /// </summary> public partial class ListApplicationDPUSizesRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Specifies the maximum number of results to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListApplicationDPUSizes operation. /// </summary> public partial class ListApplicationDPUSizesResponse : AmazonWebServiceResponse { private List<ApplicationDPUSizes> _applicationDPUSizes = new List<ApplicationDPUSizes>(); private string _nextToken; /// <summary> /// Gets and sets the property ApplicationDPUSizes. /// <para> /// A list of the supported DPU sizes that the application runtime supports. /// </para> /// </summary> public List<ApplicationDPUSizes> ApplicationDPUSizes { get { return this._applicationDPUSizes; } set { this._applicationDPUSizes = value; } } // Check to see if ApplicationDPUSizes property is set internal bool IsSetApplicationDPUSizes() { return this._applicationDPUSizes != null && this._applicationDPUSizes.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListCalculationExecutions operation. /// Lists the calculations that have been submitted to a session in descending order. /// Newer calculations are listed first; older calculations are listed later. /// </summary> public partial class ListCalculationExecutionsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _sessionId; private CalculationExecutionState _stateFilter; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of calculation executions to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } /// <summary> /// Gets and sets the property StateFilter. /// <para> /// A filter for a specific calculation execution state. A description of each state follows. /// </para> /// /// <para> /// <code>CREATING</code> - The calculation is in the process of being created. /// </para> /// /// <para> /// <code>CREATED</code> - The calculation has been created and is ready to run. /// </para> /// /// <para> /// <code>QUEUED</code> - The calculation has been queued for processing. /// </para> /// /// <para> /// <code>RUNNING</code> - The calculation is running. /// </para> /// /// <para> /// <code>CANCELING</code> - A request to cancel the calculation has been received and /// the system is working to stop it. /// </para> /// /// <para> /// <code>CANCELED</code> - The calculation is no longer running as the result of a cancel /// request. /// </para> /// /// <para> /// <code>COMPLETED</code> - The calculation has completed without error. /// </para> /// /// <para> /// <code>FAILED</code> - The calculation failed and is no longer running. /// </para> /// </summary> public CalculationExecutionState StateFilter { get { return this._stateFilter; } set { this._stateFilter = value; } } // Check to see if StateFilter property is set internal bool IsSetStateFilter() { return this._stateFilter != null; } } }
155
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListCalculationExecutions operation. /// </summary> public partial class ListCalculationExecutionsResponse : AmazonWebServiceResponse { private List<CalculationSummary> _calculations = new List<CalculationSummary>(); private string _nextToken; /// <summary> /// Gets and sets the property Calculations. /// <para> /// A list of <a>CalculationSummary</a> objects. /// </para> /// </summary> [AWSProperty(Min=0, Max=100)] public List<CalculationSummary> Calculations { get { return this._calculations; } set { this._calculations = value; } } // Check to see if Calculations property is set internal bool IsSetCalculations() { return this._calculations != null && this._calculations.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListCapacityReservations operation. /// Lists the capacity reservations for the current account. /// </summary> public partial class ListCapacityReservationsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Specifies the maximum number of results to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListCapacityReservations operation. /// </summary> public partial class ListCapacityReservationsResponse : AmazonWebServiceResponse { private List<CapacityReservation> _capacityReservations = new List<CapacityReservation>(); private string _nextToken; /// <summary> /// Gets and sets the property CapacityReservations. /// <para> /// The capacity reservations for the current account. /// </para> /// </summary> [AWSProperty(Required=true)] public List<CapacityReservation> CapacityReservations { get { return this._capacityReservations; } set { this._capacityReservations = value; } } // Check to see if CapacityReservations property is set internal bool IsSetCapacityReservations() { return this._capacityReservations != null && this._capacityReservations.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// NextToken from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListDatabases operation. /// Lists the databases in the specified data catalog. /// </summary> public partial class ListDatabasesRequest : AmazonAthenaRequest { private string _catalogName; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property CatalogName. /// <para> /// The name of the data catalog that contains the databases to return. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string CatalogName { get { return this._catalogName; } set { this._catalogName = value; } } // Check to see if CatalogName property is set internal bool IsSetCatalogName() { return this._catalogName != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Specifies the maximum number of results to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
101
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListDatabases operation. /// </summary> public partial class ListDatabasesResponse : AmazonWebServiceResponse { private List<Database> _databaseList = new List<Database>(); private string _nextToken; /// <summary> /// Gets and sets the property DatabaseList. /// <para> /// A list of databases from a data catalog. /// </para> /// </summary> public List<Database> DatabaseList { get { return this._databaseList; } set { this._databaseList = value; } } // Check to see if DatabaseList property is set internal bool IsSetDatabaseList() { return this._databaseList != null && this._databaseList.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// NextToken from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListDataCatalogs operation. /// Lists the data catalogs in the current Amazon Web Services account. /// /// <note> /// <para> /// In the Athena console, data catalogs are listed as "data sources" on the <b>Data sources</b> /// page under the <b>Data source name</b> column. /// </para> /// </note> /// </summary> public partial class ListDataCatalogsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Specifies the maximum number of data catalogs to return. /// </para> /// </summary> [AWSProperty(Min=2, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// NextToken from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
88
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListDataCatalogs operation. /// </summary> public partial class ListDataCatalogsResponse : AmazonWebServiceResponse { private List<DataCatalogSummary> _dataCatalogsSummary = new List<DataCatalogSummary>(); private string _nextToken; /// <summary> /// Gets and sets the property DataCatalogsSummary. /// <para> /// A summary list of data catalogs. /// </para> /// </summary> public List<DataCatalogSummary> DataCatalogsSummary { get { return this._dataCatalogsSummary; } set { this._dataCatalogsSummary = value; } } // Check to see if DataCatalogsSummary property is set internal bool IsSetDataCatalogsSummary() { return this._dataCatalogsSummary != null && this._dataCatalogsSummary.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// NextToken from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListEngineVersions operation. /// Returns a list of engine versions that are available to choose from, including the /// Auto option. /// </summary> public partial class ListEngineVersionsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of engine versions to return in this request. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
82
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListEngineVersions operation. /// </summary> public partial class ListEngineVersionsResponse : AmazonWebServiceResponse { private List<EngineVersion> _engineVersions = new List<EngineVersion>(); private string _nextToken; /// <summary> /// Gets and sets the property EngineVersions. /// <para> /// A list of engine versions that are available to choose from. /// </para> /// </summary> [AWSProperty(Min=0, Max=10)] public List<EngineVersion> EngineVersions { get { return this._engineVersions; } set { this._engineVersions = value; } } // Check to see if EngineVersions property is set internal bool IsSetEngineVersions() { return this._engineVersions != null && this._engineVersions.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListExecutors operation. /// Lists, in descending order, the executors that joined a session. Newer executors are /// listed first; older executors are listed later. The result can be optionally filtered /// by state. /// </summary> public partial class ListExecutorsRequest : AmazonAthenaRequest { private ExecutorState _executorStateFilter; private int? _maxResults; private string _nextToken; private string _sessionId; /// <summary> /// Gets and sets the property ExecutorStateFilter. /// <para> /// A filter for a specific executor state. A description of each state follows. /// </para> /// /// <para> /// <code>CREATING</code> - The executor is being started, including acquiring resources. /// </para> /// /// <para> /// <code>CREATED</code> - The executor has been started. /// </para> /// /// <para> /// <code>REGISTERED</code> - The executor has been registered. /// </para> /// /// <para> /// <code>TERMINATING</code> - The executor is in the process of shutting down. /// </para> /// /// <para> /// <code>TERMINATED</code> - The executor is no longer running. /// </para> /// /// <para> /// <code>FAILED</code> - Due to a failure, the executor is no longer running. /// </para> /// </summary> public ExecutorState ExecutorStateFilter { get { return this._executorStateFilter; } set { this._executorStateFilter = value; } } // Check to see if ExecutorStateFilter property is set internal bool IsSetExecutorStateFilter() { return this._executorStateFilter != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of executors to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } } }
146
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListExecutors operation. /// </summary> public partial class ListExecutorsResponse : AmazonWebServiceResponse { private List<ExecutorsSummary> _executorsSummary = new List<ExecutorsSummary>(); private string _nextToken; private string _sessionId; /// <summary> /// Gets and sets the property ExecutorsSummary. /// <para> /// Contains summary information about the executor. /// </para> /// </summary> public List<ExecutorsSummary> ExecutorsSummary { get { return this._executorsSummary; } set { this._executorsSummary = value; } } // Check to see if ExecutorsSummary property is set internal bool IsSetExecutorsSummary() { return this._executorsSummary != null && this._executorsSummary.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } } }
99
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListNamedQueries operation. /// Provides a list of available query IDs only for queries saved in the specified workgroup. /// Requires that you have access to the specified workgroup. If a workgroup is not specified, /// lists the saved queries for the primary workgroup. /// /// /// <para> /// For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples /// and Code Samples</a> in the <i>Amazon Athena User Guide</i>. /// </para> /// </summary> public partial class ListNamedQueriesRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _workGroup; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of queries to return in this request. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup from which the named queries are being returned. If a workgroup /// is not specified, the saved queries for the primary workgroup are returned. /// </para> /// </summary> public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
109
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListNamedQueries operation. /// </summary> public partial class ListNamedQueriesResponse : AmazonWebServiceResponse { private List<string> _namedQueryIds = new List<string>(); private string _nextToken; /// <summary> /// Gets and sets the property NamedQueryIds. /// <para> /// The list of unique query IDs. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public List<string> NamedQueryIds { get { return this._namedQueryIds; } set { this._namedQueryIds = value; } } // Check to see if NamedQueryIds property is set internal bool IsSetNamedQueryIds() { return this._namedQueryIds != null && this._namedQueryIds.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListNotebookMetadata operation. /// Displays the notebook files for the specified workgroup in paginated format. /// </summary> public partial class ListNotebookMetadataRequest : AmazonAthenaRequest { private FilterDefinition _filters; private int? _maxResults; private string _nextToken; private string _workGroup; /// <summary> /// Gets and sets the property Filters. /// <para> /// Search filter string. /// </para> /// </summary> public FilterDefinition Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Specifies the maximum number of results to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the Spark enabled workgroup to retrieve notebook metadata for. /// </para> /// </summary> [AWSProperty(Required=true)] public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
119
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListNotebookMetadata operation. /// </summary> public partial class ListNotebookMetadataResponse : AmazonWebServiceResponse { private string _nextToken; private List<NotebookMetadata> _notebookMetadataList = new List<NotebookMetadata>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property NotebookMetadataList. /// <para> /// The list of notebook metadata for the specified workgroup. /// </para> /// </summary> public List<NotebookMetadata> NotebookMetadataList { get { return this._notebookMetadataList; } set { this._notebookMetadataList = value; } } // Check to see if NotebookMetadataList property is set internal bool IsSetNotebookMetadataList() { return this._notebookMetadataList != null && this._notebookMetadataList.Count > 0; } } }
79
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListNotebookSessions operation. /// Lists, in descending order, the sessions that have been created in a notebook that /// are in an active state like <code>CREATING</code>, <code>CREATED</code>, <code>IDLE</code> /// or <code>BUSY</code>. Newer sessions are listed first; older sessions are listed later. /// </summary> public partial class ListNotebookSessionsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _notebookId; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of notebook sessions to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The ID of the notebook to list sessions for. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=36)] public string NotebookId { get { return this._notebookId; } set { this._notebookId = value; } } // Check to see if NotebookId property is set internal bool IsSetNotebookId() { return this._notebookId != null; } } }
103
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListNotebookSessions operation. /// </summary> public partial class ListNotebookSessionsResponse : AmazonWebServiceResponse { private string _nextToken; private List<NotebookSessionSummary> _notebookSessionsList = new List<NotebookSessionSummary>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property NotebookSessionsList. /// <para> /// A list of the sessions belonging to the notebook. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=10)] public List<NotebookSessionSummary> NotebookSessionsList { get { return this._notebookSessionsList; } set { this._notebookSessionsList = value; } } // Check to see if NotebookSessionsList property is set internal bool IsSetNotebookSessionsList() { return this._notebookSessionsList != null && this._notebookSessionsList.Count > 0; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListPreparedStatements operation. /// Lists the prepared statements in the specified workgroup. /// </summary> public partial class ListPreparedStatementsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _workGroup; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of results to return in this request. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The workgroup to list the prepared statements for. /// </para> /// </summary> [AWSProperty(Required=true)] public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
101
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListPreparedStatements operation. /// </summary> public partial class ListPreparedStatementsResponse : AmazonWebServiceResponse { private string _nextToken; private List<PreparedStatementSummary> _preparedStatements = new List<PreparedStatementSummary>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property PreparedStatements. /// <para> /// The list of prepared statements for the workgroup. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public List<PreparedStatementSummary> PreparedStatements { get { return this._preparedStatements; } set { this._preparedStatements = value; } } // Check to see if PreparedStatements property is set internal bool IsSetPreparedStatements() { return this._preparedStatements != null && this._preparedStatements.Count > 0; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListQueryExecutions operation. /// Provides a list of available query execution IDs for the queries in the specified /// workgroup. If a workgroup is not specified, returns a list of query execution IDs /// for the primary workgroup. Requires you to have access to the workgroup in which the /// queries ran. /// /// /// <para> /// For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples /// and Code Samples</a> in the <i>Amazon Athena User Guide</i>. /// </para> /// </summary> public partial class ListQueryExecutionsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _workGroup; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of query executions to return in this request. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup from which queries are being returned. If a workgroup is /// not specified, a list of available query execution IDs for the queries in the primary /// workgroup is returned. /// </para> /// </summary> public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
111
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListQueryExecutions operation. /// </summary> public partial class ListQueryExecutionsResponse : AmazonWebServiceResponse { private string _nextToken; private List<string> _queryExecutionIds = new List<string>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token to be used by the next request if this request is truncated. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property QueryExecutionIds. /// <para> /// The unique IDs of each query execution as an array of strings. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public List<string> QueryExecutionIds { get { return this._queryExecutionIds; } set { this._queryExecutionIds = value; } } // Check to see if QueryExecutionIds property is set internal bool IsSetQueryExecutionIds() { return this._queryExecutionIds != null && this._queryExecutionIds.Count > 0; } } }
78
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListSessions operation. /// Lists the sessions in a workgroup that are in an active state like <code>CREATING</code>, /// <code>CREATED</code>, <code>IDLE</code>, or <code>BUSY</code>. Newer sessions are /// listed first; older sessions are listed later. /// </summary> public partial class ListSessionsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private SessionState _stateFilter; private string _workGroup; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of sessions to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property StateFilter. /// <para> /// A filter for a specific session state. A description of each state follows. /// </para> /// /// <para> /// <code>CREATING</code> - The session is being started, including acquiring resources. /// </para> /// /// <para> /// <code>CREATED</code> - The session has been started. /// </para> /// /// <para> /// <code>IDLE</code> - The session is able to accept a calculation. /// </para> /// /// <para> /// <code>BUSY</code> - The session is processing another task and is unable to accept /// a calculation. /// </para> /// /// <para> /// <code>TERMINATING</code> - The session is in the process of shutting down. /// </para> /// /// <para> /// <code>TERMINATED</code> - The session and its resources are no longer running. /// </para> /// /// <para> /// <code>DEGRADED</code> - The session has no healthy coordinators. /// </para> /// /// <para> /// <code>FAILED</code> - Due to a failure, the session and its resources are no longer /// running. /// </para> /// </summary> public SessionState StateFilter { get { return this._stateFilter; } set { this._stateFilter = value; } } // Check to see if StateFilter property is set internal bool IsSetStateFilter() { return this._stateFilter != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The workgroup to which the session belongs. /// </para> /// </summary> [AWSProperty(Required=true)] public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
156
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListSessions operation. /// </summary> public partial class ListSessionsResponse : AmazonWebServiceResponse { private string _nextToken; private List<SessionSummary> _sessions = new List<SessionSummary>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property Sessions. /// <para> /// A list of sessions. /// </para> /// </summary> [AWSProperty(Min=0, Max=100)] public List<SessionSummary> Sessions { get { return this._sessions; } set { this._sessions = value; } } // Check to see if Sessions property is set internal bool IsSetSessions() { return this._sessions != null && this._sessions.Count > 0; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListTableMetadata operation. /// Lists the metadata for the tables in the specified data catalog database. /// </summary> public partial class ListTableMetadataRequest : AmazonAthenaRequest { private string _catalogName; private string _databaseName; private string _expression; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property CatalogName. /// <para> /// The name of the data catalog for which table metadata should be returned. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string CatalogName { get { return this._catalogName; } set { this._catalogName = value; } } // Check to see if CatalogName property is set internal bool IsSetCatalogName() { return this._catalogName != null; } /// <summary> /// Gets and sets the property DatabaseName. /// <para> /// The name of the database for which table metadata should be returned. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string DatabaseName { get { return this._databaseName; } set { this._databaseName = value; } } // Check to see if DatabaseName property is set internal bool IsSetDatabaseName() { return this._databaseName != null; } /// <summary> /// Gets and sets the property Expression. /// <para> /// A regex filter that pattern-matches table names. If no expression is supplied, metadata /// for all tables are listed. /// </para> /// </summary> [AWSProperty(Min=0, Max=256)] public string Expression { get { return this._expression; } set { this._expression = value; } } // Check to see if Expression property is set internal bool IsSetExpression() { return this._expression != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Specifies the maximum number of results to return. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// NextToken from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
142
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListTableMetadata operation. /// </summary> public partial class ListTableMetadataResponse : AmazonWebServiceResponse { private string _nextToken; private List<TableMetadata> _tableMetadataList = new List<TableMetadata>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// NextToken from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property TableMetadataList. /// <para> /// A list of table metadata. /// </para> /// </summary> public List<TableMetadata> TableMetadataList { get { return this._tableMetadataList; } set { this._tableMetadataList = value; } } // Check to see if TableMetadataList property is set internal bool IsSetTableMetadataList() { return this._tableMetadataList != null && this._tableMetadataList.Count > 0; } } }
79
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListTagsForResource operation. /// Lists the tags associated with an Athena resource. /// </summary> public partial class ListTagsForResourceRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _resourceARN; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of results to be returned per request that lists the tags for the /// resource. /// </para> /// </summary> [AWSProperty(Min=75)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token for the next set of results, or null if there are no additional results /// for this request, where the request lists the tags for the resource with the specified /// ARN. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property ResourceARN. /// <para> /// Lists the tags for the resource with the specified ARN. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string ResourceARN { get { return this._resourceARN; } set { this._resourceARN = value; } } // Check to see if ResourceARN property is set internal bool IsSetResourceARN() { return this._resourceARN != null; } } }
102
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListTagsForResource operation. /// </summary> public partial class ListTagsForResourceResponse : AmazonWebServiceResponse { private string _nextToken; private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token to be used by the next request if this request is truncated. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The list of tags associated with the specified resource. /// </para> /// </summary> public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
77
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the ListWorkGroups operation. /// Lists available workgroups for the account. /// </summary> public partial class ListWorkGroupsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of workgroups to return in this request. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the ListWorkGroups operation. /// </summary> public partial class ListWorkGroupsResponse : AmazonWebServiceResponse { private string _nextToken; private List<WorkGroupSummary> _workGroups = new List<WorkGroupSummary>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token generated by the Athena service that specifies where to continue pagination /// if a previous request was truncated. To obtain the next set of pages, pass in the /// <code>NextToken</code> from the response object of the previous page call. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property WorkGroups. /// <para> /// A list of <a>WorkGroupSummary</a> objects that include the names, descriptions, creation /// times, and states for each workgroup. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public List<WorkGroupSummary> WorkGroups { get { return this._workGroups; } set { this._workGroups = value; } } // Check to see if WorkGroups property is set internal bool IsSetWorkGroups() { return this._workGroups != null && this._workGroups.Count > 0; } } }
81
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// An exception that Athena received when it called a custom metastore. Occurs if the /// error is not caused by user input (<code>InvalidRequestException</code>) or from the /// Athena platform (<code>InternalServerException</code>). For example, if a user-created /// Lambda function is missing permissions, the Lambda <code>4XX</code> exception is returned /// in a <code>MetadataException</code>. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class MetadataException : AmazonAthenaException { /// <summary> /// Constructs a new MetadataException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public MetadataException(string message) : base(message) {} /// <summary> /// Construct instance of MetadataException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public MetadataException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of MetadataException /// </summary> /// <param name="innerException"></param> public MetadataException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of MetadataException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public MetadataException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of MetadataException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public MetadataException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the MetadataException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected MetadataException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
128
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// A query, where <code>QueryString</code> contains the SQL statements that make up the /// query. /// </summary> public partial class NamedQuery { private string _database; private string _description; private string _name; private string _namedQueryId; private string _queryString; private string _workGroup; /// <summary> /// Gets and sets the property Database. /// <para> /// The database to which the query belongs. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string Database { get { return this._database; } set { this._database = value; } } // Check to see if Database property is set internal bool IsSetDatabase() { return this._database != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The query description. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The query name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property NamedQueryId. /// <para> /// The unique identifier of the query. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string NamedQueryId { get { return this._namedQueryId; } set { this._namedQueryId = value; } } // Check to see if NamedQueryId property is set internal bool IsSetNamedQueryId() { return this._namedQueryId != null; } /// <summary> /// Gets and sets the property QueryString. /// <para> /// The SQL statements that make up the query. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=262144)] public string QueryString { get { return this._queryString; } set { this._queryString = value; } } // Check to see if QueryString property is set internal bool IsSetQueryString() { return this._queryString != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup that contains the named query. /// </para> /// </summary> public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
158
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains metadata for notebook, including the notebook name, ID, workgroup, and time /// created. /// </summary> public partial class NotebookMetadata { private DateTime? _creationTime; private DateTime? _lastModifiedTime; private string _name; private string _notebookId; private NotebookType _type; private string _workGroup; /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The time when the notebook was created. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The time when the notebook was last modified. /// </para> /// </summary> public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the notebook. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The notebook ID. /// </para> /// </summary> [AWSProperty(Min=1, Max=36)] public string NotebookId { get { return this._notebookId; } set { this._notebookId = value; } } // Check to see if NotebookId property is set internal bool IsSetNotebookId() { return this._notebookId != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The type of notebook. Currently, the only valid type is <code>IPYNB</code>. /// </para> /// </summary> public NotebookType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the Spark enabled workgroup to which the notebook belongs. /// </para> /// </summary> public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
155
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains the notebook session ID and notebook session creation time. /// </summary> public partial class NotebookSessionSummary { private DateTime? _creationTime; private string _sessionId; /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The time when the notebook session was created. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The notebook session ID. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } } }
77
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// A prepared SQL statement for use with Athena. /// </summary> public partial class PreparedStatement { private string _description; private DateTime? _lastModifiedTime; private string _queryStatement; private string _statementName; private string _workGroupName; /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the prepared statement. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The last modified time of the prepared statement. /// </para> /// </summary> public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property QueryStatement. /// <para> /// The query string for the prepared statement. /// </para> /// </summary> [AWSProperty(Min=1, Max=262144)] public string QueryStatement { get { return this._queryStatement; } set { this._queryStatement = value; } } // Check to see if QueryStatement property is set internal bool IsSetQueryStatement() { return this._queryStatement != null; } /// <summary> /// Gets and sets the property StatementName. /// <para> /// The name of the prepared statement. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string StatementName { get { return this._statementName; } set { this._statementName = value; } } // Check to see if StatementName property is set internal bool IsSetStatementName() { return this._statementName != null; } /// <summary> /// Gets and sets the property WorkGroupName. /// <para> /// The name of the workgroup to which the prepared statement belongs. /// </para> /// </summary> public string WorkGroupName { get { return this._workGroupName; } set { this._workGroupName = value; } } // Check to see if WorkGroupName property is set internal bool IsSetWorkGroupName() { return this._workGroupName != null; } } }
136
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The name and last modified time of the prepared statement. /// </summary> public partial class PreparedStatementSummary { private DateTime? _lastModifiedTime; private string _statementName; /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The last modified time of the prepared statement. /// </para> /// </summary> public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property StatementName. /// <para> /// The name of the prepared statement. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string StatementName { get { return this._statementName; } set { this._statementName = value; } } // Check to see if StatementName property is set internal bool IsSetStatementName() { return this._statementName != null; } } }
77
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the PutCapacityAssignmentConfiguration operation. /// Puts a new capacity assignment configuration for a specified capacity reservation. /// If a capacity assignment configuration already exists for the capacity reservation, /// replaces the existing capacity assignment configuration. /// </summary> public partial class PutCapacityAssignmentConfigurationRequest : AmazonAthenaRequest { private List<CapacityAssignment> _capacityAssignments = new List<CapacityAssignment>(); private string _capacityReservationName; /// <summary> /// Gets and sets the property CapacityAssignments. /// <para> /// The list of assignments for the capacity assignment configuration. /// </para> /// </summary> [AWSProperty(Required=true)] public List<CapacityAssignment> CapacityAssignments { get { return this._capacityAssignments; } set { this._capacityAssignments = value; } } // Check to see if CapacityAssignments property is set internal bool IsSetCapacityAssignments() { return this._capacityAssignments != null && this._capacityAssignments.Count > 0; } /// <summary> /// Gets and sets the property CapacityReservationName. /// <para> /// The name of the capacity reservation to put a capacity assignment configuration for. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string CapacityReservationName { get { return this._capacityReservationName; } set { this._capacityReservationName = value; } } // Check to see if CapacityReservationName property is set internal bool IsSetCapacityReservationName() { return this._capacityReservationName != null; } } }
81
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the PutCapacityAssignmentConfiguration operation. /// </summary> public partial class PutCapacityAssignmentConfigurationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Information about a single instance of a query execution. /// </summary> public partial class QueryExecution { private EngineVersion _engineVersion; private List<string> _executionParameters = new List<string>(); private string _query; private QueryExecutionContext _queryExecutionContext; private string _queryExecutionId; private ResultConfiguration _resultConfiguration; private ResultReuseConfiguration _resultReuseConfiguration; private StatementType _statementType; private QueryExecutionStatistics _statistics; private QueryExecutionStatus _status; private string _substatementType; private string _workGroup; /// <summary> /// Gets and sets the property EngineVersion. /// <para> /// The engine version that executed the query. /// </para> /// </summary> public EngineVersion EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// <summary> /// Gets and sets the property ExecutionParameters. /// <para> /// A list of values for the parameters in a query. The values are applied sequentially /// to the parameters in the query in the order in which the parameters occur. The list /// of parameters is not returned in the response. /// </para> /// </summary> [AWSProperty(Min=1)] public List<string> ExecutionParameters { get { return this._executionParameters; } set { this._executionParameters = value; } } // Check to see if ExecutionParameters property is set internal bool IsSetExecutionParameters() { return this._executionParameters != null && this._executionParameters.Count > 0; } /// <summary> /// Gets and sets the property Query. /// <para> /// The SQL query statements which the query execution ran. /// </para> /// </summary> [AWSProperty(Min=1, Max=262144)] public string Query { get { return this._query; } set { this._query = value; } } // Check to see if Query property is set internal bool IsSetQuery() { return this._query != null; } /// <summary> /// Gets and sets the property QueryExecutionContext. /// <para> /// The database in which the query execution occurred. /// </para> /// </summary> public QueryExecutionContext QueryExecutionContext { get { return this._queryExecutionContext; } set { this._queryExecutionContext = value; } } // Check to see if QueryExecutionContext property is set internal bool IsSetQueryExecutionContext() { return this._queryExecutionContext != null; } /// <summary> /// Gets and sets the property QueryExecutionId. /// <para> /// The unique identifier for each query execution. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string QueryExecutionId { get { return this._queryExecutionId; } set { this._queryExecutionId = value; } } // Check to see if QueryExecutionId property is set internal bool IsSetQueryExecutionId() { return this._queryExecutionId != null; } /// <summary> /// Gets and sets the property ResultConfiguration. /// <para> /// The location in Amazon S3 where query and calculation results are stored and the encryption /// option, if any, used for query results. These are known as "client-side settings". /// If workgroup settings override client-side settings, then the query uses the location /// for the query results and the encryption configuration that are specified for the /// workgroup. /// </para> /// </summary> public ResultConfiguration ResultConfiguration { get { return this._resultConfiguration; } set { this._resultConfiguration = value; } } // Check to see if ResultConfiguration property is set internal bool IsSetResultConfiguration() { return this._resultConfiguration != null; } /// <summary> /// Gets and sets the property ResultReuseConfiguration. /// <para> /// Specifies the query result reuse behavior that was used for the query. /// </para> /// </summary> public ResultReuseConfiguration ResultReuseConfiguration { get { return this._resultReuseConfiguration; } set { this._resultReuseConfiguration = value; } } // Check to see if ResultReuseConfiguration property is set internal bool IsSetResultReuseConfiguration() { return this._resultReuseConfiguration != null; } /// <summary> /// Gets and sets the property StatementType. /// <para> /// The type of query statement that was run. <code>DDL</code> indicates DDL query statements. /// <code>DML</code> indicates DML (Data Manipulation Language) query statements, such /// as <code>CREATE TABLE AS SELECT</code>. <code>UTILITY</code> indicates query statements /// other than DDL and DML, such as <code>SHOW CREATE TABLE</code>, or <code>DESCRIBE /// TABLE</code>. /// </para> /// </summary> public StatementType StatementType { get { return this._statementType; } set { this._statementType = value; } } // Check to see if StatementType property is set internal bool IsSetStatementType() { return this._statementType != null; } /// <summary> /// Gets and sets the property Statistics. /// <para> /// Query execution statistics, such as the amount of data scanned, the amount of time /// that the query took to process, and the type of statement that was run. /// </para> /// </summary> public QueryExecutionStatistics Statistics { get { return this._statistics; } set { this._statistics = value; } } // Check to see if Statistics property is set internal bool IsSetStatistics() { return this._statistics != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The completion date, current state, submission time, and state change reason (if applicable) /// for the query execution. /// </para> /// </summary> public QueryExecutionStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property SubstatementType. /// <para> /// The kind of query statement that was run. /// </para> /// </summary> public string SubstatementType { get { return this._substatementType; } set { this._substatementType = value; } } // Check to see if SubstatementType property is set internal bool IsSetSubstatementType() { return this._substatementType != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup in which the query ran. /// </para> /// </summary> public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
281
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The database and data catalog context in which the query execution occurs. /// </summary> public partial class QueryExecutionContext { private string _catalog; private string _database; /// <summary> /// Gets and sets the property Catalog. /// <para> /// The name of the data catalog used in the query execution. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string Catalog { get { return this._catalog; } set { this._catalog = value; } } // Check to see if Catalog property is set internal bool IsSetCatalog() { return this._catalog != null; } /// <summary> /// Gets and sets the property Database. /// <para> /// The name of the database used in the query execution. The database must exist in the /// catalog. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Database { get { return this._database; } set { this._database = value; } } // Check to see if Database property is set internal bool IsSetDatabase() { return this._database != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The amount of data scanned during the query execution and the amount of time that /// it took to execute, and the type of statement that was run. /// </summary> public partial class QueryExecutionStatistics { private string _dataManifestLocation; private long? _dataScannedInBytes; private long? _engineExecutionTimeInMillis; private long? _queryPlanningTimeInMillis; private long? _queryQueueTimeInMillis; private ResultReuseInformation _resultReuseInformation; private long? _serviceProcessingTimeInMillis; private long? _totalExecutionTimeInMillis; /// <summary> /// Gets and sets the property DataManifestLocation. /// <para> /// The location and file name of a data manifest file. The manifest file is saved to /// the Athena query results location in Amazon S3. The manifest file tracks files that /// the query wrote to Amazon S3. If the query fails, the manifest file also tracks files /// that the query intended to write. The manifest is useful for identifying orphaned /// files resulting from a failed query. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working /// with Query Results, Output Files, and Query History</a> in the <i>Amazon Athena User /// Guide</i>. /// </para> /// </summary> public string DataManifestLocation { get { return this._dataManifestLocation; } set { this._dataManifestLocation = value; } } // Check to see if DataManifestLocation property is set internal bool IsSetDataManifestLocation() { return this._dataManifestLocation != null; } /// <summary> /// Gets and sets the property DataScannedInBytes. /// <para> /// The number of bytes in the data that was queried. /// </para> /// </summary> public long DataScannedInBytes { get { return this._dataScannedInBytes.GetValueOrDefault(); } set { this._dataScannedInBytes = value; } } // Check to see if DataScannedInBytes property is set internal bool IsSetDataScannedInBytes() { return this._dataScannedInBytes.HasValue; } /// <summary> /// Gets and sets the property EngineExecutionTimeInMillis. /// <para> /// The number of milliseconds that the query took to execute. /// </para> /// </summary> public long EngineExecutionTimeInMillis { get { return this._engineExecutionTimeInMillis.GetValueOrDefault(); } set { this._engineExecutionTimeInMillis = value; } } // Check to see if EngineExecutionTimeInMillis property is set internal bool IsSetEngineExecutionTimeInMillis() { return this._engineExecutionTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property QueryPlanningTimeInMillis. /// <para> /// The number of milliseconds that Athena took to plan the query processing flow. This /// includes the time spent retrieving table partitions from the data source. Note that /// because the query engine performs the query planning, query planning time is a subset /// of engine processing time. /// </para> /// </summary> public long QueryPlanningTimeInMillis { get { return this._queryPlanningTimeInMillis.GetValueOrDefault(); } set { this._queryPlanningTimeInMillis = value; } } // Check to see if QueryPlanningTimeInMillis property is set internal bool IsSetQueryPlanningTimeInMillis() { return this._queryPlanningTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property QueryQueueTimeInMillis. /// <para> /// The number of milliseconds that the query was in your query queue waiting for resources. /// Note that if transient errors occur, Athena might automatically add the query back /// to the queue. /// </para> /// </summary> public long QueryQueueTimeInMillis { get { return this._queryQueueTimeInMillis.GetValueOrDefault(); } set { this._queryQueueTimeInMillis = value; } } // Check to see if QueryQueueTimeInMillis property is set internal bool IsSetQueryQueueTimeInMillis() { return this._queryQueueTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property ResultReuseInformation. /// <para> /// Contains information about whether previous query results were reused for the query. /// </para> /// </summary> public ResultReuseInformation ResultReuseInformation { get { return this._resultReuseInformation; } set { this._resultReuseInformation = value; } } // Check to see if ResultReuseInformation property is set internal bool IsSetResultReuseInformation() { return this._resultReuseInformation != null; } /// <summary> /// Gets and sets the property ServiceProcessingTimeInMillis. /// <para> /// The number of milliseconds that Athena took to finalize and publish the query results /// after the query engine finished running the query. /// </para> /// </summary> public long ServiceProcessingTimeInMillis { get { return this._serviceProcessingTimeInMillis.GetValueOrDefault(); } set { this._serviceProcessingTimeInMillis = value; } } // Check to see if ServiceProcessingTimeInMillis property is set internal bool IsSetServiceProcessingTimeInMillis() { return this._serviceProcessingTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property TotalExecutionTimeInMillis. /// <para> /// The number of milliseconds that Athena took to run the query. /// </para> /// </summary> public long TotalExecutionTimeInMillis { get { return this._totalExecutionTimeInMillis.GetValueOrDefault(); } set { this._totalExecutionTimeInMillis = value; } } // Check to see if TotalExecutionTimeInMillis property is set internal bool IsSetTotalExecutionTimeInMillis() { return this._totalExecutionTimeInMillis.HasValue; } } }
203
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The completion date, current state, submission time, and state change reason (if applicable) /// for the query execution. /// </summary> public partial class QueryExecutionStatus { private AthenaError _athenaError; private DateTime? _completionDateTime; private QueryExecutionState _state; private string _stateChangeReason; private DateTime? _submissionDateTime; /// <summary> /// Gets and sets the property AthenaError. /// <para> /// Provides information about an Athena query error. /// </para> /// </summary> public AthenaError AthenaError { get { return this._athenaError; } set { this._athenaError = value; } } // Check to see if AthenaError property is set internal bool IsSetAthenaError() { return this._athenaError != null; } /// <summary> /// Gets and sets the property CompletionDateTime. /// <para> /// The date and time that the query completed. /// </para> /// </summary> public DateTime CompletionDateTime { get { return this._completionDateTime.GetValueOrDefault(); } set { this._completionDateTime = value; } } // Check to see if CompletionDateTime property is set internal bool IsSetCompletionDateTime() { return this._completionDateTime.HasValue; } /// <summary> /// Gets and sets the property State. /// <para> /// The state of query execution. <code>QUEUED</code> indicates that the query has been /// submitted to the service, and Athena will execute the query as soon as resources are /// available. <code>RUNNING</code> indicates that the query is in execution phase. <code>SUCCEEDED</code> /// indicates that the query completed without errors. <code>FAILED</code> indicates that /// the query experienced an error and did not complete processing. <code>CANCELLED</code> /// indicates that a user input interrupted query execution. /// </para> /// <note> /// <para> /// Athena automatically retries your queries in cases of certain transient errors. As /// a result, you may see the query state transition from <code>RUNNING</code> or <code>FAILED</code> /// to <code>QUEUED</code>. /// </para> /// </note> /// </summary> public QueryExecutionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property StateChangeReason. /// <para> /// Further detail about the status of the query. /// </para> /// </summary> public string StateChangeReason { get { return this._stateChangeReason; } set { this._stateChangeReason = value; } } // Check to see if StateChangeReason property is set internal bool IsSetStateChangeReason() { return this._stateChangeReason != null; } /// <summary> /// Gets and sets the property SubmissionDateTime. /// <para> /// The date and time that the query was submitted. /// </para> /// </summary> public DateTime SubmissionDateTime { get { return this._submissionDateTime.GetValueOrDefault(); } set { this._submissionDateTime = value; } } // Check to see if SubmissionDateTime property is set internal bool IsSetSubmissionDateTime() { return this._submissionDateTime.HasValue; } } }
146
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The query execution timeline, statistics on input and output rows and bytes, and the /// different query stages that form the query execution plan. /// </summary> public partial class QueryRuntimeStatistics { private QueryStage _outputStage; private QueryRuntimeStatisticsRows _rows; private QueryRuntimeStatisticsTimeline _timeline; /// <summary> /// Gets and sets the property OutputStage. /// <para> /// Stage statistics such as input and output rows and bytes, execution time, and stage /// state. This information also includes substages and the query stage plan. /// </para> /// </summary> public QueryStage OutputStage { get { return this._outputStage; } set { this._outputStage = value; } } // Check to see if OutputStage property is set internal bool IsSetOutputStage() { return this._outputStage != null; } /// <summary> /// Gets and sets the property Rows. /// </summary> public QueryRuntimeStatisticsRows Rows { get { return this._rows; } set { this._rows = value; } } // Check to see if Rows property is set internal bool IsSetRows() { return this._rows != null; } /// <summary> /// Gets and sets the property Timeline. /// </summary> public QueryRuntimeStatisticsTimeline Timeline { get { return this._timeline; } set { this._timeline = value; } } // Check to see if Timeline property is set internal bool IsSetTimeline() { return this._timeline != null; } } }
91
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Statistics such as input rows and bytes read by the query, rows and bytes output by /// the query, and the number of rows written by the query. /// </summary> public partial class QueryRuntimeStatisticsRows { private long? _inputBytes; private long? _inputRows; private long? _outputBytes; private long? _outputRows; /// <summary> /// Gets and sets the property InputBytes. /// <para> /// The number of bytes read to execute the query. /// </para> /// </summary> public long InputBytes { get { return this._inputBytes.GetValueOrDefault(); } set { this._inputBytes = value; } } // Check to see if InputBytes property is set internal bool IsSetInputBytes() { return this._inputBytes.HasValue; } /// <summary> /// Gets and sets the property InputRows. /// <para> /// The number of rows read to execute the query. /// </para> /// </summary> public long InputRows { get { return this._inputRows.GetValueOrDefault(); } set { this._inputRows = value; } } // Check to see if InputRows property is set internal bool IsSetInputRows() { return this._inputRows.HasValue; } /// <summary> /// Gets and sets the property OutputBytes. /// <para> /// The number of bytes returned by the query. /// </para> /// </summary> public long OutputBytes { get { return this._outputBytes.GetValueOrDefault(); } set { this._outputBytes = value; } } // Check to see if OutputBytes property is set internal bool IsSetOutputBytes() { return this._outputBytes.HasValue; } /// <summary> /// Gets and sets the property OutputRows. /// <para> /// The number of rows returned by the query. /// </para> /// </summary> public long OutputRows { get { return this._outputRows.GetValueOrDefault(); } set { this._outputRows = value; } } // Check to see if OutputRows property is set internal bool IsSetOutputRows() { return this._outputRows.HasValue; } } }
115
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Timeline statistics such as query queue time, planning time, execution time, service /// processing time, and total execution time. /// </summary> public partial class QueryRuntimeStatisticsTimeline { private long? _engineExecutionTimeInMillis; private long? _queryPlanningTimeInMillis; private long? _queryQueueTimeInMillis; private long? _serviceProcessingTimeInMillis; private long? _totalExecutionTimeInMillis; /// <summary> /// Gets and sets the property EngineExecutionTimeInMillis. /// <para> /// The number of milliseconds that the query took to execute. /// </para> /// </summary> public long EngineExecutionTimeInMillis { get { return this._engineExecutionTimeInMillis.GetValueOrDefault(); } set { this._engineExecutionTimeInMillis = value; } } // Check to see if EngineExecutionTimeInMillis property is set internal bool IsSetEngineExecutionTimeInMillis() { return this._engineExecutionTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property QueryPlanningTimeInMillis. /// <para> /// The number of milliseconds that Athena took to plan the query processing flow. This /// includes the time spent retrieving table partitions from the data source. Note that /// because the query engine performs the query planning, query planning time is a subset /// of engine processing time. /// </para> /// </summary> public long QueryPlanningTimeInMillis { get { return this._queryPlanningTimeInMillis.GetValueOrDefault(); } set { this._queryPlanningTimeInMillis = value; } } // Check to see if QueryPlanningTimeInMillis property is set internal bool IsSetQueryPlanningTimeInMillis() { return this._queryPlanningTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property QueryQueueTimeInMillis. /// <para> /// The number of milliseconds that the query was in your query queue waiting for resources. /// Note that if transient errors occur, Athena might automatically add the query back /// to the queue. /// </para> /// </summary> public long QueryQueueTimeInMillis { get { return this._queryQueueTimeInMillis.GetValueOrDefault(); } set { this._queryQueueTimeInMillis = value; } } // Check to see if QueryQueueTimeInMillis property is set internal bool IsSetQueryQueueTimeInMillis() { return this._queryQueueTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property ServiceProcessingTimeInMillis. /// <para> /// The number of milliseconds that Athena took to finalize and publish the query results /// after the query engine finished running the query. /// </para> /// </summary> public long ServiceProcessingTimeInMillis { get { return this._serviceProcessingTimeInMillis.GetValueOrDefault(); } set { this._serviceProcessingTimeInMillis = value; } } // Check to see if ServiceProcessingTimeInMillis property is set internal bool IsSetServiceProcessingTimeInMillis() { return this._serviceProcessingTimeInMillis.HasValue; } /// <summary> /// Gets and sets the property TotalExecutionTimeInMillis. /// <para> /// The number of milliseconds that Athena took to run the query. /// </para> /// </summary> public long TotalExecutionTimeInMillis { get { return this._totalExecutionTimeInMillis.GetValueOrDefault(); } set { this._totalExecutionTimeInMillis = value; } } // Check to see if TotalExecutionTimeInMillis property is set internal bool IsSetTotalExecutionTimeInMillis() { return this._totalExecutionTimeInMillis.HasValue; } } }
140
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Stage statistics such as input and output rows and bytes, execution time and stage /// state. This information also includes substages and the query stage plan. /// </summary> public partial class QueryStage { private long? _executionTime; private long? _inputBytes; private long? _inputRows; private long? _outputBytes; private long? _outputRows; private QueryStagePlanNode _queryStagePlan; private long? _stageId; private string _state; private List<QueryStage> _subStages = new List<QueryStage>(); /// <summary> /// Gets and sets the property ExecutionTime. /// <para> /// Time taken to execute this stage. /// </para> /// </summary> public long ExecutionTime { get { return this._executionTime.GetValueOrDefault(); } set { this._executionTime = value; } } // Check to see if ExecutionTime property is set internal bool IsSetExecutionTime() { return this._executionTime.HasValue; } /// <summary> /// Gets and sets the property InputBytes. /// <para> /// The number of bytes input into the stage for execution. /// </para> /// </summary> public long InputBytes { get { return this._inputBytes.GetValueOrDefault(); } set { this._inputBytes = value; } } // Check to see if InputBytes property is set internal bool IsSetInputBytes() { return this._inputBytes.HasValue; } /// <summary> /// Gets and sets the property InputRows. /// <para> /// The number of rows input into the stage for execution. /// </para> /// </summary> public long InputRows { get { return this._inputRows.GetValueOrDefault(); } set { this._inputRows = value; } } // Check to see if InputRows property is set internal bool IsSetInputRows() { return this._inputRows.HasValue; } /// <summary> /// Gets and sets the property OutputBytes. /// <para> /// The number of bytes output from the stage after execution. /// </para> /// </summary> public long OutputBytes { get { return this._outputBytes.GetValueOrDefault(); } set { this._outputBytes = value; } } // Check to see if OutputBytes property is set internal bool IsSetOutputBytes() { return this._outputBytes.HasValue; } /// <summary> /// Gets and sets the property OutputRows. /// <para> /// The number of rows output from the stage after execution. /// </para> /// </summary> public long OutputRows { get { return this._outputRows.GetValueOrDefault(); } set { this._outputRows = value; } } // Check to see if OutputRows property is set internal bool IsSetOutputRows() { return this._outputRows.HasValue; } /// <summary> /// Gets and sets the property QueryStagePlan. /// <para> /// Stage plan information such as name, identifier, sub plans, and source stages. /// </para> /// </summary> public QueryStagePlanNode QueryStagePlan { get { return this._queryStagePlan; } set { this._queryStagePlan = value; } } // Check to see if QueryStagePlan property is set internal bool IsSetQueryStagePlan() { return this._queryStagePlan != null; } /// <summary> /// Gets and sets the property StageId. /// <para> /// The identifier for a stage. /// </para> /// </summary> public long StageId { get { return this._stageId.GetValueOrDefault(); } set { this._stageId = value; } } // Check to see if StageId property is set internal bool IsSetStageId() { return this._stageId.HasValue; } /// <summary> /// Gets and sets the property State. /// <para> /// State of the stage after query execution. /// </para> /// </summary> public string State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property SubStages. /// <para> /// List of sub query stages that form this stage execution plan. /// </para> /// </summary> public List<QueryStage> SubStages { get { return this._subStages; } set { this._subStages = value; } } // Check to see if SubStages property is set internal bool IsSetSubStages() { return this._subStages != null && this._subStages.Count > 0; } } }
210
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Stage plan information such as name, identifier, sub plans, and remote sources. /// </summary> public partial class QueryStagePlanNode { private List<QueryStagePlanNode> _children = new List<QueryStagePlanNode>(); private string _identifier; private string _name; private List<string> _remoteSources = new List<string>(); /// <summary> /// Gets and sets the property Children. /// <para> /// Stage plan information such as name, identifier, sub plans, and remote sources of /// child plan nodes/ /// </para> /// </summary> public List<QueryStagePlanNode> Children { get { return this._children; } set { this._children = value; } } // Check to see if Children property is set internal bool IsSetChildren() { return this._children != null && this._children.Count > 0; } /// <summary> /// Gets and sets the property Identifier. /// <para> /// Information about the operation this query stage plan node is performing. /// </para> /// </summary> public string Identifier { get { return this._identifier; } set { this._identifier = value; } } // Check to see if Identifier property is set internal bool IsSetIdentifier() { return this._identifier != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// Name of the query stage plan that describes the operation this stage is performing /// as part of query execution. /// </para> /// </summary> public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property RemoteSources. /// <para> /// Source plan node IDs. /// </para> /// </summary> public List<string> RemoteSources { get { return this._remoteSources; } set { this._remoteSources = value; } } // Check to see if RemoteSources property is set internal bool IsSetRemoteSources() { return this._remoteSources != null && this._remoteSources.Count > 0; } } }
116
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// A resource, such as a workgroup, was not found. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ResourceNotFoundException : AmazonAthenaException { private string _resourceName; /// <summary> /// Constructs a new ResourceNotFoundException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ResourceNotFoundException(string message) : base(message) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ResourceNotFoundException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="innerException"></param> public ResourceNotFoundException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ResourceNotFoundException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.ResourceName = (string)info.GetValue("ResourceName", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("ResourceName", this.ResourceName); } #endif /// <summary> /// Gets and sets the property ResourceName. /// <para> /// The name of the Amazon resource. /// </para> /// </summary> [AWSProperty(Min=1, Max=1011)] public string ResourceName { get { return this._resourceName; } set { this._resourceName = value; } } // Check to see if ResourceName property is set internal bool IsSetResourceName() { return this._resourceName != null; } } }
146
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The location in Amazon S3 where query and calculation results are stored and the encryption /// option, if any, used for query and calculation results. These are known as "client-side /// settings". If workgroup settings override client-side settings, then the query uses /// the workgroup settings. /// </summary> public partial class ResultConfiguration { private AclConfiguration _aclConfiguration; private EncryptionConfiguration _encryptionConfiguration; private string _expectedBucketOwner; private string _outputLocation; /// <summary> /// Gets and sets the property AclConfiguration. /// <para> /// Indicates that an Amazon S3 canned ACL should be set to control ownership of stored /// query results. Currently the only supported canned ACL is <code>BUCKET_OWNER_FULL_CONTROL</code>. /// This is a client-side setting. If workgroup settings override client-side settings, /// then the query uses the ACL configuration that is specified for the workgroup, and /// also uses the location for storing query results specified in the workgroup. For more /// information, see <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a /// href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> public AclConfiguration AclConfiguration { get { return this._aclConfiguration; } set { this._aclConfiguration = value; } } // Check to see if AclConfiguration property is set internal bool IsSetAclConfiguration() { return this._aclConfiguration != null; } /// <summary> /// Gets and sets the property EncryptionConfiguration. /// <para> /// If query and calculation results are encrypted in Amazon S3, indicates the encryption /// option used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and key information. /// This is a client-side setting. If workgroup settings override client-side settings, /// then the query uses the encryption configuration that is specified for the workgroup, /// and also uses the location for storing query results specified in the workgroup. See /// <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> public EncryptionConfiguration EncryptionConfiguration { get { return this._encryptionConfiguration; } set { this._encryptionConfiguration = value; } } // Check to see if EncryptionConfiguration property is set internal bool IsSetEncryptionConfiguration() { return this._encryptionConfiguration != null; } /// <summary> /// Gets and sets the property ExpectedBucketOwner. /// <para> /// The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 /// bucket specified by <a>ResultConfiguration$OutputLocation</a>. If set, Athena uses /// the value for <code>ExpectedBucketOwner</code> when it makes Amazon S3 calls to your /// specified output location. If the <code>ExpectedBucketOwner</code> Amazon Web Services /// account ID does not match the actual owner of the Amazon S3 bucket, the call fails /// with a permissions error. /// </para> /// /// <para> /// This is a client-side setting. If workgroup settings override client-side settings, /// then the query uses the <code>ExpectedBucketOwner</code> setting that is specified /// for the workgroup, and also uses the location for storing query results specified /// in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> /// and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string ExpectedBucketOwner { get { return this._expectedBucketOwner; } set { this._expectedBucketOwner = value; } } // Check to see if ExpectedBucketOwner property is set internal bool IsSetExpectedBucketOwner() { return this._expectedBucketOwner != null; } /// <summary> /// Gets and sets the property OutputLocation. /// <para> /// The location in Amazon S3 where your query and calculation results are stored, such /// as <code>s3://path/to/query/bucket/</code>. To run the query, you must specify the /// query results location using one of the ways: either for individual queries using /// either this setting (client-side), or in the workgroup, using <a>WorkGroupConfiguration</a>. /// If none of them is set, Athena issues an error that no output location is provided. /// For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working /// with query results, recent queries, and output files</a>. If workgroup settings override /// client-side settings, then the query uses the settings specified for the workgroup. /// See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>. /// </para> /// </summary> public string OutputLocation { get { return this._outputLocation; } set { this._outputLocation = value; } } // Check to see if OutputLocation property is set internal bool IsSetOutputLocation() { return this._outputLocation != null; } } }
153
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The information about the updates in the query results, such as output location and /// encryption configuration for the query results. /// </summary> public partial class ResultConfigurationUpdates { private AclConfiguration _aclConfiguration; private EncryptionConfiguration _encryptionConfiguration; private string _expectedBucketOwner; private string _outputLocation; private bool? _removeAclConfiguration; private bool? _removeEncryptionConfiguration; private bool? _removeExpectedBucketOwner; private bool? _removeOutputLocation; /// <summary> /// Gets and sets the property AclConfiguration. /// <para> /// The ACL configuration for the query results. /// </para> /// </summary> public AclConfiguration AclConfiguration { get { return this._aclConfiguration; } set { this._aclConfiguration = value; } } // Check to see if AclConfiguration property is set internal bool IsSetAclConfiguration() { return this._aclConfiguration != null; } /// <summary> /// Gets and sets the property EncryptionConfiguration. /// <para> /// The encryption configuration for query and calculation results. /// </para> /// </summary> public EncryptionConfiguration EncryptionConfiguration { get { return this._encryptionConfiguration; } set { this._encryptionConfiguration = value; } } // Check to see if EncryptionConfiguration property is set internal bool IsSetEncryptionConfiguration() { return this._encryptionConfiguration != null; } /// <summary> /// Gets and sets the property ExpectedBucketOwner. /// <para> /// The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 /// bucket specified by <a>ResultConfiguration$OutputLocation</a>. If set, Athena uses /// the value for <code>ExpectedBucketOwner</code> when it makes Amazon S3 calls to your /// specified output location. If the <code>ExpectedBucketOwner</code> Amazon Web Services /// account ID does not match the actual owner of the Amazon S3 bucket, the call fails /// with a permissions error. /// </para> /// /// <para> /// If workgroup settings override client-side settings, then the query uses the <code>ExpectedBucketOwner</code> /// setting that is specified for the workgroup, and also uses the location for storing /// query results specified in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> /// and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string ExpectedBucketOwner { get { return this._expectedBucketOwner; } set { this._expectedBucketOwner = value; } } // Check to see if ExpectedBucketOwner property is set internal bool IsSetExpectedBucketOwner() { return this._expectedBucketOwner != null; } /// <summary> /// Gets and sets the property OutputLocation. /// <para> /// The location in Amazon S3 where your query and calculation results are stored, such /// as <code>s3://path/to/query/bucket/</code>. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working /// with query results, recent queries, and output files</a>. If workgroup settings override /// client-side settings, then the query uses the location for the query results and the /// encryption configuration that are specified for the workgroup. The "workgroup settings /// override" is specified in <code>EnforceWorkGroupConfiguration</code> (true/false) /// in the <code>WorkGroupConfiguration</code>. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>. /// </para> /// </summary> public string OutputLocation { get { return this._outputLocation; } set { this._outputLocation = value; } } // Check to see if OutputLocation property is set internal bool IsSetOutputLocation() { return this._outputLocation != null; } /// <summary> /// Gets and sets the property RemoveAclConfiguration. /// <para> /// If set to <code>true</code>, indicates that the previously-specified ACL configuration /// for queries in this workgroup should be ignored and set to null. If set to <code>false</code> /// or not set, and a value is present in the <code>AclConfiguration</code> of <code>ResultConfigurationUpdates</code>, /// the <code>AclConfiguration</code> in the workgroup's <code>ResultConfiguration</code> /// is updated with the new value. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> public bool RemoveAclConfiguration { get { return this._removeAclConfiguration.GetValueOrDefault(); } set { this._removeAclConfiguration = value; } } // Check to see if RemoveAclConfiguration property is set internal bool IsSetRemoveAclConfiguration() { return this._removeAclConfiguration.HasValue; } /// <summary> /// Gets and sets the property RemoveEncryptionConfiguration. /// <para> /// If set to "true", indicates that the previously-specified encryption configuration /// (also known as the client-side setting) for queries in this workgroup should be ignored /// and set to null. If set to "false" or not set, and a value is present in the <code>EncryptionConfiguration</code> /// in <code>ResultConfigurationUpdates</code> (the client-side setting), the <code>EncryptionConfiguration</code> /// in the workgroup's <code>ResultConfiguration</code> will be updated with the new value. /// For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> public bool RemoveEncryptionConfiguration { get { return this._removeEncryptionConfiguration.GetValueOrDefault(); } set { this._removeEncryptionConfiguration = value; } } // Check to see if RemoveEncryptionConfiguration property is set internal bool IsSetRemoveEncryptionConfiguration() { return this._removeEncryptionConfiguration.HasValue; } /// <summary> /// Gets and sets the property RemoveExpectedBucketOwner. /// <para> /// If set to "true", removes the Amazon Web Services account ID previously specified /// for <a>ResultConfiguration$ExpectedBucketOwner</a>. If set to "false" or not set, /// and a value is present in the <code>ExpectedBucketOwner</code> in <code>ResultConfigurationUpdates</code> /// (the client-side setting), the <code>ExpectedBucketOwner</code> in the workgroup's /// <code>ResultConfiguration</code> is updated with the new value. For more information, /// see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> public bool RemoveExpectedBucketOwner { get { return this._removeExpectedBucketOwner.GetValueOrDefault(); } set { this._removeExpectedBucketOwner = value; } } // Check to see if RemoveExpectedBucketOwner property is set internal bool IsSetRemoveExpectedBucketOwner() { return this._removeExpectedBucketOwner.HasValue; } /// <summary> /// Gets and sets the property RemoveOutputLocation. /// <para> /// If set to "true", indicates that the previously-specified query results location (also /// known as a client-side setting) for queries in this workgroup should be ignored and /// set to null. If set to "false" or not set, and a value is present in the <code>OutputLocation</code> /// in <code>ResultConfigurationUpdates</code> (the client-side setting), the <code>OutputLocation</code> /// in the workgroup's <code>ResultConfiguration</code> will be updated with the new value. /// For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup /// Settings Override Client-Side Settings</a>. /// </para> /// </summary> public bool RemoveOutputLocation { get { return this._removeOutputLocation.GetValueOrDefault(); } set { this._removeOutputLocation = value; } } // Check to see if RemoveOutputLocation property is set internal bool IsSetRemoveOutputLocation() { return this._removeOutputLocation.HasValue; } } }
234
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Specifies whether previous query results are reused, and if so, their maximum age. /// </summary> public partial class ResultReuseByAgeConfiguration { private bool? _enabled; private int? _maxAgeInMinutes; /// <summary> /// Gets and sets the property Enabled. /// <para> /// True if previous query results can be reused when the query is run; otherwise, false. /// The default is false. /// </para> /// </summary> [AWSProperty(Required=true)] public bool Enabled { get { return this._enabled.GetValueOrDefault(); } set { this._enabled = value; } } // Check to see if Enabled property is set internal bool IsSetEnabled() { return this._enabled.HasValue; } /// <summary> /// Gets and sets the property MaxAgeInMinutes. /// <para> /// Specifies, in minutes, the maximum age of a previous query result that Athena should /// consider for reuse. The default is 60. /// </para> /// </summary> [AWSProperty(Min=0, Max=10080)] public int MaxAgeInMinutes { get { return this._maxAgeInMinutes.GetValueOrDefault(); } set { this._maxAgeInMinutes = value; } } // Check to see if MaxAgeInMinutes property is set internal bool IsSetMaxAgeInMinutes() { return this._maxAgeInMinutes.HasValue; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Specifies the query result reuse behavior for the query. /// </summary> public partial class ResultReuseConfiguration { private ResultReuseByAgeConfiguration _resultReuseByAgeConfiguration; /// <summary> /// Gets and sets the property ResultReuseByAgeConfiguration. /// <para> /// Specifies whether previous query results are reused, and if so, their maximum age. /// </para> /// </summary> public ResultReuseByAgeConfiguration ResultReuseByAgeConfiguration { get { return this._resultReuseByAgeConfiguration; } set { this._resultReuseByAgeConfiguration = value; } } // Check to see if ResultReuseByAgeConfiguration property is set internal bool IsSetResultReuseByAgeConfiguration() { return this._resultReuseByAgeConfiguration != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains information about whether the result of a previous query was reused. /// </summary> public partial class ResultReuseInformation { private bool? _reusedPreviousResult; /// <summary> /// Gets and sets the property ReusedPreviousResult. /// <para> /// True if a previous query result was reused; false if the result was generated from /// a new run of the query. /// </para> /// </summary> [AWSProperty(Required=true)] public bool ReusedPreviousResult { get { return this._reusedPreviousResult.GetValueOrDefault(); } set { this._reusedPreviousResult = value; } } // Check to see if ReusedPreviousResult property is set internal bool IsSetReusedPreviousResult() { return this._reusedPreviousResult.HasValue; } } }
59
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The metadata and rows that make up a query result set. The metadata describes the /// column structure and data types. To return a <code>ResultSet</code> object, use <a>GetQueryResults</a>. /// </summary> public partial class ResultSet { private ResultSetMetadata _resultSetMetadata; private List<Row> _rows = new List<Row>(); /// <summary> /// Gets and sets the property ResultSetMetadata. /// <para> /// The metadata that describes the column structure and data types of a table of query /// results. /// </para> /// </summary> public ResultSetMetadata ResultSetMetadata { get { return this._resultSetMetadata; } set { this._resultSetMetadata = value; } } // Check to see if ResultSetMetadata property is set internal bool IsSetResultSetMetadata() { return this._resultSetMetadata != null; } /// <summary> /// Gets and sets the property Rows. /// <para> /// The rows in the table. /// </para> /// </summary> public List<Row> Rows { get { return this._rows; } set { this._rows = value; } } // Check to see if Rows property is set internal bool IsSetRows() { return this._rows != null && this._rows.Count > 0; } } }
78
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The metadata that describes the column structure and data types of a table of query /// results. To return a <code>ResultSetMetadata</code> object, use <a>GetQueryResults</a>. /// </summary> public partial class ResultSetMetadata { private List<ColumnInfo> _columnInfo = new List<ColumnInfo>(); /// <summary> /// Gets and sets the property ColumnInfo. /// <para> /// Information about the columns returned in a query result metadata. /// </para> /// </summary> public List<ColumnInfo> ColumnInfo { get { return this._columnInfo; } set { this._columnInfo = value; } } // Check to see if ColumnInfo property is set internal bool IsSetColumnInfo() { return this._columnInfo != null && this._columnInfo.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The rows that make up a query result table. /// </summary> public partial class Row { private List<Datum> _data = new List<Datum>(); /// <summary> /// Gets and sets the property Data. /// <para> /// The data that populates a row in a query result table. /// </para> /// </summary> public List<Datum> Data { get { return this._data; } set { this._data = value; } } // Check to see if Data property is set internal bool IsSetData() { return this._data != null && this._data.Count > 0; } } }
57
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The specified session already exists. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class SessionAlreadyExistsException : AmazonAthenaException { /// <summary> /// Constructs a new SessionAlreadyExistsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public SessionAlreadyExistsException(string message) : base(message) {} /// <summary> /// Construct instance of SessionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public SessionAlreadyExistsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of SessionAlreadyExistsException /// </summary> /// <param name="innerException"></param> public SessionAlreadyExistsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of SessionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public SessionAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of SessionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public SessionAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the SessionAlreadyExistsException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected SessionAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains session configuration information. /// </summary> public partial class SessionConfiguration { private EncryptionConfiguration _encryptionConfiguration; private string _executionRole; private long? _idleTimeoutSeconds; private string _workingDirectory; /// <summary> /// Gets and sets the property EncryptionConfiguration. /// </summary> public EncryptionConfiguration EncryptionConfiguration { get { return this._encryptionConfiguration; } set { this._encryptionConfiguration = value; } } // Check to see if EncryptionConfiguration property is set internal bool IsSetEncryptionConfiguration() { return this._encryptionConfiguration != null; } /// <summary> /// Gets and sets the property ExecutionRole. /// <para> /// The ARN of the execution role used for the session. /// </para> /// </summary> [AWSProperty(Min=20, Max=2048)] public string ExecutionRole { get { return this._executionRole; } set { this._executionRole = value; } } // Check to see if ExecutionRole property is set internal bool IsSetExecutionRole() { return this._executionRole != null; } /// <summary> /// Gets and sets the property IdleTimeoutSeconds. /// <para> /// The idle timeout in seconds for the session. /// </para> /// </summary> public long IdleTimeoutSeconds { get { return this._idleTimeoutSeconds.GetValueOrDefault(); } set { this._idleTimeoutSeconds = value; } } // Check to see if IdleTimeoutSeconds property is set internal bool IsSetIdleTimeoutSeconds() { return this._idleTimeoutSeconds.HasValue; } /// <summary> /// Gets and sets the property WorkingDirectory. /// <para> /// The Amazon S3 location that stores information for the notebook. /// </para> /// </summary> public string WorkingDirectory { get { return this._workingDirectory; } set { this._workingDirectory = value; } } // Check to see if WorkingDirectory property is set internal bool IsSetWorkingDirectory() { return this._workingDirectory != null; } } }
112
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains statistics for a session. /// </summary> public partial class SessionStatistics { private long? _dpuExecutionInMillis; /// <summary> /// Gets and sets the property DpuExecutionInMillis. /// <para> /// The data processing unit execution time for a session in milliseconds. /// </para> /// </summary> public long DpuExecutionInMillis { get { return this._dpuExecutionInMillis.GetValueOrDefault(); } set { this._dpuExecutionInMillis = value; } } // Check to see if DpuExecutionInMillis property is set internal bool IsSetDpuExecutionInMillis() { return this._dpuExecutionInMillis.HasValue; } } }
57
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains information about the status of a session. /// </summary> public partial class SessionStatus { private DateTime? _endDateTime; private DateTime? _idleSinceDateTime; private DateTime? _lastModifiedDateTime; private DateTime? _startDateTime; private SessionState _state; private string _stateChangeReason; /// <summary> /// Gets and sets the property EndDateTime. /// <para> /// The date and time that the session ended. /// </para> /// </summary> public DateTime EndDateTime { get { return this._endDateTime.GetValueOrDefault(); } set { this._endDateTime = value; } } // Check to see if EndDateTime property is set internal bool IsSetEndDateTime() { return this._endDateTime.HasValue; } /// <summary> /// Gets and sets the property IdleSinceDateTime. /// <para> /// The date and time starting at which the session became idle. Can be empty if the session /// is not currently idle. /// </para> /// </summary> public DateTime IdleSinceDateTime { get { return this._idleSinceDateTime.GetValueOrDefault(); } set { this._idleSinceDateTime = value; } } // Check to see if IdleSinceDateTime property is set internal bool IsSetIdleSinceDateTime() { return this._idleSinceDateTime.HasValue; } /// <summary> /// Gets and sets the property LastModifiedDateTime. /// <para> /// The most recent date and time that the session was modified. /// </para> /// </summary> public DateTime LastModifiedDateTime { get { return this._lastModifiedDateTime.GetValueOrDefault(); } set { this._lastModifiedDateTime = value; } } // Check to see if LastModifiedDateTime property is set internal bool IsSetLastModifiedDateTime() { return this._lastModifiedDateTime.HasValue; } /// <summary> /// Gets and sets the property StartDateTime. /// <para> /// The date and time that the session started. /// </para> /// </summary> public DateTime StartDateTime { get { return this._startDateTime.GetValueOrDefault(); } set { this._startDateTime = value; } } // Check to see if StartDateTime property is set internal bool IsSetStartDateTime() { return this._startDateTime.HasValue; } /// <summary> /// Gets and sets the property State. /// <para> /// The state of the session. A description of each state follows. /// </para> /// /// <para> /// <code>CREATING</code> - The session is being started, including acquiring resources. /// </para> /// /// <para> /// <code>CREATED</code> - The session has been started. /// </para> /// /// <para> /// <code>IDLE</code> - The session is able to accept a calculation. /// </para> /// /// <para> /// <code>BUSY</code> - The session is processing another task and is unable to accept /// a calculation. /// </para> /// /// <para> /// <code>TERMINATING</code> - The session is in the process of shutting down. /// </para> /// /// <para> /// <code>TERMINATED</code> - The session and its resources are no longer running. /// </para> /// /// <para> /// <code>DEGRADED</code> - The session has no healthy coordinators. /// </para> /// /// <para> /// <code>FAILED</code> - Due to a failure, the session and its resources are no longer /// running. /// </para> /// </summary> public SessionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property StateChangeReason. /// <para> /// The reason for the session state change (for example, canceled because the session /// was terminated). /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string StateChangeReason { get { return this._stateChangeReason; } set { this._stateChangeReason = value; } } // Check to see if StateChangeReason property is set internal bool IsSetStateChangeReason() { return this._stateChangeReason != null; } } }
189
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains summary information about a session. /// </summary> public partial class SessionSummary { private string _description; private EngineVersion _engineVersion; private string _notebookVersion; private string _sessionId; private SessionStatus _status; /// <summary> /// Gets and sets the property Description. /// <para> /// The session description. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property EngineVersion. /// <para> /// The engine version used by the session (for example, <code>PySpark engine version /// 3</code>). /// </para> /// </summary> public EngineVersion EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// <summary> /// Gets and sets the property NotebookVersion. /// <para> /// The notebook version. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string NotebookVersion { get { return this._notebookVersion; } set { this._notebookVersion = value; } } // Check to see if NotebookVersion property is set internal bool IsSetNotebookVersion() { return this._notebookVersion != null; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// Contains information about the session status. /// </para> /// </summary> public SessionStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
137
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the StartCalculationExecution operation. /// Submits calculations for execution within a session. You can supply the code to run /// as an inline code block within the request. /// </summary> public partial class StartCalculationExecutionRequest : AmazonAthenaRequest { private CalculationConfiguration _calculationConfiguration; private string _clientRequestToken; private string _codeBlock; private string _description; private string _sessionId; /// <summary> /// Gets and sets the property CalculationConfiguration. /// <para> /// Contains configuration information for the calculation. /// </para> /// </summary> [Obsolete("Kepler Post GA Tasks : https://sim.amazon.com/issues/ATHENA-39828")] public CalculationConfiguration CalculationConfiguration { get { return this._calculationConfiguration; } set { this._calculationConfiguration = value; } } // Check to see if CalculationConfiguration property is set internal bool IsSetCalculationConfiguration() { return this._calculationConfiguration != null; } /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// A unique case-sensitive string used to ensure the request to create the calculation /// is idempotent (executes only once). If another <code>StartCalculationExecutionRequest</code> /// is received, the same response is returned and another calculation is not created. /// If a parameter has changed, an error is returned. /// </para> /// <important> /// <para> /// This token is listed as not required because Amazon Web Services SDKs (for example /// the Amazon Web Services SDK for Java) auto-generate the token for users. If you are /// not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide /// this token or the action will fail. /// </para> /// </important> /// </summary> [AWSProperty(Min=32, Max=128)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property CodeBlock. /// <para> /// A string that contains the code of the calculation. /// </para> /// </summary> [AWSProperty(Max=68000)] public string CodeBlock { get { return this._codeBlock; } set { this._codeBlock = value; } } // Check to see if CodeBlock property is set internal bool IsSetCodeBlock() { return this._codeBlock != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the calculation. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } } }
151
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the StartCalculationExecution operation. /// </summary> public partial class StartCalculationExecutionResponse : AmazonWebServiceResponse { private string _calculationExecutionId; private CalculationExecutionState _state; /// <summary> /// Gets and sets the property CalculationExecutionId. /// <para> /// The calculation execution UUID. /// </para> /// </summary> [AWSProperty(Min=1, Max=36)] public string CalculationExecutionId { get { return this._calculationExecutionId; } set { this._calculationExecutionId = value; } } // Check to see if CalculationExecutionId property is set internal bool IsSetCalculationExecutionId() { return this._calculationExecutionId != null; } /// <summary> /// Gets and sets the property State. /// <para> /// <code>CREATING</code> - The calculation is in the process of being created. /// </para> /// /// <para> /// <code>CREATED</code> - The calculation has been created and is ready to run. /// </para> /// /// <para> /// <code>QUEUED</code> - The calculation has been queued for processing. /// </para> /// /// <para> /// <code>RUNNING</code> - The calculation is running. /// </para> /// /// <para> /// <code>CANCELING</code> - A request to cancel the calculation has been received and /// the system is working to stop it. /// </para> /// /// <para> /// <code>CANCELED</code> - The calculation is no longer running as the result of a cancel /// request. /// </para> /// /// <para> /// <code>COMPLETED</code> - The calculation has completed without error. /// </para> /// /// <para> /// <code>FAILED</code> - The calculation failed and is no longer running. /// </para> /// </summary> public CalculationExecutionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }
107
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the StartQueryExecution operation. /// Runs the SQL query statements contained in the <code>Query</code>. Requires you to /// have access to the workgroup in which the query ran. Running queries against an external /// catalog requires <a>GetDataCatalog</a> permission to the catalog. For code samples /// using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples /// and Code Samples</a> in the <i>Amazon Athena User Guide</i>. /// </summary> public partial class StartQueryExecutionRequest : AmazonAthenaRequest { private string _clientRequestToken; private List<string> _executionParameters = new List<string>(); private QueryExecutionContext _queryExecutionContext; private string _queryString; private ResultConfiguration _resultConfiguration; private ResultReuseConfiguration _resultReuseConfiguration; private string _workGroup; /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// A unique case-sensitive string used to ensure the request to create the query is idempotent /// (executes only once). If another <code>StartQueryExecution</code> request is received, /// the same response is returned and another query is not created. If a parameter has /// changed, for example, the <code>QueryString</code>, an error is returned. /// </para> /// <important> /// <para> /// This token is listed as not required because Amazon Web Services SDKs (for example /// the Amazon Web Services SDK for Java) auto-generate the token for users. If you are /// not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide /// this token or the action will fail. /// </para> /// </important> /// </summary> [AWSProperty(Min=32, Max=128)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property ExecutionParameters. /// <para> /// A list of values for the parameters in a query. The values are applied sequentially /// to the parameters in the query in the order in which the parameters occur. /// </para> /// </summary> [AWSProperty(Min=1)] public List<string> ExecutionParameters { get { return this._executionParameters; } set { this._executionParameters = value; } } // Check to see if ExecutionParameters property is set internal bool IsSetExecutionParameters() { return this._executionParameters != null && this._executionParameters.Count > 0; } /// <summary> /// Gets and sets the property QueryExecutionContext. /// <para> /// The database within which the query executes. /// </para> /// </summary> public QueryExecutionContext QueryExecutionContext { get { return this._queryExecutionContext; } set { this._queryExecutionContext = value; } } // Check to see if QueryExecutionContext property is set internal bool IsSetQueryExecutionContext() { return this._queryExecutionContext != null; } /// <summary> /// Gets and sets the property QueryString. /// <para> /// The SQL query statements to be executed. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=262144)] public string QueryString { get { return this._queryString; } set { this._queryString = value; } } // Check to see if QueryString property is set internal bool IsSetQueryString() { return this._queryString != null; } /// <summary> /// Gets and sets the property ResultConfiguration. /// <para> /// Specifies information about where and how to save the results of the query execution. /// If the query runs in a workgroup, then workgroup's settings may override query settings. /// This affects the query results location. The workgroup settings override is specified /// in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>. /// </para> /// </summary> public ResultConfiguration ResultConfiguration { get { return this._resultConfiguration; } set { this._resultConfiguration = value; } } // Check to see if ResultConfiguration property is set internal bool IsSetResultConfiguration() { return this._resultConfiguration != null; } /// <summary> /// Gets and sets the property ResultReuseConfiguration. /// <para> /// Specifies the query result reuse behavior for the query. /// </para> /// </summary> public ResultReuseConfiguration ResultReuseConfiguration { get { return this._resultReuseConfiguration; } set { this._resultReuseConfiguration = value; } } // Check to see if ResultReuseConfiguration property is set internal bool IsSetResultReuseConfiguration() { return this._resultReuseConfiguration != null; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup in which the query is being started. /// </para> /// </summary> public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
194
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the StartQueryExecution operation. /// </summary> public partial class StartQueryExecutionResponse : AmazonWebServiceResponse { private string _queryExecutionId; /// <summary> /// Gets and sets the property QueryExecutionId. /// <para> /// The unique ID of the query that ran as a result of this request. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string QueryExecutionId { get { return this._queryExecutionId; } set { this._queryExecutionId = value; } } // Check to see if QueryExecutionId property is set internal bool IsSetQueryExecutionId() { return this._queryExecutionId != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the StartSession operation. /// Creates a session for running calculations within a workgroup. The session is ready /// when it reaches an <code>IDLE</code> state. /// </summary> public partial class StartSessionRequest : AmazonAthenaRequest { private string _clientRequestToken; private string _description; private EngineConfiguration _engineConfiguration; private string _notebookVersion; private int? _sessionIdleTimeoutInMinutes; private string _workGroup; /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// A unique case-sensitive string used to ensure the request to create the session is /// idempotent (executes only once). If another <code>StartSessionRequest</code> is received, /// the same response is returned and another session is not created. If a parameter has /// changed, an error is returned. /// </para> /// <important> /// <para> /// This token is listed as not required because Amazon Web Services SDKs (for example /// the Amazon Web Services SDK for Java) auto-generate the token for users. If you are /// not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide /// this token or the action will fail. /// </para> /// </important> /// </summary> [AWSProperty(Min=32, Max=128)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The session description. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property EngineConfiguration. /// <para> /// Contains engine data processing unit (DPU) configuration settings and parameter mappings. /// </para> /// </summary> [AWSProperty(Required=true)] public EngineConfiguration EngineConfiguration { get { return this._engineConfiguration; } set { this._engineConfiguration = value; } } // Check to see if EngineConfiguration property is set internal bool IsSetEngineConfiguration() { return this._engineConfiguration != null; } /// <summary> /// Gets and sets the property NotebookVersion. /// <para> /// The notebook version. This value is supplied automatically for notebook sessions in /// the Athena console and is not required for programmatic session access. The only valid /// notebook version is <code>Athena notebook version 1</code>. If you specify a value /// for <code>NotebookVersion</code>, you must also specify a value for <code>NotebookId</code>. /// See <a>EngineConfiguration$AdditionalConfigs</a>. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string NotebookVersion { get { return this._notebookVersion; } set { this._notebookVersion = value; } } // Check to see if NotebookVersion property is set internal bool IsSetNotebookVersion() { return this._notebookVersion != null; } /// <summary> /// Gets and sets the property SessionIdleTimeoutInMinutes. /// <para> /// The idle timeout in minutes for the session. /// </para> /// </summary> [AWSProperty(Min=1, Max=480)] public int SessionIdleTimeoutInMinutes { get { return this._sessionIdleTimeoutInMinutes.GetValueOrDefault(); } set { this._sessionIdleTimeoutInMinutes = value; } } // Check to see if SessionIdleTimeoutInMinutes property is set internal bool IsSetSessionIdleTimeoutInMinutes() { return this._sessionIdleTimeoutInMinutes.HasValue; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The workgroup to which the session belongs. /// </para> /// </summary> [AWSProperty(Required=true)] public string WorkGroup { get { return this._workGroup; } set { this._workGroup = value; } } // Check to see if WorkGroup property is set internal bool IsSetWorkGroup() { return this._workGroup != null; } } }
175
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the StartSession operation. /// </summary> public partial class StartSessionResponse : AmazonWebServiceResponse { private string _sessionId; private SessionState _state; /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } /// <summary> /// Gets and sets the property State. /// <para> /// The state of the session. A description of each state follows. /// </para> /// /// <para> /// <code>CREATING</code> - The session is being started, including acquiring resources. /// </para> /// /// <para> /// <code>CREATED</code> - The session has been started. /// </para> /// /// <para> /// <code>IDLE</code> - The session is able to accept a calculation. /// </para> /// /// <para> /// <code>BUSY</code> - The session is processing another task and is unable to accept /// a calculation. /// </para> /// /// <para> /// <code>TERMINATING</code> - The session is in the process of shutting down. /// </para> /// /// <para> /// <code>TERMINATED</code> - The session and its resources are no longer running. /// </para> /// /// <para> /// <code>DEGRADED</code> - The session has no healthy coordinators. /// </para> /// /// <para> /// <code>FAILED</code> - Due to a failure, the session and its resources are no longer /// running. /// </para> /// </summary> public SessionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }
111
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the StopCalculationExecution operation. /// Requests the cancellation of a calculation. A <code>StopCalculationExecution</code> /// call on a calculation that is already in a terminal state (for example, <code>STOPPED</code>, /// <code>FAILED</code>, or <code>COMPLETED</code>) succeeds but has no effect. /// /// <note> /// <para> /// Cancelling a calculation is done on a best effort basis. If a calculation cannot be /// cancelled, you can be charged for its completion. If you are concerned about being /// charged for a calculation that cannot be cancelled, consider terminating the session /// in which the calculation is running. /// </para> /// </note> /// </summary> public partial class StopCalculationExecutionRequest : AmazonAthenaRequest { private string _calculationExecutionId; /// <summary> /// Gets and sets the property CalculationExecutionId. /// <para> /// The calculation execution UUID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=36)] public string CalculationExecutionId { get { return this._calculationExecutionId; } set { this._calculationExecutionId = value; } } // Check to see if CalculationExecutionId property is set internal bool IsSetCalculationExecutionId() { return this._calculationExecutionId != null; } } }
70
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the StopCalculationExecution operation. /// </summary> public partial class StopCalculationExecutionResponse : AmazonWebServiceResponse { private CalculationExecutionState _state; /// <summary> /// Gets and sets the property State. /// <para> /// <code>CREATING</code> - The calculation is in the process of being created. /// </para> /// /// <para> /// <code>CREATED</code> - The calculation has been created and is ready to run. /// </para> /// /// <para> /// <code>QUEUED</code> - The calculation has been queued for processing. /// </para> /// /// <para> /// <code>RUNNING</code> - The calculation is running. /// </para> /// /// <para> /// <code>CANCELING</code> - A request to cancel the calculation has been received and /// the system is working to stop it. /// </para> /// /// <para> /// <code>CANCELED</code> - The calculation is no longer running as the result of a cancel /// request. /// </para> /// /// <para> /// <code>COMPLETED</code> - The calculation has completed without error. /// </para> /// /// <para> /// <code>FAILED</code> - The calculation failed and is no longer running. /// </para> /// </summary> public CalculationExecutionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }
87
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the StopQueryExecution operation. /// Stops a query execution. Requires you to have access to the workgroup in which the /// query ran. /// /// /// <para> /// For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples /// and Code Samples</a> in the <i>Amazon Athena User Guide</i>. /// </para> /// </summary> public partial class StopQueryExecutionRequest : AmazonAthenaRequest { private string _queryExecutionId; /// <summary> /// Gets and sets the property QueryExecutionId. /// <para> /// The unique ID of the query execution to stop. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string QueryExecutionId { get { return this._queryExecutionId; } set { this._queryExecutionId = value; } } // Check to see if QueryExecutionId property is set internal bool IsSetQueryExecutionId() { return this._queryExecutionId != null; } } }
66
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the StopQueryExecution operation. /// </summary> public partial class StopQueryExecutionResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Contains metadata for a table. /// </summary> public partial class TableMetadata { private List<Column> _columns = new List<Column>(); private DateTime? _createTime; private DateTime? _lastAccessTime; private string _name; private Dictionary<string, string> _parameters = new Dictionary<string, string>(); private List<Column> _partitionKeys = new List<Column>(); private string _tableType; /// <summary> /// Gets and sets the property Columns. /// <para> /// A list of the columns in the table. /// </para> /// </summary> public List<Column> Columns { get { return this._columns; } set { this._columns = value; } } // Check to see if Columns property is set internal bool IsSetColumns() { return this._columns != null && this._columns.Count > 0; } /// <summary> /// Gets and sets the property CreateTime. /// <para> /// The time that the table was created. /// </para> /// </summary> public DateTime CreateTime { get { return this._createTime.GetValueOrDefault(); } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime.HasValue; } /// <summary> /// Gets and sets the property LastAccessTime. /// <para> /// The last time the table was accessed. /// </para> /// </summary> public DateTime LastAccessTime { get { return this._lastAccessTime.GetValueOrDefault(); } set { this._lastAccessTime = value; } } // Check to see if LastAccessTime property is set internal bool IsSetLastAccessTime() { return this._lastAccessTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the table. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Parameters. /// <para> /// A set of custom key/value pairs for table properties. /// </para> /// </summary> public Dictionary<string, string> Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null && this._parameters.Count > 0; } /// <summary> /// Gets and sets the property PartitionKeys. /// <para> /// A list of the partition keys in the table. /// </para> /// </summary> public List<Column> PartitionKeys { get { return this._partitionKeys; } set { this._partitionKeys = value; } } // Check to see if PartitionKeys property is set internal bool IsSetPartitionKeys() { return this._partitionKeys != null && this._partitionKeys.Count > 0; } /// <summary> /// Gets and sets the property TableType. /// <para> /// The type of table. In Athena, only <code>EXTERNAL_TABLE</code> is supported. /// </para> /// </summary> [AWSProperty(Max=255)] public string TableType { get { return this._tableType; } set { this._tableType = value; } } // Check to see if TableType property is set internal bool IsSetTableType() { return this._tableType != null; } } }
173
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// A label that you assign to a resource. Athena resources include workgroups, data catalogs, /// and capacity reservations. Each tag consists of a key and an optional value, both /// of which you define. For example, you can use tags to categorize Athena resources /// by purpose, owner, or environment. Use a consistent set of tag keys to make it easier /// to search and filter the resources in your account. For best practices, see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging /// Best Practices</a>. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag /// values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers /// representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and /// values are case-sensitive. Tag keys must be unique per resource. If you specify more /// than one tag, separate them by commas. /// </summary> public partial class Tag { private string _key; private string _value; /// <summary> /// Gets and sets the property Key. /// <para> /// A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can /// use letters and numbers representable in UTF-8, and the following characters: + - /// = . _ : / @. Tag keys are case-sensitive and must be unique per resource. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You /// can use letters and numbers representable in UTF-8, and the following characters: /// + - = . _ : / @. Tag values are case-sensitive. /// </para> /// </summary> [AWSProperty(Min=0, Max=256)] public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }
91
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the TagResource operation. /// Adds one or more tags to an Athena resource. A tag is a label that you assign to a /// resource. Each tag consists of a key and an optional value, both of which you define. /// For example, you can use tags to categorize Athena workgroups, data catalogs, or capacity /// reservations by purpose, owner, or environment. Use a consistent set of tag keys to /// make it easier to search and filter the resources in your account. For best practices, /// see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging /// Best Practices</a>. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag /// values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers /// representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and /// values are case-sensitive. Tag keys must be unique per resource. If you specify more /// than one tag, separate them by commas. /// </summary> public partial class TagResourceRequest : AmazonAthenaRequest { private string _resourceARN; private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property ResourceARN. /// <para> /// Specifies the ARN of the Athena resource to which tags are to be added. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string ResourceARN { get { return this._resourceARN; } set { this._resourceARN = value; } } // Check to see if ResourceARN property is set internal bool IsSetResourceARN() { return this._resourceARN != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A collection of one or more tags, separated by commas, to be added to an Athena resource. /// </para> /// </summary> [AWSProperty(Required=true)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
89
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the TagResource operation. /// </summary> public partial class TagResourceResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the TerminateSession operation. /// Terminates an active session. A <code>TerminateSession</code> call on a session that /// is already inactive (for example, in a <code>FAILED</code>, <code>TERMINATED</code> /// or <code>TERMINATING</code> state) succeeds but has no effect. Calculations running /// in the session when <code>TerminateSession</code> is called are forcefully stopped, /// but may display as <code>FAILED</code> instead of <code>STOPPED</code>. /// </summary> public partial class TerminateSessionRequest : AmazonAthenaRequest { private string _sessionId; /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } } }
63
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the TerminateSession operation. /// </summary> public partial class TerminateSessionResponse : AmazonWebServiceResponse { private SessionState _state; /// <summary> /// Gets and sets the property State. /// <para> /// The state of the session. A description of each state follows. /// </para> /// /// <para> /// <code>CREATING</code> - The session is being started, including acquiring resources. /// </para> /// /// <para> /// <code>CREATED</code> - The session has been started. /// </para> /// /// <para> /// <code>IDLE</code> - The session is able to accept a calculation. /// </para> /// /// <para> /// <code>BUSY</code> - The session is processing another task and is unable to accept /// a calculation. /// </para> /// /// <para> /// <code>TERMINATING</code> - The session is in the process of shutting down. /// </para> /// /// <para> /// <code>TERMINATED</code> - The session and its resources are no longer running. /// </para> /// /// <para> /// <code>DEGRADED</code> - The session has no healthy coordinators. /// </para> /// /// <para> /// <code>FAILED</code> - Due to a failure, the session and its resources are no longer /// running. /// </para> /// </summary> public SessionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }
91
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Indicates that the request was throttled. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class TooManyRequestsException : AmazonAthenaException { private ThrottleReason _reason; /// <summary> /// Constructs a new TooManyRequestsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public TooManyRequestsException(string message) : base(message) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public TooManyRequestsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="innerException"></param> public TooManyRequestsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public TooManyRequestsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public TooManyRequestsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the TooManyRequestsException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected TooManyRequestsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Reason = (ThrottleReason)info.GetValue("Reason", typeof(ThrottleReason)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Reason", this.Reason); } #endif /// <summary> /// Gets and sets the property Reason. /// </summary> public ThrottleReason Reason { get { return this._reason; } set { this._reason = value; } } // Check to see if Reason property is set internal bool IsSetReason() { return this._reason != null; } } }
142
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Information about a named query ID that could not be processed. /// </summary> public partial class UnprocessedNamedQueryId { private string _errorCode; private string _errorMessage; private string _namedQueryId; /// <summary> /// Gets and sets the property ErrorCode. /// <para> /// The error code returned when the processing request for the named query failed, if /// applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string ErrorCode { get { return this._errorCode; } set { this._errorCode = value; } } // Check to see if ErrorCode property is set internal bool IsSetErrorCode() { return this._errorCode != null; } /// <summary> /// Gets and sets the property ErrorMessage. /// <para> /// The error message returned when the processing request for the named query failed, /// if applicable. /// </para> /// </summary> public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// <summary> /// Gets and sets the property NamedQueryId. /// <para> /// The unique identifier of the named query. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string NamedQueryId { get { return this._namedQueryId; } set { this._namedQueryId = value; } } // Check to see if NamedQueryId property is set internal bool IsSetNamedQueryId() { return this._namedQueryId != null; } } }
99
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// The name of a prepared statement that could not be returned. /// </summary> public partial class UnprocessedPreparedStatementName { private string _errorCode; private string _errorMessage; private string _statementName; /// <summary> /// Gets and sets the property ErrorCode. /// <para> /// The error code returned when the request for the prepared statement failed. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string ErrorCode { get { return this._errorCode; } set { this._errorCode = value; } } // Check to see if ErrorCode property is set internal bool IsSetErrorCode() { return this._errorCode != null; } /// <summary> /// Gets and sets the property ErrorMessage. /// <para> /// The error message containing the reason why the prepared statement could not be returned. /// The following error messages are possible: /// </para> /// <ul> <li> /// <para> /// <code>INVALID_INPUT</code> - The name of the prepared statement that was provided /// is not valid (for example, the name is too long). /// </para> /// </li> <li> /// <para> /// <code>STATEMENT_NOT_FOUND</code> - A prepared statement with the name provided could /// not be found. /// </para> /// </li> <li> /// <para> /// <code>UNAUTHORIZED</code> - The requester does not have permission to access the /// workgroup that contains the prepared statement. /// </para> /// </li> </ul> /// </summary> public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// <summary> /// Gets and sets the property StatementName. /// <para> /// The name of a prepared statement that could not be returned due to an error. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string StatementName { get { return this._statementName; } set { this._statementName = value; } } // Check to see if StatementName property is set internal bool IsSetStatementName() { return this._statementName != null; } } }
114
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Describes a query execution that failed to process. /// </summary> public partial class UnprocessedQueryExecutionId { private string _errorCode; private string _errorMessage; private string _queryExecutionId; /// <summary> /// Gets and sets the property ErrorCode. /// <para> /// The error code returned when the query execution failed to process, if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string ErrorCode { get { return this._errorCode; } set { this._errorCode = value; } } // Check to see if ErrorCode property is set internal bool IsSetErrorCode() { return this._errorCode != null; } /// <summary> /// Gets and sets the property ErrorMessage. /// <para> /// The error message returned when the query execution failed to process, if applicable. /// </para> /// </summary> public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// <summary> /// Gets and sets the property QueryExecutionId. /// <para> /// The unique identifier of the query execution. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string QueryExecutionId { get { return this._queryExecutionId; } set { this._queryExecutionId = value; } } // Check to see if QueryExecutionId property is set internal bool IsSetQueryExecutionId() { return this._queryExecutionId != null; } } }
97
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the UntagResource operation. /// Removes one or more tags from an Athena resource. /// </summary> public partial class UntagResourceRequest : AmazonAthenaRequest { private string _resourceARN; private List<string> _tagKeys = new List<string>(); /// <summary> /// Gets and sets the property ResourceARN. /// <para> /// Specifies the ARN of the resource from which tags are to be removed. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string ResourceARN { get { return this._resourceARN; } set { this._resourceARN = value; } } // Check to see if ResourceARN property is set internal bool IsSetResourceARN() { return this._resourceARN != null; } /// <summary> /// Gets and sets the property TagKeys. /// <para> /// A comma-separated list of one or more tag keys whose tags are to be removed from the /// specified resource. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> TagKeys { get { return this._tagKeys; } set { this._tagKeys = value; } } // Check to see if TagKeys property is set internal bool IsSetTagKeys() { return this._tagKeys != null && this._tagKeys.Count > 0; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the UntagResource operation. /// </summary> public partial class UntagResourceResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the UpdateCapacityReservation operation. /// Updates the number of requested data processing units for the capacity reservation /// with the specified name. /// </summary> public partial class UpdateCapacityReservationRequest : AmazonAthenaRequest { private string _name; private int? _targetDpus; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the capacity reservation. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property TargetDpus. /// <para> /// The new number of requested data processing units. /// </para> /// </summary> [AWSProperty(Required=true, Min=24)] public int TargetDpus { get { return this._targetDpus.GetValueOrDefault(); } set { this._targetDpus = value; } } // Check to see if TargetDpus property is set internal bool IsSetTargetDpus() { return this._targetDpus.HasValue; } } }
80
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the UpdateCapacityReservation operation. /// </summary> public partial class UpdateCapacityReservationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the UpdateDataCatalog operation. /// Updates the data catalog that has the specified name. /// </summary> public partial class UpdateDataCatalogRequest : AmazonAthenaRequest { private string _description; private string _name; private Dictionary<string, string> _parameters = new Dictionary<string, string>(); private DataCatalogType _type; /// <summary> /// Gets and sets the property Description. /// <para> /// New or modified text that describes the data catalog. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the data catalog to update. The catalog name must be unique for the Amazon /// Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, /// or hyphen characters. The remainder of the length constraint of 256 is reserved for /// use by Athena. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Parameters. /// <para> /// Specifies the Lambda function or functions to use for updating the data catalog. This /// is a mapping whose values depend on the catalog type. /// </para> /// <ul> <li> /// <para> /// For the <code>HIVE</code> data catalog type, use the following syntax. The <code>metadata-function</code> /// parameter is required. <code>The sdk-version</code> parameter is optional and defaults /// to the currently supported version. /// </para> /// /// <para> /// <code>metadata-function=<i>lambda_arn</i>, sdk-version=<i>version_number</i> </code> /// /// </para> /// </li> <li> /// <para> /// For the <code>LAMBDA</code> data catalog type, use one of the following sets of required /// parameters, but not both. /// </para> /// <ul> <li> /// <para> /// If you have one Lambda function that processes metadata and another for reading the /// actual data, use the following syntax. Both parameters are required. /// </para> /// /// <para> /// <code>metadata-function=<i>lambda_arn</i>, record-function=<i>lambda_arn</i> </code> /// /// </para> /// </li> <li> /// <para> /// If you have a composite Lambda function that processes both metadata and data, use /// the following syntax to specify your Lambda function. /// </para> /// /// <para> /// <code>function=<i>lambda_arn</i> </code> /// </para> /// </li> </ul> </li> </ul> /// </summary> public Dictionary<string, string> Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null && this._parameters.Count > 0; } /// <summary> /// Gets and sets the property Type. /// <para> /// Specifies the type of data catalog to update. Specify <code>LAMBDA</code> for a federated /// catalog, <code>HIVE</code> for an external hive metastore, or <code>GLUE</code> for /// an Glue Data Catalog. /// </para> /// </summary> [AWSProperty(Required=true)] public DataCatalogType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
160
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the UpdateDataCatalog operation. /// </summary> public partial class UpdateDataCatalogResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the UpdateNamedQuery operation. /// Updates a <a>NamedQuery</a> object. The database or workgroup cannot be updated. /// </summary> public partial class UpdateNamedQueryRequest : AmazonAthenaRequest { private string _description; private string _name; private string _namedQueryId; private string _queryString; /// <summary> /// Gets and sets the property Description. /// <para> /// The query description. /// </para> /// </summary> [AWSProperty(Min=0, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the query. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property NamedQueryId. /// <para> /// The unique identifier (UUID) of the query. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string NamedQueryId { get { return this._namedQueryId; } set { this._namedQueryId = value; } } // Check to see if NamedQueryId property is set internal bool IsSetNamedQueryId() { return this._namedQueryId != null; } /// <summary> /// Gets and sets the property QueryString. /// <para> /// The contents of the query with all query statements. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=262144)] public string QueryString { get { return this._queryString; } set { this._queryString = value; } } // Check to see if QueryString property is set internal bool IsSetQueryString() { return this._queryString != null; } } }
119
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// This is the response object from the UpdateNamedQuery operation. /// </summary> public partial class UpdateNamedQueryResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Athena.Model { /// <summary> /// Container for the parameters to the UpdateNotebookMetadata operation. /// Updates the metadata for a notebook. /// </summary> public partial class UpdateNotebookMetadataRequest : AmazonAthenaRequest { private string _clientRequestToken; private string _name; private string _notebookId; /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// A unique case-sensitive string used to ensure the request to create the notebook is /// idempotent (executes only once). /// </para> /// <important> /// <para> /// This token is listed as not required because Amazon Web Services SDKs (for example /// the Amazon Web Services SDK for Java) auto-generate the token for you. If you are /// not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide /// this token or the action will fail. /// </para> /// </important> /// </summary> [AWSProperty(Min=1, Max=36)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name to update the notebook to. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The ID of the notebook to update the metadata for. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=36)] public string NotebookId { get { return this._notebookId; } set { this._notebookId = value; } } // Check to see if NotebookId property is set internal bool IsSetNotebookId() { return this._notebookId != null; } } }
108