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#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.ARCZonalShift")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS ARC - Zonal Shift. Amazon Route 53 Application Recovery Controller Zonal Shift is a new service that makes it easy to shift traffic away from an Availability Zone in a Region. See the developer guide for more information: https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route53-recovery.html")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS ARC - Zonal Shift. Amazon Route 53 Application Recovery Controller Zonal Shift is a new service that makes it easy to shift traffic away from an Availability Zone in a Region. See the developer guide for more information: https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route53-recovery.html")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS ARC - Zonal Shift. Amazon Route 53 Application Recovery Controller Zonal Shift is a new service that makes it easy to shift traffic away from an Availability Zone in a Region. See the developer guide for more information: https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route53-recovery.html")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS ARC - Zonal Shift. Amazon Route 53 Application Recovery Controller Zonal Shift is a new service that makes it easy to shift traffic away from an Availability Zone in a Region. See the developer guide for more information: https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route53-recovery.html")] #else #error Unknown platform constant - unable to set correct AssemblyDescription #endif [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Amazon Web Services SDK for .NET")] [assembly: AssemblyCompany("Amazon.com, Inc")] [assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.3")] [assembly: AssemblyFileVersion("3.7.100.123")] [assembly: System.CLSCompliant(true)] #if BCL [assembly: System.Security.AllowPartiallyTrustedCallers] #endif
51
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 Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.Athena.Internal; namespace Amazon.Athena { /// <summary> /// Configuration for accessing Amazon Athena service /// </summary> [AWSSignerType("v4")] public partial class AmazonAthenaConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.111.4"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonAthenaConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAthenaDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "athena"; this.EndpointProvider = new AmazonAthenaEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "athena"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2017-05-18"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
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.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.Athena { /// <summary> /// Configuration for accessing Amazon Athena service /// </summary> public static class AmazonAthenaDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// Athena /// </summary> public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations() { return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration> { Standard, InRegion, CrossRegion, Mobile, Auto, Legacy }); } /// <summary> /// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Standard, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.InRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.CrossRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Mobile, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:30 ConnectTimeout = TimeSpan.FromMilliseconds(30000L), // 0:00:30 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p> /// </summary> public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Auto, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p> /// </summary> public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Legacy, RetryMode = RequestRetryMode.Legacy, StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy, ConnectTimeout = null, TlsNegotiationTimeout = null, TimeToFirstByteTimeout = null, HttpRequestTimeout = 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 Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.Athena.Endpoints { /// <summary> /// Contains parameters used for resolving Athena endpoints /// Parameters can be sourced from client config and service operations /// Used by internal AthenaEndpointProvider and AthenaEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class AthenaEndpointParameters : EndpointParameters { /// <summary> /// AthenaEndpointParameters constructor /// </summary> public AthenaEndpointParameters() { UseDualStack = false; UseFIPS = false; } /// <summary> /// Region parameter /// </summary> public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// <summary> /// UseDualStack parameter /// </summary> public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// <summary> /// UseFIPS parameter /// </summary> public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// <summary> /// Endpoint parameter /// </summary> public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }
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.Net; using System.Text; using Amazon.Runtime; namespace Amazon.Athena { ///<summary> /// Common exception for the Athena service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonAthenaException : AmazonServiceException { /// <summary> /// Construct instance of AmazonAthenaException /// </summary> /// <param name="message"></param> public AmazonAthenaException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonAthenaException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonAthenaException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonAthenaException /// </summary> /// <param name="innerException"></param> public AmazonAthenaException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonAthenaException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAthenaException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonAthenaException /// </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 AmazonAthenaException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) { } #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AmazonAthenaException 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 AmazonAthenaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } #endif } }
105
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 Amazon.Runtime; namespace Amazon.Athena { /// <summary> /// Constants used for properties of type CalculationExecutionState. /// </summary> public class CalculationExecutionState : ConstantClass { /// <summary> /// Constant CANCELED for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState CANCELED = new CalculationExecutionState("CANCELED"); /// <summary> /// Constant CANCELING for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState CANCELING = new CalculationExecutionState("CANCELING"); /// <summary> /// Constant COMPLETED for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState COMPLETED = new CalculationExecutionState("COMPLETED"); /// <summary> /// Constant CREATED for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState CREATED = new CalculationExecutionState("CREATED"); /// <summary> /// Constant CREATING for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState CREATING = new CalculationExecutionState("CREATING"); /// <summary> /// Constant FAILED for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState FAILED = new CalculationExecutionState("FAILED"); /// <summary> /// Constant QUEUED for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState QUEUED = new CalculationExecutionState("QUEUED"); /// <summary> /// Constant RUNNING for CalculationExecutionState /// </summary> public static readonly CalculationExecutionState RUNNING = new CalculationExecutionState("RUNNING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public CalculationExecutionState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static CalculationExecutionState FindValue(string value) { return FindValue<CalculationExecutionState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator CalculationExecutionState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CapacityAllocationStatus. /// </summary> public class CapacityAllocationStatus : ConstantClass { /// <summary> /// Constant FAILED for CapacityAllocationStatus /// </summary> public static readonly CapacityAllocationStatus FAILED = new CapacityAllocationStatus("FAILED"); /// <summary> /// Constant PENDING for CapacityAllocationStatus /// </summary> public static readonly CapacityAllocationStatus PENDING = new CapacityAllocationStatus("PENDING"); /// <summary> /// Constant SUCCEEDED for CapacityAllocationStatus /// </summary> public static readonly CapacityAllocationStatus SUCCEEDED = new CapacityAllocationStatus("SUCCEEDED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public CapacityAllocationStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static CapacityAllocationStatus FindValue(string value) { return FindValue<CapacityAllocationStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator CapacityAllocationStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CapacityReservationStatus. /// </summary> public class CapacityReservationStatus : ConstantClass { /// <summary> /// Constant ACTIVE for CapacityReservationStatus /// </summary> public static readonly CapacityReservationStatus ACTIVE = new CapacityReservationStatus("ACTIVE"); /// <summary> /// Constant CANCELLED for CapacityReservationStatus /// </summary> public static readonly CapacityReservationStatus CANCELLED = new CapacityReservationStatus("CANCELLED"); /// <summary> /// Constant CANCELLING for CapacityReservationStatus /// </summary> public static readonly CapacityReservationStatus CANCELLING = new CapacityReservationStatus("CANCELLING"); /// <summary> /// Constant FAILED for CapacityReservationStatus /// </summary> public static readonly CapacityReservationStatus FAILED = new CapacityReservationStatus("FAILED"); /// <summary> /// Constant PENDING for CapacityReservationStatus /// </summary> public static readonly CapacityReservationStatus PENDING = new CapacityReservationStatus("PENDING"); /// <summary> /// Constant UPDATE_PENDING for CapacityReservationStatus /// </summary> public static readonly CapacityReservationStatus UPDATE_PENDING = new CapacityReservationStatus("UPDATE_PENDING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public CapacityReservationStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static CapacityReservationStatus FindValue(string value) { return FindValue<CapacityReservationStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator CapacityReservationStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ColumnNullable. /// </summary> public class ColumnNullable : ConstantClass { /// <summary> /// Constant NOT_NULL for ColumnNullable /// </summary> public static readonly ColumnNullable NOT_NULL = new ColumnNullable("NOT_NULL"); /// <summary> /// Constant NULLABLE for ColumnNullable /// </summary> public static readonly ColumnNullable NULLABLE = new ColumnNullable("NULLABLE"); /// <summary> /// Constant UNKNOWN for ColumnNullable /// </summary> public static readonly ColumnNullable UNKNOWN = new ColumnNullable("UNKNOWN"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ColumnNullable(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ColumnNullable FindValue(string value) { return FindValue<ColumnNullable>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ColumnNullable(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type DataCatalogType. /// </summary> public class DataCatalogType : ConstantClass { /// <summary> /// Constant GLUE for DataCatalogType /// </summary> public static readonly DataCatalogType GLUE = new DataCatalogType("GLUE"); /// <summary> /// Constant HIVE for DataCatalogType /// </summary> public static readonly DataCatalogType HIVE = new DataCatalogType("HIVE"); /// <summary> /// Constant LAMBDA for DataCatalogType /// </summary> public static readonly DataCatalogType LAMBDA = new DataCatalogType("LAMBDA"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public DataCatalogType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static DataCatalogType FindValue(string value) { return FindValue<DataCatalogType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator DataCatalogType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type EncryptionOption. /// </summary> public class EncryptionOption : ConstantClass { /// <summary> /// Constant CSE_KMS for EncryptionOption /// </summary> public static readonly EncryptionOption CSE_KMS = new EncryptionOption("CSE_KMS"); /// <summary> /// Constant SSE_KMS for EncryptionOption /// </summary> public static readonly EncryptionOption SSE_KMS = new EncryptionOption("SSE_KMS"); /// <summary> /// Constant SSE_S3 for EncryptionOption /// </summary> public static readonly EncryptionOption SSE_S3 = new EncryptionOption("SSE_S3"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public EncryptionOption(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static EncryptionOption FindValue(string value) { return FindValue<EncryptionOption>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator EncryptionOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ExecutorState. /// </summary> public class ExecutorState : ConstantClass { /// <summary> /// Constant CREATED for ExecutorState /// </summary> public static readonly ExecutorState CREATED = new ExecutorState("CREATED"); /// <summary> /// Constant CREATING for ExecutorState /// </summary> public static readonly ExecutorState CREATING = new ExecutorState("CREATING"); /// <summary> /// Constant FAILED for ExecutorState /// </summary> public static readonly ExecutorState FAILED = new ExecutorState("FAILED"); /// <summary> /// Constant REGISTERED for ExecutorState /// </summary> public static readonly ExecutorState REGISTERED = new ExecutorState("REGISTERED"); /// <summary> /// Constant TERMINATED for ExecutorState /// </summary> public static readonly ExecutorState TERMINATED = new ExecutorState("TERMINATED"); /// <summary> /// Constant TERMINATING for ExecutorState /// </summary> public static readonly ExecutorState TERMINATING = new ExecutorState("TERMINATING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ExecutorState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ExecutorState FindValue(string value) { return FindValue<ExecutorState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ExecutorState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ExecutorType. /// </summary> public class ExecutorType : ConstantClass { /// <summary> /// Constant COORDINATOR for ExecutorType /// </summary> public static readonly ExecutorType COORDINATOR = new ExecutorType("COORDINATOR"); /// <summary> /// Constant GATEWAY for ExecutorType /// </summary> public static readonly ExecutorType GATEWAY = new ExecutorType("GATEWAY"); /// <summary> /// Constant WORKER for ExecutorType /// </summary> public static readonly ExecutorType WORKER = new ExecutorType("WORKER"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ExecutorType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ExecutorType FindValue(string value) { return FindValue<ExecutorType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ExecutorType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type NotebookType. /// </summary> public class NotebookType : ConstantClass { /// <summary> /// Constant IPYNB for NotebookType /// </summary> public static readonly NotebookType IPYNB = new NotebookType("IPYNB"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public NotebookType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static NotebookType FindValue(string value) { return FindValue<NotebookType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator NotebookType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type QueryExecutionState. /// </summary> public class QueryExecutionState : ConstantClass { /// <summary> /// Constant CANCELLED for QueryExecutionState /// </summary> public static readonly QueryExecutionState CANCELLED = new QueryExecutionState("CANCELLED"); /// <summary> /// Constant FAILED for QueryExecutionState /// </summary> public static readonly QueryExecutionState FAILED = new QueryExecutionState("FAILED"); /// <summary> /// Constant QUEUED for QueryExecutionState /// </summary> public static readonly QueryExecutionState QUEUED = new QueryExecutionState("QUEUED"); /// <summary> /// Constant RUNNING for QueryExecutionState /// </summary> public static readonly QueryExecutionState RUNNING = new QueryExecutionState("RUNNING"); /// <summary> /// Constant SUCCEEDED for QueryExecutionState /// </summary> public static readonly QueryExecutionState SUCCEEDED = new QueryExecutionState("SUCCEEDED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public QueryExecutionState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static QueryExecutionState FindValue(string value) { return FindValue<QueryExecutionState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator QueryExecutionState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type S3AclOption. /// </summary> public class S3AclOption : ConstantClass { /// <summary> /// Constant BUCKET_OWNER_FULL_CONTROL for S3AclOption /// </summary> public static readonly S3AclOption BUCKET_OWNER_FULL_CONTROL = new S3AclOption("BUCKET_OWNER_FULL_CONTROL"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public S3AclOption(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static S3AclOption FindValue(string value) { return FindValue<S3AclOption>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator S3AclOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SessionState. /// </summary> public class SessionState : ConstantClass { /// <summary> /// Constant BUSY for SessionState /// </summary> public static readonly SessionState BUSY = new SessionState("BUSY"); /// <summary> /// Constant CREATED for SessionState /// </summary> public static readonly SessionState CREATED = new SessionState("CREATED"); /// <summary> /// Constant CREATING for SessionState /// </summary> public static readonly SessionState CREATING = new SessionState("CREATING"); /// <summary> /// Constant DEGRADED for SessionState /// </summary> public static readonly SessionState DEGRADED = new SessionState("DEGRADED"); /// <summary> /// Constant FAILED for SessionState /// </summary> public static readonly SessionState FAILED = new SessionState("FAILED"); /// <summary> /// Constant IDLE for SessionState /// </summary> public static readonly SessionState IDLE = new SessionState("IDLE"); /// <summary> /// Constant TERMINATED for SessionState /// </summary> public static readonly SessionState TERMINATED = new SessionState("TERMINATED"); /// <summary> /// Constant TERMINATING for SessionState /// </summary> public static readonly SessionState TERMINATING = new SessionState("TERMINATING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public SessionState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static SessionState FindValue(string value) { return FindValue<SessionState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator SessionState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type StatementType. /// </summary> public class StatementType : ConstantClass { /// <summary> /// Constant DDL for StatementType /// </summary> public static readonly StatementType DDL = new StatementType("DDL"); /// <summary> /// Constant DML for StatementType /// </summary> public static readonly StatementType DML = new StatementType("DML"); /// <summary> /// Constant UTILITY for StatementType /// </summary> public static readonly StatementType UTILITY = new StatementType("UTILITY"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public StatementType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static StatementType FindValue(string value) { return FindValue<StatementType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator StatementType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ThrottleReason. /// </summary> public class ThrottleReason : ConstantClass { /// <summary> /// Constant CONCURRENT_QUERY_LIMIT_EXCEEDED for ThrottleReason /// </summary> public static readonly ThrottleReason CONCURRENT_QUERY_LIMIT_EXCEEDED = new ThrottleReason("CONCURRENT_QUERY_LIMIT_EXCEEDED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ThrottleReason(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ThrottleReason FindValue(string value) { return FindValue<ThrottleReason>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ThrottleReason(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type WorkGroupState. /// </summary> public class WorkGroupState : ConstantClass { /// <summary> /// Constant DISABLED for WorkGroupState /// </summary> public static readonly WorkGroupState DISABLED = new WorkGroupState("DISABLED"); /// <summary> /// Constant ENABLED for WorkGroupState /// </summary> public static readonly WorkGroupState ENABLED = new WorkGroupState("ENABLED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public WorkGroupState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static WorkGroupState FindValue(string value) { return FindValue<WorkGroupState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator WorkGroupState(string value) { return FindValue(value); } } }
880
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 Amazon.Runtime; using Amazon.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.Athena.Internal { /// <summary> /// Amazon Athena endpoint provider. /// Resolves endpoint for given set of AthenaEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonAthenaEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for AthenaEndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if (IsSet(refs["Endpoint"])) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (IsSet(refs["Region"])) { if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://athena-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://athena-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS"); } if (Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://athena.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack"); } return new Endpoint(Interpolate(@"https://athena.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
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 Amazon.Athena.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.Athena.Endpoints; #pragma warning disable 1591 namespace Amazon.Athena.Internal { /// <summary> /// Amazon Athena endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for Athena service requests. /// Collects values for AthenaEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AthenaEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonAthenaEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonAthenaConfig)requestContext.ClientConfig; var result = new AthenaEndpointParameters(); result.Region = config.RegionEndpoint?.SystemName; result.UseDualStack = config.UseDualstackEndpoint; result.UseFIPS = config.UseFIPSEndpoint; result.Endpoint = config.ServiceURL; // The region needs to be determined from the ServiceURL if not set. var regionEndpoint = config.RegionEndpoint; if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL)) { var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL); result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName; } // To support legacy endpoint overridding rules in the endpoints.json if (result.Region == "us-east-1-regional") { result.Region = "us-east-1"; } // Use AlternateEndpoint region override if set if (requestContext.Request.AlternateEndpoint != null) { result.Region = requestContext.Request.AlternateEndpoint.SystemName; } // Assign staticContextParams and contextParam per operation return result; } } }
83
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 Amazon.Runtime.Internal; namespace Amazon.Athena.Internal { /// <summary> /// Service metadata for Amazon Athena service /// </summary> public partial class AmazonAthenaMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "Athena"; } } /// <summary> /// Gets the dictionary that gives mapping of renamed operations /// </summary> public System.Collections.Generic.IDictionary<string, string> OperationNameMapping { get { return new System.Collections.Generic.Dictionary<string, string>(0) { }; } } } }
55
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 an Amazon S3 canned ACL should be set to control ownership of stored /// query results. When Athena stores query results in Amazon S3, the canned ACL is set /// with the <code>x-amz-acl</code> request header. For more information about S3 Object /// Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview">Object /// Ownership settings</a> in the <i>Amazon S3 User Guide</i>. /// </summary> public partial class AclConfiguration { private S3AclOption _s3AclOption; /// <summary> /// Gets and sets the property S3AclOption. /// <para> /// The Amazon S3 canned ACL that Athena should specify when storing query results. Currently /// the only supported canned ACL is <code>BUCKET_OWNER_FULL_CONTROL</code>. If a query /// runs in a workgroup and the workgroup overrides client-side settings, then the Amazon /// S3 canned ACL specified in the workgroup's settings is used for all queries that run /// in the workgroup. For more information about Amazon S3 canned ACLs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl">Canned /// ACL</a> in the <i>Amazon S3 User Guide</i>. /// </para> /// </summary> [AWSProperty(Required=true)] public S3AclOption S3AclOption { get { return this._s3AclOption; } set { this._s3AclOption = value; } } // Check to see if S3AclOption property is set internal bool IsSetS3AclOption() { return this._s3AclOption != null; } } }
67
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 Amazon.Runtime; namespace Amazon.Athena { /// <summary> /// Base class for Athena operation requests. /// </summary> public partial class AmazonAthenaRequest : AmazonWebServiceRequest { } }
30
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 application runtime IDs and their supported DPU sizes. /// </summary> public partial class ApplicationDPUSizes { private string _applicationRuntimeId; private List<int> _supportedDPUSizes = new List<int>(); /// <summary> /// Gets and sets the property ApplicationRuntimeId. /// <para> /// The name of the supported application runtime (for example, <code>Athena notebook /// version 1</code>). /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string ApplicationRuntimeId { get { return this._applicationRuntimeId; } set { this._applicationRuntimeId = value; } } // Check to see if ApplicationRuntimeId property is set internal bool IsSetApplicationRuntimeId() { return this._applicationRuntimeId != null; } /// <summary> /// Gets and sets the property SupportedDPUSizes. /// <para> /// A list of the supported DPU sizes that the application runtime supports. /// </para> /// </summary> public List<int> SupportedDPUSizes { get { return this._supportedDPUSizes; } set { this._supportedDPUSizes = value; } } // Check to see if SupportedDPUSizes property is set internal bool IsSetSupportedDPUSizes() { return this._supportedDPUSizes != null && this._supportedDPUSizes.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> /// Provides information about an Athena query error. The <code>AthenaError</code> feature /// provides standardized error information to help you understand failed queries and /// take steps after a query failure occurs. <code>AthenaError</code> includes an <code>ErrorCategory</code> /// field that specifies whether the cause of the failed query is due to system error, /// user error, or other error. /// </summary> public partial class AthenaError { private int? _errorCategory; private string _errorMessage; private int? _errorType; private bool? _retryable; /// <summary> /// Gets and sets the property ErrorCategory. /// <para> /// An integer value that specifies the category of a query failure error. The following /// list shows the category for each integer value. /// </para> /// /// <para> /// <b>1</b> - System /// </para> /// /// <para> /// <b>2</b> - User /// </para> /// /// <para> /// <b>3</b> - Other /// </para> /// </summary> [AWSProperty(Min=1, Max=3)] public int ErrorCategory { get { return this._errorCategory.GetValueOrDefault(); } set { this._errorCategory = value; } } // Check to see if ErrorCategory property is set internal bool IsSetErrorCategory() { return this._errorCategory.HasValue; } /// <summary> /// Gets and sets the property ErrorMessage. /// <para> /// Contains a short description of the error that occurred. /// </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 ErrorType. /// <para> /// An integer value that provides specific information about an Athena query error. For /// the meaning of specific values, see the <a href="https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference">Error /// Type Reference</a> in the <i>Amazon Athena User Guide</i>. /// </para> /// </summary> [AWSProperty(Min=0, Max=9999)] public int ErrorType { get { return this._errorType.GetValueOrDefault(); } set { this._errorType = value; } } // Check to see if ErrorType property is set internal bool IsSetErrorType() { return this._errorType.HasValue; } /// <summary> /// Gets and sets the property Retryable. /// <para> /// True if the query might succeed if resubmitted. /// </para> /// </summary> public bool Retryable { get { return this._retryable.GetValueOrDefault(); } set { this._retryable = value; } } // Check to see if Retryable property is set internal bool IsSetRetryable() { return this._retryable.HasValue; } } }
135
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 BatchGetNamedQuery operation. /// Returns the details of a single named query or a list of up to 50 queries, which you /// provide as an array of query ID strings. Requires you to have access to the workgroup /// in which the queries were saved. Use <a>ListNamedQueriesInput</a> to get the list /// of named query IDs in the specified workgroup. If information could not be retrieved /// for a submitted query ID, information about the query ID submitted is listed under /// <a>UnprocessedNamedQueryId</a>. Named queries differ from executed queries. Use <a>BatchGetQueryExecutionInput</a> /// to get details about each unique query execution, and <a>ListQueryExecutionsInput</a> /// to get a list of query execution IDs. /// </summary> public partial class BatchGetNamedQueryRequest : AmazonAthenaRequest { private List<string> _namedQueryIds = new List<string>(); /// <summary> /// Gets and sets the property NamedQueryIds. /// <para> /// An array of query IDs. /// </para> /// </summary> [AWSProperty(Required=true, 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; } } }
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 BatchGetNamedQuery operation. /// </summary> public partial class BatchGetNamedQueryResponse : AmazonWebServiceResponse { private List<NamedQuery> _namedQueries = new List<NamedQuery>(); private List<UnprocessedNamedQueryId> _unprocessedNamedQueryIds = new List<UnprocessedNamedQueryId>(); /// <summary> /// Gets and sets the property NamedQueries. /// <para> /// Information about the named query IDs submitted. /// </para> /// </summary> public List<NamedQuery> NamedQueries { get { return this._namedQueries; } set { this._namedQueries = value; } } // Check to see if NamedQueries property is set internal bool IsSetNamedQueries() { return this._namedQueries != null && this._namedQueries.Count > 0; } /// <summary> /// Gets and sets the property UnprocessedNamedQueryIds. /// <para> /// Information about provided query IDs. /// </para> /// </summary> public List<UnprocessedNamedQueryId> UnprocessedNamedQueryIds { get { return this._unprocessedNamedQueryIds; } set { this._unprocessedNamedQueryIds = value; } } // Check to see if UnprocessedNamedQueryIds property is set internal bool IsSetUnprocessedNamedQueryIds() { return this._unprocessedNamedQueryIds != null && this._unprocessedNamedQueryIds.Count > 0; } } }
76
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 BatchGetPreparedStatement operation. /// Returns the details of a single prepared statement or a list of up to 256 prepared /// statements for the array of prepared statement names that you provide. Requires you /// to have access to the workgroup to which the prepared statements belong. If a prepared /// statement cannot be retrieved for the name specified, the statement is listed in <code>UnprocessedPreparedStatementNames</code>. /// </summary> public partial class BatchGetPreparedStatementRequest : AmazonAthenaRequest { private List<string> _preparedStatementNames = new List<string>(); private string _workGroup; /// <summary> /// Gets and sets the property PreparedStatementNames. /// <para> /// A list of prepared statement names to return. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> PreparedStatementNames { get { return this._preparedStatementNames; } set { this._preparedStatementNames = value; } } // Check to see if PreparedStatementNames property is set internal bool IsSetPreparedStatementNames() { return this._preparedStatementNames != null && this._preparedStatementNames.Count > 0; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup to which the prepared statements belong. /// </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; } } }
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 BatchGetPreparedStatement operation. /// </summary> public partial class BatchGetPreparedStatementResponse : AmazonWebServiceResponse { private List<PreparedStatement> _preparedStatements = new List<PreparedStatement>(); private List<UnprocessedPreparedStatementName> _unprocessedPreparedStatementNames = new List<UnprocessedPreparedStatementName>(); /// <summary> /// Gets and sets the property PreparedStatements. /// <para> /// The list of prepared statements returned. /// </para> /// </summary> public List<PreparedStatement> 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; } /// <summary> /// Gets and sets the property UnprocessedPreparedStatementNames. /// <para> /// A list of one or more prepared statements that were requested but could not be returned. /// </para> /// </summary> public List<UnprocessedPreparedStatementName> UnprocessedPreparedStatementNames { get { return this._unprocessedPreparedStatementNames; } set { this._unprocessedPreparedStatementNames = value; } } // Check to see if UnprocessedPreparedStatementNames property is set internal bool IsSetUnprocessedPreparedStatementNames() { return this._unprocessedPreparedStatementNames != null && this._unprocessedPreparedStatementNames.Count > 0; } } }
76
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 BatchGetQueryExecution operation. /// Returns the details of a single query execution or a list of up to 50 query executions, /// which you provide as an array of query execution ID strings. Requires you to have /// access to the workgroup in which the queries ran. To get a list of query execution /// IDs, use <a>ListQueryExecutionsInput$WorkGroup</a>. Query executions differ from named /// (saved) queries. Use <a>BatchGetNamedQueryInput</a> to get details about named queries. /// </summary> public partial class BatchGetQueryExecutionRequest : AmazonAthenaRequest { private List<string> _queryExecutionIds = new List<string>(); /// <summary> /// Gets and sets the property QueryExecutionIds. /// <para> /// An array of query execution IDs. /// </para> /// </summary> [AWSProperty(Required=true, 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; } } }
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 BatchGetQueryExecution operation. /// </summary> public partial class BatchGetQueryExecutionResponse : AmazonWebServiceResponse { private List<QueryExecution> _queryExecutions = new List<QueryExecution>(); private List<UnprocessedQueryExecutionId> _unprocessedQueryExecutionIds = new List<UnprocessedQueryExecutionId>(); /// <summary> /// Gets and sets the property QueryExecutions. /// <para> /// Information about a query execution. /// </para> /// </summary> public List<QueryExecution> QueryExecutions { get { return this._queryExecutions; } set { this._queryExecutions = value; } } // Check to see if QueryExecutions property is set internal bool IsSetQueryExecutions() { return this._queryExecutions != null && this._queryExecutions.Count > 0; } /// <summary> /// Gets and sets the property UnprocessedQueryExecutionIds. /// <para> /// Information about the query executions that failed to run. /// </para> /// </summary> public List<UnprocessedQueryExecutionId> UnprocessedQueryExecutionIds { get { return this._unprocessedQueryExecutionIds; } set { this._unprocessedQueryExecutionIds = value; } } // Check to see if UnprocessedQueryExecutionIds property is set internal bool IsSetUnprocessedQueryExecutionIds() { return this._unprocessedQueryExecutionIds != null && this._unprocessedQueryExecutionIds.Count > 0; } } }
76
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 configuration information for the calculation. /// </summary> public partial class CalculationConfiguration { private string _codeBlock; /// <summary> /// Gets and sets the property CodeBlock. /// <para> /// A string that contains the code for 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; } } }
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> /// Contains information about an application-specific calculation result. /// </summary> public partial class CalculationResult { private string _resultS3Uri; private string _resultType; private string _stdErrorS3Uri; private string _stdOutS3Uri; /// <summary> /// Gets and sets the property ResultS3Uri. /// <para> /// The Amazon S3 location of the folder for the calculation results. /// </para> /// </summary> [AWSProperty(Max=1024)] public string ResultS3Uri { get { return this._resultS3Uri; } set { this._resultS3Uri = value; } } // Check to see if ResultS3Uri property is set internal bool IsSetResultS3Uri() { return this._resultS3Uri != null; } /// <summary> /// Gets and sets the property ResultType. /// <para> /// The data format of the calculation result. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string ResultType { get { return this._resultType; } set { this._resultType = value; } } // Check to see if ResultType property is set internal bool IsSetResultType() { return this._resultType != null; } /// <summary> /// Gets and sets the property StdErrorS3Uri. /// <para> /// The Amazon S3 location of the <code>stderr</code> error messages file for the calculation. /// </para> /// </summary> [AWSProperty(Max=1024)] public string StdErrorS3Uri { get { return this._stdErrorS3Uri; } set { this._stdErrorS3Uri = value; } } // Check to see if StdErrorS3Uri property is set internal bool IsSetStdErrorS3Uri() { return this._stdErrorS3Uri != null; } /// <summary> /// Gets and sets the property StdOutS3Uri. /// <para> /// The Amazon S3 location of the <code>stdout</code> file for the calculation. /// </para> /// </summary> [AWSProperty(Max=1024)] public string StdOutS3Uri { get { return this._stdOutS3Uri; } set { this._stdOutS3Uri = value; } } // Check to see if StdOutS3Uri property is set internal bool IsSetStdOutS3Uri() { return this._stdOutS3Uri != null; } } }
118
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 notebook calculation. /// </summary> public partial class CalculationStatistics { private long? _dpuExecutionInMillis; private string _progress; /// <summary> /// Gets and sets the property DpuExecutionInMillis. /// <para> /// The data processing unit execution time in milliseconds for the calculation. /// </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; } /// <summary> /// Gets and sets the property Progress. /// <para> /// The progress of the calculation. /// </para> /// </summary> [AWSProperty(Min=1, Max=1024)] public string Progress { get { return this._progress; } set { this._progress = value; } } // Check to see if Progress property is set internal bool IsSetProgress() { return this._progress != 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> /// Contains information about the status of a notebook calculation. /// </summary> public partial class CalculationStatus { private DateTime? _completionDateTime; private CalculationExecutionState _state; private string _stateChangeReason; private DateTime? _submissionDateTime; /// <summary> /// Gets and sets the property CompletionDateTime. /// <para> /// The date and time the calculation completed processing. /// </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 the calculation execution. 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 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 calculation state change (for example, the calculation was 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; } /// <summary> /// Gets and sets the property SubmissionDateTime. /// <para> /// The date and time the calculation was submitted for processing. /// </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; } } }
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> /// Summary information for a notebook calculation. /// </summary> public partial class CalculationSummary { private string _calculationExecutionId; private string _description; private CalculationStatus _status; /// <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 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 Status. /// <para> /// Contains information about the status of the calculation. /// </para> /// </summary> public CalculationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != 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 CancelCapacityReservation operation. /// Cancels the capacity reservation with the specified name. Cancelled reservations remain /// in your account and will be deleted 45 days after cancellation. During the 45 days, /// you cannot re-purpose or reuse a reservation that has been cancelled, but you can /// refer to its tags and view it for historical reference. /// </summary> public partial class CancelCapacityReservationRequest : AmazonAthenaRequest { private string _name; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the capacity reservation to cancel. /// </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; } } }
62
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 CancelCapacityReservation operation. /// </summary> public partial class CancelCapacityReservationResponse : 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 the submission time of a single allocation request for a capacity reservation /// and the most recent status of the attempted allocation. /// </summary> public partial class CapacityAllocation { private DateTime? _requestCompletionTime; private DateTime? _requestTime; private CapacityAllocationStatus _status; private string _statusMessage; /// <summary> /// Gets and sets the property RequestCompletionTime. /// <para> /// The time when the capacity allocation request was completed. /// </para> /// </summary> public DateTime RequestCompletionTime { get { return this._requestCompletionTime.GetValueOrDefault(); } set { this._requestCompletionTime = value; } } // Check to see if RequestCompletionTime property is set internal bool IsSetRequestCompletionTime() { return this._requestCompletionTime.HasValue; } /// <summary> /// Gets and sets the property RequestTime. /// <para> /// The time when the capacity allocation was requested. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime RequestTime { get { return this._requestTime.GetValueOrDefault(); } set { this._requestTime = value; } } // Check to see if RequestTime property is set internal bool IsSetRequestTime() { return this._requestTime.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the capacity allocation. /// </para> /// </summary> [AWSProperty(Required=true)] public CapacityAllocationStatus 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 StatusMessage. /// <para> /// The status message of the capacity allocation. /// </para> /// </summary> public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } } }
117
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 mapping between one or more workgroups and a capacity reservation. /// </summary> public partial class CapacityAssignment { private List<string> _workGroupNames = new List<string>(); /// <summary> /// Gets and sets the property WorkGroupNames. /// <para> /// The list of workgroup names for the capacity assignment. /// </para> /// </summary> public List<string> WorkGroupNames { get { return this._workGroupNames; } set { this._workGroupNames = value; } } // Check to see if WorkGroupNames property is set internal bool IsSetWorkGroupNames() { return this._workGroupNames != null && this._workGroupNames.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> /// Assigns Athena workgroups (and hence their queries) to capacity reservations. A capacity /// reservation can have only one capacity assignment configuration, but the capacity /// assignment configuration can be made up of multiple individual assignments. Each assignment /// specifies how Athena queries can consume capacity from the capacity reservation that /// their workgroup is mapped to. /// </summary> public partial class CapacityAssignmentConfiguration { private List<CapacityAssignment> _capacityAssignments = new List<CapacityAssignment>(); private string _capacityReservationName; /// <summary> /// Gets and sets the property CapacityAssignments. /// <para> /// The list of assignments that make up the capacity assignment configuration. /// </para> /// </summary> 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 reservation that the capacity assignment configuration is for. /// </para> /// </summary> [AWSProperty(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> /// A reservation for a specified number of data processing units (DPUs). When a reservation /// is initially created, it has no DPUs. Athena allocates DPUs until the allocated amount /// equals the requested amount. /// </summary> public partial class CapacityReservation { private int? _allocatedDpus; private DateTime? _creationTime; private CapacityAllocation _lastAllocation; private DateTime? _lastSuccessfulAllocationTime; private string _name; private CapacityReservationStatus _status; private int? _targetDpus; /// <summary> /// Gets and sets the property AllocatedDpus. /// <para> /// The number of data processing units currently allocated. /// </para> /// </summary> [AWSProperty(Required=true, Min=0)] public int AllocatedDpus { get { return this._allocatedDpus.GetValueOrDefault(); } set { this._allocatedDpus = value; } } // Check to see if AllocatedDpus property is set internal bool IsSetAllocatedDpus() { return this._allocatedDpus.HasValue; } /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The time in UTC epoch millis when the capacity reservation was created. /// </para> /// </summary> [AWSProperty(Required=true)] 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 LastAllocation. /// </summary> public CapacityAllocation LastAllocation { get { return this._lastAllocation; } set { this._lastAllocation = value; } } // Check to see if LastAllocation property is set internal bool IsSetLastAllocation() { return this._lastAllocation != null; } /// <summary> /// Gets and sets the property LastSuccessfulAllocationTime. /// <para> /// The time of the most recent capacity allocation that succeeded. /// </para> /// </summary> public DateTime LastSuccessfulAllocationTime { get { return this._lastSuccessfulAllocationTime.GetValueOrDefault(); } set { this._lastSuccessfulAllocationTime = value; } } // Check to see if LastSuccessfulAllocationTime property is set internal bool IsSetLastSuccessfulAllocationTime() { return this._lastSuccessfulAllocationTime.HasValue; } /// <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 Status. /// <para> /// The status of the capacity reservation. /// </para> /// </summary> [AWSProperty(Required=true)] public CapacityReservationStatus 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 TargetDpus. /// <para> /// The number of data processing units requested. /// </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; } } }
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> /// Contains metadata for a column in a table. /// </summary> public partial class Column { private string _comment; private string _name; private string _type; /// <summary> /// Gets and sets the property Comment. /// <para> /// Optional information about the column. /// </para> /// </summary> [AWSProperty(Min=0, Max=255)] public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the column. /// </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 Type. /// <para> /// The data type of the column. /// </para> /// </summary> [AWSProperty(Min=0, Max=4096)] public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
98
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 the columns in a query execution result. /// </summary> public partial class ColumnInfo { private bool? _caseSensitive; private string _catalogName; private string _label; private string _name; private ColumnNullable _nullable; private int? _precision; private int? _scale; private string _schemaName; private string _tableName; private string _type; /// <summary> /// Gets and sets the property CaseSensitive. /// <para> /// Indicates whether values in the column are case-sensitive. /// </para> /// </summary> public bool CaseSensitive { get { return this._caseSensitive.GetValueOrDefault(); } set { this._caseSensitive = value; } } // Check to see if CaseSensitive property is set internal bool IsSetCaseSensitive() { return this._caseSensitive.HasValue; } /// <summary> /// Gets and sets the property CatalogName. /// <para> /// The catalog to which the query results belong. /// </para> /// </summary> 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 Label. /// <para> /// A column label. /// </para> /// </summary> public string Label { get { return this._label; } set { this._label = value; } } // Check to see if Label property is set internal bool IsSetLabel() { return this._label != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the column. /// </para> /// </summary> [AWSProperty(Required=true)] 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 Nullable. /// <para> /// Indicates the column's nullable status. /// </para> /// </summary> public ColumnNullable Nullable { get { return this._nullable; } set { this._nullable = value; } } // Check to see if Nullable property is set internal bool IsSetNullable() { return this._nullable != null; } /// <summary> /// Gets and sets the property Precision. /// <para> /// For <code>DECIMAL</code> data types, specifies the total number of digits, up to 38. /// For performance reasons, we recommend up to 18 digits. /// </para> /// </summary> public int Precision { get { return this._precision.GetValueOrDefault(); } set { this._precision = value; } } // Check to see if Precision property is set internal bool IsSetPrecision() { return this._precision.HasValue; } /// <summary> /// Gets and sets the property Scale. /// <para> /// For <code>DECIMAL</code> data types, specifies the total number of digits in the fractional /// part of the value. Defaults to 0. /// </para> /// </summary> public int Scale { get { return this._scale.GetValueOrDefault(); } set { this._scale = value; } } // Check to see if Scale property is set internal bool IsSetScale() { return this._scale.HasValue; } /// <summary> /// Gets and sets the property SchemaName. /// <para> /// The schema name (database name) to which the query results belong. /// </para> /// </summary> public string SchemaName { get { return this._schemaName; } set { this._schemaName = value; } } // Check to see if SchemaName property is set internal bool IsSetSchemaName() { return this._schemaName != null; } /// <summary> /// Gets and sets the property TableName. /// <para> /// The table name for the query results. /// </para> /// </summary> 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; } /// <summary> /// Gets and sets the property Type. /// <para> /// The data type of the column. /// </para> /// </summary> [AWSProperty(Required=true)] public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
232
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 CreateCapacityReservation operation. /// Creates a capacity reservation with the specified name and number of requested data /// processing units. /// </summary> public partial class CreateCapacityReservationRequest : AmazonAthenaRequest { private string _name; private List<Tag> _tags = new List<Tag>(); private int? _targetDpus; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the capacity reservation to create. /// </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 Tags. /// <para> /// The tags for the capacity reservation. /// </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; } /// <summary> /// Gets and sets the property TargetDpus. /// <para> /// The 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; } } }
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 CreateCapacityReservation operation. /// </summary> public partial class CreateCapacityReservationResponse : 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 CreateDataCatalog operation. /// Creates (registers) a data catalog with the specified name and properties. Catalogs /// created are visible to all users of the same Amazon Web Services account. /// </summary> public partial class CreateDataCatalogRequest : AmazonAthenaRequest { private string _description; private string _name; private Dictionary<string, string> _parameters = new Dictionary<string, string>(); private List<Tag> _tags = new List<Tag>(); private DataCatalogType _type; /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the data catalog to be created. /// </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 create. 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 creating 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> <li> /// <para> /// The <code>GLUE</code> type takes a catalog ID parameter and is required. The <code> /// <i>catalog_id</i> </code> is the account ID of the Amazon Web Services account to /// which the Glue Data Catalog belongs. /// </para> /// /// <para> /// <code>catalog-id=<i>catalog_id</i> </code> /// </para> /// <ul> <li> /// <para> /// The <code>GLUE</code> data catalog type also applies to the default <code>AwsDataCatalog</code> /// that already exists in your account, of which you can have only one and cannot modify. /// </para> /// </li> <li> /// <para> /// Queries that specify a Glue Data Catalog other than the default <code>AwsDataCatalog</code> /// must be run on Athena engine version 2. /// </para> /// </li> <li> /// <para> /// In Regions where Athena engine version 2 is not available, creating new Glue data /// catalogs results in an <code>INVALID_INPUT</code> error. /// </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 Tags. /// <para> /// A list of comma separated tags to add to the data catalog that is created. /// </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; } /// <summary> /// Gets and sets the property Type. /// <para> /// The type of data catalog to create: <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; } } }
204
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 CreateDataCatalog operation. /// </summary> public partial class CreateDataCatalogResponse : 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 CreateNamedQuery operation. /// Creates a named query in the specified workgroup. Requires that you have access to /// the 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 CreateNamedQueryRequest : AmazonAthenaRequest { private string _clientRequestToken; private string _database; private string _description; private string _name; private string _queryString; 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>CreateNamedQuery</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 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 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; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The name of the workgroup in which the named query is being created. /// </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; } } }
176
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 CreateNamedQuery operation. /// </summary> public partial class CreateNamedQueryResponse : AmazonWebServiceResponse { private string _namedQueryId; /// <summary> /// Gets and sets the property NamedQueryId. /// <para> /// The unique ID 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; } } }
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 CreateNotebook operation. /// Creates an empty <code>ipynb</code> file in the specified Apache Spark enabled workgroup. /// Throws an error if a file in the workgroup with the same name already exists. /// </summary> public partial class CreateNotebookRequest : AmazonAthenaRequest { private string _clientRequestToken; private string _name; private string _workGroup; /// <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 of the <code>ipynb</code> file to be created in the Spark workgroup, without /// the <code>.ipynb</code> extension. /// </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 WorkGroup. /// <para> /// The name of the Spark enabled workgroup in which the notebook will be created. /// </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; } } }
110
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 CreateNotebook operation. /// </summary> public partial class CreateNotebookResponse : AmazonWebServiceResponse { private string _notebookId; /// <summary> /// Gets and sets the property NotebookId. /// <para> /// A unique identifier for the 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> /// Container for the parameters to the CreatePreparedStatement operation. /// Creates a prepared statement for use with SQL queries in Athena. /// </summary> public partial class CreatePreparedStatementRequest : AmazonAthenaRequest { private string _description; private string _queryStatement; private string _statementName; private string _workGroup; /// <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 QueryStatement. /// <para> /// The query string for the prepared statement. /// </para> /// </summary> [AWSProperty(Required=true, 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(Required=true, 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 WorkGroup. /// <para> /// The name of the workgroup to which the prepared statement 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; } } }
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 CreatePreparedStatement operation. /// </summary> public partial class CreatePreparedStatementResponse : 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 CreatePresignedNotebookUrl operation. /// Gets an authentication token and the URL at which the notebook can be accessed. During /// programmatic access, <code>CreatePresignedNotebookUrl</code> must be called every /// 10 minutes to refresh the authentication token. For information about granting programmatic /// access, see <a href="https://docs.aws.amazon.com/athena/latest/ug/setting-up.html#setting-up-grant-programmatic-access">Grant /// programmatic access</a>. /// </summary> public partial class CreatePresignedNotebookUrlRequest : 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 CreatePresignedNotebookUrl operation. /// </summary> public partial class CreatePresignedNotebookUrlResponse : AmazonWebServiceResponse { private string _authToken; private long? _authTokenExpirationTime; private string _notebookUrl; /// <summary> /// Gets and sets the property AuthToken. /// <para> /// The authentication token for the notebook. /// </para> /// </summary> [AWSProperty(Required=true, Max=2048)] public string AuthToken { get { return this._authToken; } set { this._authToken = value; } } // Check to see if AuthToken property is set internal bool IsSetAuthToken() { return this._authToken != null; } /// <summary> /// Gets and sets the property AuthTokenExpirationTime. /// <para> /// The UTC epoch time when the authentication token expires. /// </para> /// </summary> [AWSProperty(Required=true)] public long AuthTokenExpirationTime { get { return this._authTokenExpirationTime.GetValueOrDefault(); } set { this._authTokenExpirationTime = value; } } // Check to see if AuthTokenExpirationTime property is set internal bool IsSetAuthTokenExpirationTime() { return this._authTokenExpirationTime.HasValue; } /// <summary> /// Gets and sets the property NotebookUrl. /// <para> /// The URL of the notebook. The URL includes the authentication token and notebook file /// name and points directly to the opened notebook. /// </para> /// </summary> [AWSProperty(Required=true)] public string NotebookUrl { get { return this._notebookUrl; } set { this._notebookUrl = value; } } // Check to see if NotebookUrl property is set internal bool IsSetNotebookUrl() { return this._notebookUrl != 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 CreateWorkGroup operation. /// Creates a workgroup with the specified name. A workgroup can be an Apache Spark enabled /// workgroup or an Athena SQL workgroup. /// </summary> public partial class CreateWorkGroupRequest : AmazonAthenaRequest { private WorkGroupConfiguration _configuration; private string _description; private string _name; private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property Configuration. /// <para> /// Contains configuration information for creating an Athena SQL workgroup or Spark enabled /// Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon /// S3 where query and calculation results are stored, the encryption configuration, if /// any, used for encrypting query results, whether the Amazon CloudWatch Metrics are /// enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per /// query, if it is specified, and whether workgroup's settings (specified with <code>EnforceWorkGroupConfiguration</code>) /// in the <code>WorkGroupConfiguration</code> override client-side settings. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>. /// </para> /// </summary> public WorkGroupConfiguration Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The workgroup 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 workgroup name. /// </para> /// </summary> [AWSProperty(Required=true)] 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 Tags. /// <para> /// A list of comma separated tags to add to the workgroup that is created. /// </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; } } }
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> /// This is the response object from the CreateWorkGroup operation. /// </summary> public partial class CreateWorkGroupResponse : 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> /// Specifies the KMS key that is used to encrypt the user's data stores in Athena. This /// setting does not apply to Athena SQL workgroups. /// </summary> public partial class CustomerContentEncryptionConfiguration { private string _kmsKey; /// <summary> /// Gets and sets the property KmsKey. /// <para> /// The KMS key that is used to encrypt the user's data stores in Athena. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=2048)] public string KmsKey { get { return this._kmsKey; } set { this._kmsKey = value; } } // Check to see if KmsKey property is set internal bool IsSetKmsKey() { return this._kmsKey != 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> /// Contains metadata information for a database in a data catalog. /// </summary> public partial class Database { private string _description; private string _name; private Dictionary<string, string> _parameters = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Description. /// <para> /// An optional description of the database. /// </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 database. /// </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. /// </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; } } }
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> /// Contains information about a data catalog in an 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 DataCatalog { 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> /// An optional description of 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. 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 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> <li> /// <para> /// The <code>GLUE</code> type takes a catalog ID parameter and is required. The <code> /// <i>catalog_id</i> </code> is the account ID of the Amazon Web Services account to /// which the Glue catalog belongs. /// </para> /// /// <para> /// <code>catalog-id=<i>catalog_id</i> </code> /// </para> /// <ul> <li> /// <para> /// The <code>GLUE</code> data catalog type also applies to the default <code>AwsDataCatalog</code> /// that already exists in your account, of which you can have only one and cannot modify. /// </para> /// </li> <li> /// <para> /// Queries that specify a Glue Data Catalog other than the default <code>AwsDataCatalog</code> /// must be run on Athena engine version 2. /// </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> /// The type of data catalog to create: <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; } } }
184
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 summary information for the data catalog, which includes its name and type. /// </summary> public partial class DataCatalogSummary { private string _catalogName; private DataCatalogType _type; /// <summary> /// Gets and sets the property CatalogName. /// <para> /// The name of the data catalog. The catalog name is 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(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 Type. /// <para> /// The data catalog type. /// </para> /// </summary> 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; } } }
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> /// A piece of data (a field in the table). /// </summary> public partial class Datum { private string _varCharValue; /// <summary> /// Gets and sets the property VarCharValue. /// <para> /// The value of the datum. /// </para> /// </summary> public string VarCharValue { get { return this._varCharValue; } set { this._varCharValue = value; } } // Check to see if VarCharValue property is set internal bool IsSetVarCharValue() { return this._varCharValue != 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 DeleteCapacityReservation operation. /// Deletes a cancelled capacity reservation. A reservation must be cancelled before it /// can be deleted. A deleted reservation is immediately removed from your account and /// can no longer be referenced, including by its ARN. A deleted reservation cannot be /// called by <code>GetCapacityReservation</code>, and deleted reservations do not appear /// in the output of <code>ListCapacityReservations</code>. /// </summary> public partial class DeleteCapacityReservationRequest : AmazonAthenaRequest { private string _name; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the capacity reservation to delete. /// </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; } } }
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 DeleteCapacityReservation operation. /// </summary> public partial class DeleteCapacityReservationResponse : 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 DeleteDataCatalog operation. /// Deletes a data catalog. /// </summary> public partial class DeleteDataCatalogRequest : AmazonAthenaRequest { private string _name; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the data catalog to delete. /// </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; } } }
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 DeleteDataCatalog operation. /// </summary> public partial class DeleteDataCatalogResponse : 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 DeleteNamedQuery operation. /// Deletes the named query if you have access to the workgroup in which the query was /// saved. /// /// /// <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 DeleteNamedQueryRequest : AmazonAthenaRequest { private string _namedQueryId; /// <summary> /// Gets and sets the property NamedQueryId. /// <para> /// The unique ID of the query to delete. /// </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; } } }
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 DeleteNamedQuery operation. /// </summary> public partial class DeleteNamedQueryResponse : 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 DeleteNotebook operation. /// Deletes the specified notebook. /// </summary> public partial class DeleteNotebookRequest : AmazonAthenaRequest { private string _notebookId; /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The ID of the notebook to delete. /// </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; } } }
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 DeleteNotebook operation. /// </summary> public partial class DeleteNotebookResponse : 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 DeletePreparedStatement operation. /// Deletes the prepared statement with the specified name from the specified workgroup. /// </summary> public partial class DeletePreparedStatementRequest : AmazonAthenaRequest { private string _statementName; private string _workGroup; /// <summary> /// Gets and sets the property StatementName. /// <para> /// The name of the prepared statement to delete. /// </para> /// </summary> [AWSProperty(Required=true, 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 WorkGroup. /// <para> /// The workgroup to which the statement to be deleted 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; } } }
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> /// This is the response object from the DeletePreparedStatement operation. /// </summary> public partial class DeletePreparedStatementResponse : 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 DeleteWorkGroup operation. /// Deletes the workgroup with the specified name. The primary workgroup cannot be deleted. /// </summary> public partial class DeleteWorkGroupRequest : AmazonAthenaRequest { private bool? _recursiveDeleteOption; private string _workGroup; /// <summary> /// Gets and sets the property RecursiveDeleteOption. /// <para> /// The option to delete the workgroup and its contents even if the workgroup contains /// any named queries, query executions, or notebooks. /// </para> /// </summary> public bool RecursiveDeleteOption { get { return this._recursiveDeleteOption.GetValueOrDefault(); } set { this._recursiveDeleteOption = value; } } // Check to see if RecursiveDeleteOption property is set internal bool IsSetRecursiveDeleteOption() { return this._recursiveDeleteOption.HasValue; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The unique name of the workgroup to delete. /// </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; } } }
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> /// This is the response object from the DeleteWorkGroup operation. /// </summary> public partial class DeleteWorkGroupResponse : 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> /// 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. /// </summary> public partial class EncryptionConfiguration { private EncryptionOption _encryptionOption; private string _kmsKey; /// <summary> /// Gets and sets the property EncryptionOption. /// <para> /// Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (<code>SSE_S3</code>), /// server-side encryption with KMS-managed keys (<code>SSE_KMS</code>), or client-side /// encryption with KMS-managed keys (<code>CSE_KMS</code>) is used. /// </para> /// /// <para> /// If a query runs in a workgroup and the workgroup overrides client-side settings, then /// the workgroup's setting for encryption is used. It specifies whether query results /// must be encrypted, for all queries that run in this workgroup. /// </para> /// </summary> [AWSProperty(Required=true)] public EncryptionOption EncryptionOption { get { return this._encryptionOption; } set { this._encryptionOption = value; } } // Check to see if EncryptionOption property is set internal bool IsSetEncryptionOption() { return this._encryptionOption != null; } /// <summary> /// Gets and sets the property KmsKey. /// <para> /// For <code>SSE_KMS</code> and <code>CSE_KMS</code>, this is the KMS key ARN or ID. /// </para> /// </summary> public string KmsKey { get { return this._kmsKey; } set { this._kmsKey = value; } } // Check to see if KmsKey property is set internal bool IsSetKmsKey() { return this._kmsKey != null; } } }
86
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 data processing unit (DPU) configuration settings and parameter mappings /// for a notebook engine. /// </summary> public partial class EngineConfiguration { private Dictionary<string, string> _additionalConfigs = new Dictionary<string, string>(); private int? _coordinatorDpuSize; private int? _defaultExecutorDpuSize; private int? _maxConcurrentDpus; private Dictionary<string, string> _sparkProperties = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property AdditionalConfigs. /// <para> /// Contains additional notebook engine <code>MAP&lt;string, string&gt;</code> parameter /// mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter /// server will download and serve, specify a value for the <a>StartSessionRequest$NotebookVersion</a> /// field, and then add a key named <code>NotebookId</code> to <code>AdditionalConfigs</code> /// that has the value of the Athena notebook ID. /// </para> /// </summary> public Dictionary<string, string> AdditionalConfigs { get { return this._additionalConfigs; } set { this._additionalConfigs = value; } } // Check to see if AdditionalConfigs property is set internal bool IsSetAdditionalConfigs() { return this._additionalConfigs != null && this._additionalConfigs.Count > 0; } /// <summary> /// Gets and sets the property CoordinatorDpuSize. /// <para> /// The number of DPUs to use for the coordinator. A coordinator is a special executor /// that orchestrates processing work and manages other executors in a notebook session. /// The default is 1. /// </para> /// </summary> [AWSProperty(Min=1, Max=1)] public int CoordinatorDpuSize { get { return this._coordinatorDpuSize.GetValueOrDefault(); } set { this._coordinatorDpuSize = value; } } // Check to see if CoordinatorDpuSize property is set internal bool IsSetCoordinatorDpuSize() { return this._coordinatorDpuSize.HasValue; } /// <summary> /// Gets and sets the property DefaultExecutorDpuSize. /// <para> /// The default number of DPUs to use for executors. An executor is the smallest unit /// of compute that a notebook session can request from Athena. The default is 1. /// </para> /// </summary> [AWSProperty(Min=1, Max=1)] public int DefaultExecutorDpuSize { get { return this._defaultExecutorDpuSize.GetValueOrDefault(); } set { this._defaultExecutorDpuSize = value; } } // Check to see if DefaultExecutorDpuSize property is set internal bool IsSetDefaultExecutorDpuSize() { return this._defaultExecutorDpuSize.HasValue; } /// <summary> /// Gets and sets the property MaxConcurrentDpus. /// <para> /// The maximum number of DPUs that can run concurrently. /// </para> /// </summary> [AWSProperty(Required=true, Min=2, Max=5000)] public int MaxConcurrentDpus { get { return this._maxConcurrentDpus.GetValueOrDefault(); } set { this._maxConcurrentDpus = value; } } // Check to see if MaxConcurrentDpus property is set internal bool IsSetMaxConcurrentDpus() { return this._maxConcurrentDpus.HasValue; } /// <summary> /// Gets and sets the property SparkProperties. /// <para> /// Specifies custom jar files and Spark properties for use cases like cluster encryption, /// table formats, and general Spark tuning. /// </para> /// </summary> public Dictionary<string, string> SparkProperties { get { return this._sparkProperties; } set { this._sparkProperties = value; } } // Check to see if SparkProperties property is set internal bool IsSetSparkProperties() { return this._sparkProperties != null && this._sparkProperties.Count > 0; } } }
145
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 Athena engine version for running queries, or the PySpark engine version for running /// sessions. /// </summary> public partial class EngineVersion { private string _effectiveEngineVersion; private string _selectedEngineVersion; /// <summary> /// Gets and sets the property EffectiveEngineVersion. /// <para> /// Read only. The engine version on which the query runs. If the user requests a valid /// engine version other than Auto, the effective engine version is the same as the engine /// version that the user requested. If the user requests Auto, the effective engine version /// is chosen by Athena. When a request to update the engine version is made by a <code>CreateWorkGroup</code> /// or <code>UpdateWorkGroup</code> operation, the <code>EffectiveEngineVersion</code> /// field is ignored. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string EffectiveEngineVersion { get { return this._effectiveEngineVersion; } set { this._effectiveEngineVersion = value; } } // Check to see if EffectiveEngineVersion property is set internal bool IsSetEffectiveEngineVersion() { return this._effectiveEngineVersion != null; } /// <summary> /// Gets and sets the property SelectedEngineVersion. /// <para> /// The engine version requested by the user. Possible values are determined by the output /// of <code>ListEngineVersions</code>, including AUTO. The default is AUTO. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string SelectedEngineVersion { get { return this._selectedEngineVersion; } set { this._selectedEngineVersion = value; } } // Check to see if SelectedEngineVersion property is set internal bool IsSetSelectedEngineVersion() { return this._selectedEngineVersion != null; } } }
85
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 an executor. /// </summary> public partial class ExecutorsSummary { private string _executorId; private long? _executorSize; private ExecutorState _executorState; private ExecutorType _executorType; private long? _startDateTime; private long? _terminationDateTime; /// <summary> /// Gets and sets the property ExecutorId. /// <para> /// The UUID of the executor. /// </para> /// </summary> [AWSProperty(Required=true, Max=100000)] public string ExecutorId { get { return this._executorId; } set { this._executorId = value; } } // Check to see if ExecutorId property is set internal bool IsSetExecutorId() { return this._executorId != null; } /// <summary> /// Gets and sets the property ExecutorSize. /// <para> /// The smallest unit of compute that a session can request from Athena. Size is measured /// in data processing unit (DPU) values, a relative measure of processing power. /// </para> /// </summary> public long ExecutorSize { get { return this._executorSize.GetValueOrDefault(); } set { this._executorSize = value; } } // Check to see if ExecutorSize property is set internal bool IsSetExecutorSize() { return this._executorSize.HasValue; } /// <summary> /// Gets and sets the property ExecutorState. /// <para> /// The processing state of the executor. 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 ExecutorState { get { return this._executorState; } set { this._executorState = value; } } // Check to see if ExecutorState property is set internal bool IsSetExecutorState() { return this._executorState != null; } /// <summary> /// Gets and sets the property ExecutorType. /// <para> /// The type of executor used for the application (<code>COORDINATOR</code>, <code>GATEWAY</code>, /// or <code>WORKER</code>). /// </para> /// </summary> public ExecutorType ExecutorType { get { return this._executorType; } set { this._executorType = value; } } // Check to see if ExecutorType property is set internal bool IsSetExecutorType() { return this._executorType != null; } /// <summary> /// Gets and sets the property StartDateTime. /// <para> /// The date and time that the executor started. /// </para> /// </summary> public long 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 TerminationDateTime. /// <para> /// The date and time that the executor was terminated. /// </para> /// </summary> public long TerminationDateTime { get { return this._terminationDateTime.GetValueOrDefault(); } set { this._terminationDateTime = value; } } // Check to see if TerminationDateTime property is set internal bool IsSetTerminationDateTime() { return this._terminationDateTime.HasValue; } } }
179
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 ExportNotebook operation. /// Exports the specified notebook and its metadata. /// </summary> public partial class ExportNotebookRequest : AmazonAthenaRequest { private string _notebookId; /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The ID of the notebook to export. /// </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; } } }
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 ExportNotebook operation. /// </summary> public partial class ExportNotebookResponse : AmazonWebServiceResponse { private NotebookMetadata _notebookMetadata; private string _payload; /// <summary> /// Gets and sets the property NotebookMetadata. /// <para> /// The notebook metadata, including notebook ID, notebook name, and workgroup name. /// </para> /// </summary> public NotebookMetadata NotebookMetadata { get { return this._notebookMetadata; } set { this._notebookMetadata = value; } } // Check to see if NotebookMetadata property is set internal bool IsSetNotebookMetadata() { return this._notebookMetadata != null; } /// <summary> /// Gets and sets the property Payload. /// <para> /// The content of the exported notebook. /// </para> /// </summary> [AWSProperty(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; } } }
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 string for searching notebook names. /// </summary> public partial class FilterDefinition { private string _name; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the notebook to search for. /// </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; } } }
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 GetCalculationExecutionCode operation. /// Retrieves the unencrypted code that was executed for the calculation. /// </summary> public partial class GetCalculationExecutionCodeRequest : 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; } } }
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 GetCalculationExecutionCode operation. /// </summary> public partial class GetCalculationExecutionCodeResponse : AmazonWebServiceResponse { private string _codeBlock; /// <summary> /// Gets and sets the property CodeBlock. /// <para> /// The unencrypted code that was executed for 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; } } }
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 GetCalculationExecution operation. /// Describes a previously submitted calculation execution. /// </summary> public partial class GetCalculationExecutionRequest : 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; } } }
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 GetCalculationExecution operation. /// </summary> public partial class GetCalculationExecutionResponse : AmazonWebServiceResponse { private string _calculationExecutionId; private string _description; private CalculationResult _result; private string _sessionId; private CalculationStatistics _statistics; private CalculationStatus _status; private string _workingDirectory; /// <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 Description. /// <para> /// The description of the calculation execution. /// </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 Result. /// <para> /// Contains result information. This field is populated only if the calculation is completed. /// </para> /// </summary> public CalculationResult Result { get { return this._result; } set { this._result = value; } } // Check to see if Result property is set internal bool IsSetResult() { return this._result != null; } /// <summary> /// Gets and sets the property SessionId. /// <para> /// The session ID that the calculation ran in. /// </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 Statistics. /// <para> /// Contains information about the data processing unit (DPU) execution time and progress. /// This field is populated only when statistics are available. /// </para> /// </summary> public CalculationStatistics 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> /// Contains information about the status of the calculation. /// </para> /// </summary> public CalculationStatus 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 WorkingDirectory. /// <para> /// The Amazon S3 location in which calculation results are stored. /// </para> /// </summary> [AWSProperty(Max=1024)] 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; } } }
176
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 GetCalculationExecutionStatus operation. /// Gets the status of a current calculation. /// </summary> public partial class GetCalculationExecutionStatusRequest : 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; } } }
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 GetCalculationExecutionStatus operation. /// </summary> public partial class GetCalculationExecutionStatusResponse : AmazonWebServiceResponse { private CalculationStatistics _statistics; private CalculationStatus _status; /// <summary> /// Gets and sets the property Statistics. /// <para> /// Contains information about the DPU execution time and progress. /// </para> /// </summary> public CalculationStatistics 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> /// Contains information about the calculation execution status. /// </para> /// </summary> public CalculationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
76
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 GetCapacityAssignmentConfiguration operation. /// Gets the capacity assignment configuration for a capacity reservation, if one exists. /// </summary> public partial class GetCapacityAssignmentConfigurationRequest : AmazonAthenaRequest { private string _capacityReservationName; /// <summary> /// Gets and sets the property CapacityReservationName. /// <para> /// The name of the capacity reservation to retrieve the 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; } } }
60
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 GetCapacityAssignmentConfiguration operation. /// </summary> public partial class GetCapacityAssignmentConfigurationResponse : AmazonWebServiceResponse { private CapacityAssignmentConfiguration _capacityAssignmentConfiguration; /// <summary> /// Gets and sets the property CapacityAssignmentConfiguration. /// <para> /// The requested capacity assignment configuration for the specified capacity reservation. /// </para> /// </summary> [AWSProperty(Required=true)] public CapacityAssignmentConfiguration CapacityAssignmentConfiguration { get { return this._capacityAssignmentConfiguration; } set { this._capacityAssignmentConfiguration = value; } } // Check to see if CapacityAssignmentConfiguration property is set internal bool IsSetCapacityAssignmentConfiguration() { return this._capacityAssignmentConfiguration != 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 GetCapacityReservation operation. /// Returns information about the capacity reservation with the specified name. /// </summary> public partial class GetCapacityReservationRequest : AmazonAthenaRequest { private string _name; /// <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; } } }
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 GetCapacityReservation operation. /// </summary> public partial class GetCapacityReservationResponse : AmazonWebServiceResponse { private CapacityReservation _capacityReservation; /// <summary> /// Gets and sets the property CapacityReservation. /// <para> /// The requested capacity reservation structure. /// </para> /// </summary> [AWSProperty(Required=true)] public CapacityReservation CapacityReservation { get { return this._capacityReservation; } set { this._capacityReservation = value; } } // Check to see if CapacityReservation property is set internal bool IsSetCapacityReservation() { return this._capacityReservation != 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 GetDatabase operation. /// Returns a database object for the specified database and data catalog. /// </summary> public partial class GetDatabaseRequest : AmazonAthenaRequest { private string _catalogName; private string _databaseName; /// <summary> /// Gets and sets the property CatalogName. /// <para> /// The name of the data catalog that contains the database 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 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; } } }
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> /// This is the response object from the GetDatabase operation. /// </summary> public partial class GetDatabaseResponse : AmazonWebServiceResponse { private Database _database; /// <summary> /// Gets and sets the property Database. /// <para> /// The database returned. /// </para> /// </summary> public Database Database { get { return this._database; } set { this._database = value; } } // Check to see if Database property is set internal bool IsSetDatabase() { return this._database != 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 GetDataCatalog operation. /// Returns the specified data catalog. /// </summary> public partial class GetDataCatalogRequest : AmazonAthenaRequest { private string _name; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the data catalog to return. /// </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; } } }
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 GetDataCatalog operation. /// </summary> public partial class GetDataCatalogResponse : AmazonWebServiceResponse { private DataCatalog _dataCatalog; /// <summary> /// Gets and sets the property DataCatalog. /// <para> /// The data catalog returned. /// </para> /// </summary> public DataCatalog DataCatalog { get { return this._dataCatalog; } set { this._dataCatalog = value; } } // Check to see if DataCatalog property is set internal bool IsSetDataCatalog() { return this._dataCatalog != 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 GetNamedQuery operation. /// Returns information about a single query. Requires that you have access to the workgroup /// in which the query was saved. /// </summary> public partial class GetNamedQueryRequest : AmazonAthenaRequest { private string _namedQueryId; /// <summary> /// Gets and sets the property NamedQueryId. /// <para> /// The unique ID of the query. Use <a>ListNamedQueries</a> to get query IDs. /// </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; } } }
60
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 GetNamedQuery operation. /// </summary> public partial class GetNamedQueryResponse : AmazonWebServiceResponse { private NamedQuery _namedQuery; /// <summary> /// Gets and sets the property NamedQuery. /// <para> /// Information about the query. /// </para> /// </summary> public NamedQuery NamedQuery { get { return this._namedQuery; } set { this._namedQuery = value; } } // Check to see if NamedQuery property is set internal bool IsSetNamedQuery() { return this._namedQuery != 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 GetNotebookMetadata operation. /// Retrieves notebook metadata for the specified notebook ID. /// </summary> public partial class GetNotebookMetadataRequest : AmazonAthenaRequest { private string _notebookId; /// <summary> /// Gets and sets the property NotebookId. /// <para> /// The ID of the notebook whose metadata is to be retrieved. /// </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; } } }
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 GetNotebookMetadata operation. /// </summary> public partial class GetNotebookMetadataResponse : AmazonWebServiceResponse { private NotebookMetadata _notebookMetadata; /// <summary> /// Gets and sets the property NotebookMetadata. /// <para> /// The metadata that is returned for the specified notebook ID. /// </para> /// </summary> public NotebookMetadata NotebookMetadata { get { return this._notebookMetadata; } set { this._notebookMetadata = value; } } // Check to see if NotebookMetadata property is set internal bool IsSetNotebookMetadata() { return this._notebookMetadata != 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 GetPreparedStatement operation. /// Retrieves the prepared statement with the specified name from the specified workgroup. /// </summary> public partial class GetPreparedStatementRequest : AmazonAthenaRequest { private string _statementName; private string _workGroup; /// <summary> /// Gets and sets the property StatementName. /// <para> /// The name of the prepared statement to retrieve. /// </para> /// </summary> [AWSProperty(Required=true, 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 WorkGroup. /// <para> /// The workgroup to which the statement to be retrieved 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; } } }
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> /// This is the response object from the GetPreparedStatement operation. /// </summary> public partial class GetPreparedStatementResponse : AmazonWebServiceResponse { private PreparedStatement _preparedStatement; /// <summary> /// Gets and sets the property PreparedStatement. /// <para> /// The name of the prepared statement that was retrieved. /// </para> /// </summary> public PreparedStatement PreparedStatement { get { return this._preparedStatement; } set { this._preparedStatement = value; } } // Check to see if PreparedStatement property is set internal bool IsSetPreparedStatement() { return this._preparedStatement != 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 GetQueryExecution operation. /// Returns information about a single execution of a query if you have access to the /// workgroup in which the query ran. Each time a query executes, information about the /// query execution is saved with a unique ID. /// </summary> public partial class GetQueryExecutionRequest : AmazonAthenaRequest { private string _queryExecutionId; /// <summary> /// Gets and sets the property QueryExecutionId. /// <para> /// The unique ID of the query execution. /// </para> /// </summary> [AWSProperty(Required=true, 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; } } }
61
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 GetQueryExecution operation. /// </summary> public partial class GetQueryExecutionResponse : AmazonWebServiceResponse { private QueryExecution _queryExecution; /// <summary> /// Gets and sets the property QueryExecution. /// <para> /// Information about the query execution. /// </para> /// </summary> public QueryExecution QueryExecution { get { return this._queryExecution; } set { this._queryExecution = value; } } // Check to see if QueryExecution property is set internal bool IsSetQueryExecution() { return this._queryExecution != 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 GetQueryResults operation. /// Streams the results of a single query execution specified by <code>QueryExecutionId</code> /// from the Athena query results location in Amazon S3. 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> in the <i>Amazon Athena User Guide</i>. /// This request does not execute the query but returns results. Use <a>StartQueryExecution</a> /// to run a query. /// /// /// <para> /// To stream query results successfully, the IAM principal with permission to call <code>GetQueryResults</code> /// also must have permissions to the Amazon S3 <code>GetObject</code> action for the /// Athena query results location. /// </para> /// <important> /// <para> /// IAM principals with permission to the Amazon S3 <code>GetObject</code> action for /// the query results location are able to retrieve query results from Amazon S3 even /// if permission to the <code>GetQueryResults</code> action is denied. To restrict user /// or role access, ensure that Amazon S3 permissions to the Athena query location are /// denied. /// </para> /// </important> /// </summary> public partial class GetQueryResultsRequest : AmazonAthenaRequest { private int? _maxResults; private string _nextToken; private string _queryExecutionId; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of results (rows) to return in this request. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] 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 QueryExecutionId. /// <para> /// The unique ID of the query execution. /// </para> /// </summary> [AWSProperty(Required=true, 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; } } }
122
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 GetQueryResults operation. /// </summary> public partial class GetQueryResultsResponse : AmazonWebServiceResponse { private string _nextToken; private ResultSet _resultSet; private long? _updateCount; /// <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 ResultSet. /// <para> /// The results of the query execution. /// </para> /// </summary> public ResultSet ResultSet { get { return this._resultSet; } set { this._resultSet = value; } } // Check to see if ResultSet property is set internal bool IsSetResultSet() { return this._resultSet != null; } /// <summary> /// Gets and sets the property UpdateCount. /// <para> /// The number of rows inserted with a <code>CREATE TABLE AS SELECT</code> statement. /// /// </para> /// </summary> public long UpdateCount { get { return this._updateCount.GetValueOrDefault(); } set { this._updateCount = value; } } // Check to see if UpdateCount property is set internal bool IsSetUpdateCount() { return this._updateCount.HasValue; } } }
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 GetQueryRuntimeStatistics operation. /// Returns query execution runtime statistics related to a single execution of a query /// if you have access to the workgroup in which the query ran. Query execution runtime /// statistics are returned only when <a>QueryExecutionStatus$State</a> is in a SUCCEEDED /// or FAILED state. Stage-level input and output row count and data size statistics are /// not shown when a query has row-level filters defined in Lake Formation. /// </summary> public partial class GetQueryRuntimeStatisticsRequest : AmazonAthenaRequest { private string _queryExecutionId; /// <summary> /// Gets and sets the property QueryExecutionId. /// <para> /// The unique ID of the query execution. /// </para> /// </summary> [AWSProperty(Required=true, 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; } } }
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 GetQueryRuntimeStatistics operation. /// </summary> public partial class GetQueryRuntimeStatisticsResponse : AmazonWebServiceResponse { private QueryRuntimeStatistics _queryRuntimeStatistics; /// <summary> /// Gets and sets the property QueryRuntimeStatistics. /// <para> /// Runtime statistics about the query execution. /// </para> /// </summary> public QueryRuntimeStatistics QueryRuntimeStatistics { get { return this._queryRuntimeStatistics; } set { this._queryRuntimeStatistics = value; } } // Check to see if QueryRuntimeStatistics property is set internal bool IsSetQueryRuntimeStatistics() { return this._queryRuntimeStatistics != 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 GetSession operation. /// Gets the full details of a previously created session, including the session status /// and configuration. /// </summary> public partial class GetSessionRequest : 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; } } }
60
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 GetSession operation. /// </summary> public partial class GetSessionResponse : AmazonWebServiceResponse { private string _description; private EngineConfiguration _engineConfiguration; private string _engineVersion; private string _notebookVersion; private SessionConfiguration _sessionConfiguration; private string _sessionId; private SessionStatistics _statistics; private SessionStatus _status; private string _workGroup; /// <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 configuration information like DPU usage. /// </para> /// </summary> 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 EngineVersion. /// <para> /// The engine version used by the session (for example, <code>PySpark engine version /// 3</code>). You can get a list of engine versions by calling <a>ListEngineVersions</a>. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string 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 SessionConfiguration. /// <para> /// Contains the workgroup configuration information used by the session. /// </para> /// </summary> public SessionConfiguration SessionConfiguration { get { return this._sessionConfiguration; } set { this._sessionConfiguration = value; } } // Check to see if SessionConfiguration property is set internal bool IsSetSessionConfiguration() { return this._sessionConfiguration != 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 Statistics. /// <para> /// Contains the DPU execution time. /// </para> /// </summary> public SessionStatistics 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> /// Contains information about the status of the session. /// </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; } /// <summary> /// Gets and sets the property WorkGroup. /// <para> /// The workgroup to which the session 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; } } }
214
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 GetSessionStatus operation. /// Gets the current status of a session. /// </summary> public partial class GetSessionStatusRequest : 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; } } }
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 GetSessionStatus operation. /// </summary> public partial class GetSessionStatusResponse : AmazonWebServiceResponse { private string _sessionId; private SessionStatus _status; /// <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 status of the session. /// </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; } } }
77