repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.Amplify
{
/// <summary>
/// Configuration for accessing Amazon Amplify service
/// </summary>
public static class AmazonAmplifyDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// Amplify
/// </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 amplify-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.Amplify.Endpoints
{
/// <summary>
/// Contains parameters used for resolving Amplify endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal AmplifyEndpointProvider and AmplifyEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class AmplifyEndpointParameters : EndpointParameters
{
/// <summary>
/// AmplifyEndpointParameters constructor
/// </summary>
public AmplifyEndpointParameters()
{
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 amplify-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.Amplify
{
///<summary>
/// Common exception for the Amplify service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonAmplifyException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonAmplifyException
/// </summary>
/// <param name="message"></param>
public AmazonAmplifyException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonAmplifyException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyException
/// </summary>
/// <param name="innerException"></param>
public AmazonAmplifyException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAmplifyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonAmplifyException
/// </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 AmazonAmplifyException(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 AmazonAmplifyException 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 AmazonAmplifyException(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 amplify-2017-07-25.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Amplify
{
/// <summary>
/// Constants used for properties of type DomainStatus.
/// </summary>
public class DomainStatus : ConstantClass
{
/// <summary>
/// Constant AVAILABLE for DomainStatus
/// </summary>
public static readonly DomainStatus AVAILABLE = new DomainStatus("AVAILABLE");
/// <summary>
/// Constant CREATING for DomainStatus
/// </summary>
public static readonly DomainStatus CREATING = new DomainStatus("CREATING");
/// <summary>
/// Constant FAILED for DomainStatus
/// </summary>
public static readonly DomainStatus FAILED = new DomainStatus("FAILED");
/// <summary>
/// Constant IN_PROGRESS for DomainStatus
/// </summary>
public static readonly DomainStatus IN_PROGRESS = new DomainStatus("IN_PROGRESS");
/// <summary>
/// Constant PENDING_DEPLOYMENT for DomainStatus
/// </summary>
public static readonly DomainStatus PENDING_DEPLOYMENT = new DomainStatus("PENDING_DEPLOYMENT");
/// <summary>
/// Constant PENDING_VERIFICATION for DomainStatus
/// </summary>
public static readonly DomainStatus PENDING_VERIFICATION = new DomainStatus("PENDING_VERIFICATION");
/// <summary>
/// Constant REQUESTING_CERTIFICATE for DomainStatus
/// </summary>
public static readonly DomainStatus REQUESTING_CERTIFICATE = new DomainStatus("REQUESTING_CERTIFICATE");
/// <summary>
/// Constant UPDATING for DomainStatus
/// </summary>
public static readonly DomainStatus UPDATING = new DomainStatus("UPDATING");
/// <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 DomainStatus(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 DomainStatus FindValue(string value)
{
return FindValue<DomainStatus>(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 DomainStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type JobStatus.
/// </summary>
public class JobStatus : ConstantClass
{
/// <summary>
/// Constant CANCELLED for JobStatus
/// </summary>
public static readonly JobStatus CANCELLED = new JobStatus("CANCELLED");
/// <summary>
/// Constant CANCELLING for JobStatus
/// </summary>
public static readonly JobStatus CANCELLING = new JobStatus("CANCELLING");
/// <summary>
/// Constant FAILED for JobStatus
/// </summary>
public static readonly JobStatus FAILED = new JobStatus("FAILED");
/// <summary>
/// Constant PENDING for JobStatus
/// </summary>
public static readonly JobStatus PENDING = new JobStatus("PENDING");
/// <summary>
/// Constant PROVISIONING for JobStatus
/// </summary>
public static readonly JobStatus PROVISIONING = new JobStatus("PROVISIONING");
/// <summary>
/// Constant RUNNING for JobStatus
/// </summary>
public static readonly JobStatus RUNNING = new JobStatus("RUNNING");
/// <summary>
/// Constant SUCCEED for JobStatus
/// </summary>
public static readonly JobStatus SUCCEED = new JobStatus("SUCCEED");
/// <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 JobStatus(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 JobStatus FindValue(string value)
{
return FindValue<JobStatus>(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 JobStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type JobType.
/// </summary>
public class JobType : ConstantClass
{
/// <summary>
/// Constant MANUAL for JobType
/// </summary>
public static readonly JobType MANUAL = new JobType("MANUAL");
/// <summary>
/// Constant RELEASE for JobType
/// </summary>
public static readonly JobType RELEASE = new JobType("RELEASE");
/// <summary>
/// Constant RETRY for JobType
/// </summary>
public static readonly JobType RETRY = new JobType("RETRY");
/// <summary>
/// Constant WEB_HOOK for JobType
/// </summary>
public static readonly JobType WEB_HOOK = new JobType("WEB_HOOK");
/// <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 JobType(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 JobType FindValue(string value)
{
return FindValue<JobType>(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 JobType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Platform.
/// </summary>
public class Platform : ConstantClass
{
/// <summary>
/// Constant WEB for Platform
/// </summary>
public static readonly Platform WEB = new Platform("WEB");
/// <summary>
/// Constant WEB_COMPUTE for Platform
/// </summary>
public static readonly Platform WEB_COMPUTE = new Platform("WEB_COMPUTE");
/// <summary>
/// Constant WEB_DYNAMIC for Platform
/// </summary>
public static readonly Platform WEB_DYNAMIC = new Platform("WEB_DYNAMIC");
/// <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 Platform(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 Platform FindValue(string value)
{
return FindValue<Platform>(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 Platform(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type RepositoryCloneMethod.
/// </summary>
public class RepositoryCloneMethod : ConstantClass
{
/// <summary>
/// Constant SIGV4 for RepositoryCloneMethod
/// </summary>
public static readonly RepositoryCloneMethod SIGV4 = new RepositoryCloneMethod("SIGV4");
/// <summary>
/// Constant SSH for RepositoryCloneMethod
/// </summary>
public static readonly RepositoryCloneMethod SSH = new RepositoryCloneMethod("SSH");
/// <summary>
/// Constant TOKEN for RepositoryCloneMethod
/// </summary>
public static readonly RepositoryCloneMethod TOKEN = new RepositoryCloneMethod("TOKEN");
/// <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 RepositoryCloneMethod(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 RepositoryCloneMethod FindValue(string value)
{
return FindValue<RepositoryCloneMethod>(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 RepositoryCloneMethod(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Stage.
/// </summary>
public class Stage : ConstantClass
{
/// <summary>
/// Constant BETA for Stage
/// </summary>
public static readonly Stage BETA = new Stage("BETA");
/// <summary>
/// Constant DEVELOPMENT for Stage
/// </summary>
public static readonly Stage DEVELOPMENT = new Stage("DEVELOPMENT");
/// <summary>
/// Constant EXPERIMENTAL for Stage
/// </summary>
public static readonly Stage EXPERIMENTAL = new Stage("EXPERIMENTAL");
/// <summary>
/// Constant PRODUCTION for Stage
/// </summary>
public static readonly Stage PRODUCTION = new Stage("PRODUCTION");
/// <summary>
/// Constant PULL_REQUEST for Stage
/// </summary>
public static readonly Stage PULL_REQUEST = new Stage("PULL_REQUEST");
/// <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 Stage(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 Stage FindValue(string value)
{
return FindValue<Stage>(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 Stage(string value)
{
return FindValue(value);
}
}
} | 398 |
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 amplify-2017-07-25.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.Amplify.Internal
{
/// <summary>
/// Amazon Amplify endpoint provider.
/// Resolves endpoint for given set of AmplifyEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonAmplifyEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for AmplifyEndpointParameters
/// </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 ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
if (IsSet(refs["Endpoint"]) && (refs["url"] = ParseURL((string)refs["Endpoint"])) != null)
{
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 (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://amplify-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://amplify-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://amplify.{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://amplify.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("Cannot resolve endpoint");
}
}
} | 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 amplify-2017-07-25.normal.json service model.
*/
using System;
using Amazon.Amplify.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.Amplify.Endpoints;
#pragma warning disable 1591
namespace Amazon.Amplify.Internal
{
/// <summary>
/// Amazon Amplify endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for Amplify service requests.
/// Collects values for AmplifyEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AmplifyEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonAmplifyEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonAmplifyConfig)requestContext.ClientConfig;
var result = new AmplifyEndpointParameters();
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 amplify-2017-07-25.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.Amplify.Internal
{
/// <summary>
/// Service metadata for Amazon Amplify service
/// </summary>
public partial class AmazonAmplifyMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "Amplify";
}
}
/// <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 amplify-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.Amplify
{
/// <summary>
/// Base class for Amplify operation requests.
/// </summary>
public partial class AmazonAmplifyRequest : 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Represents the different branches of a repository for building, deploying, and hosting
/// an Amplify app.
/// </summary>
public partial class App
{
private string _appArn;
private string _appId;
private AutoBranchCreationConfig _autoBranchCreationConfig;
private List<string> _autoBranchCreationPatterns = new List<string>();
private string _basicAuthCredentials;
private string _buildSpec;
private DateTime? _createTime;
private string _customHeaders;
private List<CustomRule> _customRules = new List<CustomRule>();
private string _defaultDomain;
private string _description;
private bool? _enableAutoBranchCreation;
private bool? _enableBasicAuth;
private bool? _enableBranchAutoBuild;
private bool? _enableBranchAutoDeletion;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _iamServiceRoleArn;
private string _name;
private Platform _platform;
private ProductionBranch _productionBranch;
private string _repository;
private RepositoryCloneMethod _repositoryCloneMethod;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private DateTime? _updateTime;
/// <summary>
/// Gets and sets the property AppArn.
/// <para>
/// The Amazon Resource Name (ARN) of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string AppArn
{
get { return this._appArn; }
set { this._appArn = value; }
}
// Check to see if AppArn property is set
internal bool IsSetAppArn()
{
return this._appArn != null;
}
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property AutoBranchCreationConfig.
/// <para>
/// Describes the automated branch creation configuration for the Amplify app.
/// </para>
/// </summary>
public AutoBranchCreationConfig AutoBranchCreationConfig
{
get { return this._autoBranchCreationConfig; }
set { this._autoBranchCreationConfig = value; }
}
// Check to see if AutoBranchCreationConfig property is set
internal bool IsSetAutoBranchCreationConfig()
{
return this._autoBranchCreationConfig != null;
}
/// <summary>
/// Gets and sets the property AutoBranchCreationPatterns.
/// <para>
/// Describes the automated branch creation glob patterns for the Amplify app.
/// </para>
/// </summary>
public List<string> AutoBranchCreationPatterns
{
get { return this._autoBranchCreationPatterns; }
set { this._autoBranchCreationPatterns = value; }
}
// Check to see if AutoBranchCreationPatterns property is set
internal bool IsSetAutoBranchCreationPatterns()
{
return this._autoBranchCreationPatterns != null && this._autoBranchCreationPatterns.Count > 0;
}
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The basic authorization credentials for branches for the Amplify app. You must base64-encode
/// the authorization credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// Describes the content of the build specification (build spec) for the Amplify app.
///
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property CreateTime.
/// <para>
/// Creates a date and time for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime CreateTime
{
get { return this._createTime.GetValueOrDefault(); }
set { this._createTime = value; }
}
// Check to see if CreateTime property is set
internal bool IsSetCreateTime()
{
return this._createTime.HasValue;
}
/// <summary>
/// Gets and sets the property CustomHeaders.
/// <para>
/// Describes the custom HTTP headers for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25000)]
public string CustomHeaders
{
get { return this._customHeaders; }
set { this._customHeaders = value; }
}
// Check to see if CustomHeaders property is set
internal bool IsSetCustomHeaders()
{
return this._customHeaders != null;
}
/// <summary>
/// Gets and sets the property CustomRules.
/// <para>
/// Describes the custom redirect and rewrite rules for the Amplify app.
/// </para>
/// </summary>
public List<CustomRule> CustomRules
{
get { return this._customRules; }
set { this._customRules = value; }
}
// Check to see if CustomRules property is set
internal bool IsSetCustomRules()
{
return this._customRules != null && this._customRules.Count > 0;
}
/// <summary>
/// Gets and sets the property DefaultDomain.
/// <para>
/// The default domain for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1000)]
public string DefaultDomain
{
get { return this._defaultDomain; }
set { this._defaultDomain = value; }
}
// Check to see if DefaultDomain property is set
internal bool IsSetDefaultDomain()
{
return this._defaultDomain != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
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 EnableAutoBranchCreation.
/// <para>
/// Enables automated branch creation for the Amplify app.
/// </para>
/// </summary>
public bool EnableAutoBranchCreation
{
get { return this._enableAutoBranchCreation.GetValueOrDefault(); }
set { this._enableAutoBranchCreation = value; }
}
// Check to see if EnableAutoBranchCreation property is set
internal bool IsSetEnableAutoBranchCreation()
{
return this._enableAutoBranchCreation.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for the Amplify app's branches.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBranchAutoBuild.
/// <para>
/// Enables the auto-building of branches for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableBranchAutoBuild
{
get { return this._enableBranchAutoBuild.GetValueOrDefault(); }
set { this._enableBranchAutoBuild = value; }
}
// Check to see if EnableBranchAutoBuild property is set
internal bool IsSetEnableBranchAutoBuild()
{
return this._enableBranchAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBranchAutoDeletion.
/// <para>
/// Automatically disconnect a branch in the Amplify Console when you delete a branch
/// from your Git repository.
/// </para>
/// </summary>
public bool EnableBranchAutoDeletion
{
get { return this._enableBranchAutoDeletion.GetValueOrDefault(); }
set { this._enableBranchAutoDeletion = value; }
}
// Check to see if EnableBranchAutoDeletion property is set
internal bool IsSetEnableBranchAutoDeletion()
{
return this._enableBranchAutoDeletion.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property IamServiceRoleArn.
/// <para>
/// The AWS Identity and Access Management (IAM) service role for the Amazon Resource
/// Name (ARN) of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1000)]
public string IamServiceRoleArn
{
get { return this._iamServiceRoleArn; }
set { this._iamServiceRoleArn = value; }
}
// Check to see if IamServiceRoleArn property is set
internal bool IsSetIamServiceRoleArn()
{
return this._iamServiceRoleArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name for the Amplify app.
/// </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 Platform.
/// <para>
/// The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
/// For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>.
/// For an app requiring Amplify Hosting's original SSR support only, set the platform
/// type to <code>WEB_DYNAMIC</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Platform Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
/// <summary>
/// Gets and sets the property ProductionBranch.
/// <para>
/// Describes the information about a production branch of the Amplify app.
/// </para>
/// </summary>
public ProductionBranch ProductionBranch
{
get { return this._productionBranch; }
set { this._productionBranch = value; }
}
// Check to see if ProductionBranch property is set
internal bool IsSetProductionBranch()
{
return this._productionBranch != null;
}
/// <summary>
/// Gets and sets the property Repository.
/// <para>
/// The Git repository for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string Repository
{
get { return this._repository; }
set { this._repository = value; }
}
// Check to see if Repository property is set
internal bool IsSetRepository()
{
return this._repository != null;
}
/// <summary>
/// Gets and sets the property RepositoryCloneMethod. <note>
/// <para>
/// This is for internal use.
/// </para>
/// </note>
/// <para>
/// The Amplify service uses this parameter to specify the authentication protocol to
/// use to access the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code>
/// for a GitHub repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit
/// repository, and <code>SSH</code> for GitLab and Bitbucket repositories.
/// </para>
/// </summary>
public RepositoryCloneMethod RepositoryCloneMethod
{
get { return this._repositoryCloneMethod; }
set { this._repositoryCloneMethod = value; }
}
// Check to see if RepositoryCloneMethod property is set
internal bool IsSetRepositoryCloneMethod()
{
return this._repositoryCloneMethod != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> 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 UpdateTime.
/// <para>
/// Updates the date and time for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime UpdateTime
{
get { return this._updateTime.GetValueOrDefault(); }
set { this._updateTime = value; }
}
// Check to see if UpdateTime property is set
internal bool IsSetUpdateTime()
{
return this._updateTime.HasValue;
}
}
} | 526 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes an artifact.
/// </summary>
public partial class Artifact
{
private string _artifactFileName;
private string _artifactId;
/// <summary>
/// Gets and sets the property ArtifactFileName.
/// <para>
/// The file name for the artifact.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string ArtifactFileName
{
get { return this._artifactFileName; }
set { this._artifactFileName = value; }
}
// Check to see if ArtifactFileName property is set
internal bool IsSetArtifactFileName()
{
return this._artifactFileName != null;
}
/// <summary>
/// Gets and sets the property ArtifactId.
/// <para>
/// The unique ID for the artifact.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string ArtifactId
{
get { return this._artifactId; }
set { this._artifactId = value; }
}
// Check to see if ArtifactId property is set
internal bool IsSetArtifactId()
{
return this._artifactId != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes the automated branch creation configuration.
/// </summary>
public partial class AutoBranchCreationConfig
{
private string _basicAuthCredentials;
private string _buildSpec;
private bool? _enableAutoBuild;
private bool? _enableBasicAuth;
private bool? _enablePerformanceMode;
private bool? _enablePullRequestPreview;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _framework;
private string _pullRequestEnvironmentName;
private Stage _stage;
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The basic authorization credentials for the autocreated branch. You must base64-encode
/// the authorization credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// The build specification (build spec) for the autocreated branch.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property EnableAutoBuild.
/// <para>
/// Enables auto building for the autocreated branch.
/// </para>
/// </summary>
public bool EnableAutoBuild
{
get { return this._enableAutoBuild.GetValueOrDefault(); }
set { this._enableAutoBuild = value; }
}
// Check to see if EnableAutoBuild property is set
internal bool IsSetEnableAutoBuild()
{
return this._enableAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for the autocreated branch.
/// </para>
/// </summary>
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePerformanceMode.
/// <para>
/// Enables performance mode for the branch.
/// </para>
///
/// <para>
/// Performance mode optimizes for faster hosting performance by keeping content cached
/// at the edge for a longer interval. When performance mode is enabled, hosting configuration
/// or code changes can take up to 10 minutes to roll out.
/// </para>
/// </summary>
public bool EnablePerformanceMode
{
get { return this._enablePerformanceMode.GetValueOrDefault(); }
set { this._enablePerformanceMode = value; }
}
// Check to see if EnablePerformanceMode property is set
internal bool IsSetEnablePerformanceMode()
{
return this._enablePerformanceMode.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePullRequestPreview.
/// <para>
/// Enables pull request previews for the autocreated branch.
/// </para>
/// </summary>
public bool EnablePullRequestPreview
{
get { return this._enablePullRequestPreview.GetValueOrDefault(); }
set { this._enablePullRequestPreview = value; }
}
// Check to see if EnablePullRequestPreview property is set
internal bool IsSetEnablePullRequestPreview()
{
return this._enablePullRequestPreview.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables for the autocreated branch.
/// </para>
/// </summary>
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property Framework.
/// <para>
/// The framework for the autocreated branch.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string Framework
{
get { return this._framework; }
set { this._framework = value; }
}
// Check to see if Framework property is set
internal bool IsSetFramework()
{
return this._framework != null;
}
/// <summary>
/// Gets and sets the property PullRequestEnvironmentName.
/// <para>
/// The Amplify environment name for the pull request.
/// </para>
/// </summary>
[AWSProperty(Max=20)]
public string PullRequestEnvironmentName
{
get { return this._pullRequestEnvironmentName; }
set { this._pullRequestEnvironmentName = value; }
}
// Check to see if PullRequestEnvironmentName property is set
internal bool IsSetPullRequestEnvironmentName()
{
return this._pullRequestEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Stage.
/// <para>
/// Describes the current stage for the autocreated branch.
/// </para>
/// </summary>
public Stage Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
}
} | 239 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes the backend environment for an Amplify app.
/// </summary>
public partial class BackendEnvironment
{
private string _backendEnvironmentArn;
private DateTime? _createTime;
private string _deploymentArtifacts;
private string _environmentName;
private string _stackName;
private DateTime? _updateTime;
/// <summary>
/// Gets and sets the property BackendEnvironmentArn.
/// <para>
/// The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=1000)]
public string BackendEnvironmentArn
{
get { return this._backendEnvironmentArn; }
set { this._backendEnvironmentArn = value; }
}
// Check to see if BackendEnvironmentArn property is set
internal bool IsSetBackendEnvironmentArn()
{
return this._backendEnvironmentArn != null;
}
/// <summary>
/// Gets and sets the property CreateTime.
/// <para>
/// The creation date and time for a backend environment that is part of an Amplify app.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime CreateTime
{
get { return this._createTime.GetValueOrDefault(); }
set { this._createTime = value; }
}
// Check to see if CreateTime property is set
internal bool IsSetCreateTime()
{
return this._createTime.HasValue;
}
/// <summary>
/// Gets and sets the property DeploymentArtifacts.
/// <para>
/// The name of deployment artifacts.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1000)]
public string DeploymentArtifacts
{
get { return this._deploymentArtifacts; }
set { this._deploymentArtifacts = value; }
}
// Check to see if DeploymentArtifacts property is set
internal bool IsSetDeploymentArtifacts()
{
return this._deploymentArtifacts != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name for a backend environment that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The AWS CloudFormation stack name of a backend environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
/// <summary>
/// Gets and sets the property UpdateTime.
/// <para>
/// The last updated date and time for a backend environment that is part of an Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime UpdateTime
{
get { return this._updateTime.GetValueOrDefault(); }
set { this._updateTime = value; }
}
// Check to see if UpdateTime property is set
internal bool IsSetUpdateTime()
{
return this._updateTime.HasValue;
}
}
} | 161 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// A request contains unexpected data.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class BadRequestException : AmazonAmplifyException
{
/// <summary>
/// Constructs a new BadRequestException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public BadRequestException(string message)
: base(message) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public BadRequestException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="innerException"></param>
public BadRequestException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </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 BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the BadRequestException 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 BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The branch for an Amplify app, which maps to a third-party repository branch.
/// </summary>
public partial class Branch
{
private string _activeJobId;
private List<string> _associatedResources = new List<string>();
private string _backendEnvironmentArn;
private string _basicAuthCredentials;
private string _branchArn;
private string _branchName;
private string _buildSpec;
private DateTime? _createTime;
private List<string> _customDomains = new List<string>();
private string _description;
private string _destinationBranch;
private string _displayName;
private bool? _enableAutoBuild;
private bool? _enableBasicAuth;
private bool? _enableNotification;
private bool? _enablePerformanceMode;
private bool? _enablePullRequestPreview;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _framework;
private string _pullRequestEnvironmentName;
private string _sourceBranch;
private Stage _stage;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private string _thumbnailUrl;
private string _totalNumberOfJobs;
private string _ttl;
private DateTime? _updateTime;
/// <summary>
/// Gets and sets the property ActiveJobId.
/// <para>
/// The ID of the active job for a branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string ActiveJobId
{
get { return this._activeJobId; }
set { this._activeJobId = value; }
}
// Check to see if ActiveJobId property is set
internal bool IsSetActiveJobId()
{
return this._activeJobId != null;
}
/// <summary>
/// Gets and sets the property AssociatedResources.
/// <para>
/// A list of custom resources that are linked to this branch.
/// </para>
/// </summary>
public List<string> AssociatedResources
{
get { return this._associatedResources; }
set { this._associatedResources = value; }
}
// Check to see if AssociatedResources property is set
internal bool IsSetAssociatedResources()
{
return this._associatedResources != null && this._associatedResources.Count > 0;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentArn.
/// <para>
/// The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1000)]
public string BackendEnvironmentArn
{
get { return this._backendEnvironmentArn; }
set { this._backendEnvironmentArn = value; }
}
// Check to see if BackendEnvironmentArn property is set
internal bool IsSetBackendEnvironmentArn()
{
return this._backendEnvironmentArn != null;
}
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The basic authorization credentials for a branch of an Amplify app. You must base64-encode
/// the authorization credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BranchArn.
/// <para>
/// The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string BranchArn
{
get { return this._branchArn; }
set { this._branchArn = value; }
}
// Check to see if BranchArn property is set
internal bool IsSetBranchArn()
{
return this._branchArn != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// The build specification (build spec) content for the branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property CreateTime.
/// <para>
/// The creation date and time for a branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime CreateTime
{
get { return this._createTime.GetValueOrDefault(); }
set { this._createTime = value; }
}
// Check to see if CreateTime property is set
internal bool IsSetCreateTime()
{
return this._createTime.HasValue;
}
/// <summary>
/// Gets and sets the property CustomDomains.
/// <para>
/// The custom domains for a branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public List<string> CustomDomains
{
get { return this._customDomains; }
set { this._customDomains = value; }
}
// Check to see if CustomDomains property is set
internal bool IsSetCustomDomains()
{
return this._customDomains != null && this._customDomains.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for the branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
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 DestinationBranch.
/// <para>
/// The destination branch if the branch is a pull request branch.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string DestinationBranch
{
get { return this._destinationBranch; }
set { this._destinationBranch = value; }
}
// Check to see if DestinationBranch property is set
internal bool IsSetDestinationBranch()
{
return this._destinationBranch != null;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The display name for the branch. This is used as the default domain prefix.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property EnableAutoBuild.
/// <para>
/// Enables auto-building on push for a branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableAutoBuild
{
get { return this._enableAutoBuild.GetValueOrDefault(); }
set { this._enableAutoBuild = value; }
}
// Check to see if EnableAutoBuild property is set
internal bool IsSetEnableAutoBuild()
{
return this._enableAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for a branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnableNotification.
/// <para>
/// Enables notifications for a branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableNotification
{
get { return this._enableNotification.GetValueOrDefault(); }
set { this._enableNotification = value; }
}
// Check to see if EnableNotification property is set
internal bool IsSetEnableNotification()
{
return this._enableNotification.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePerformanceMode.
/// <para>
/// Enables performance mode for the branch.
/// </para>
///
/// <para>
/// Performance mode optimizes for faster hosting performance by keeping content cached
/// at the edge for a longer interval. When performance mode is enabled, hosting configuration
/// or code changes can take up to 10 minutes to roll out.
/// </para>
/// </summary>
public bool EnablePerformanceMode
{
get { return this._enablePerformanceMode.GetValueOrDefault(); }
set { this._enablePerformanceMode = value; }
}
// Check to see if EnablePerformanceMode property is set
internal bool IsSetEnablePerformanceMode()
{
return this._enablePerformanceMode.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePullRequestPreview.
/// <para>
/// Enables pull request previews for the branch.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnablePullRequestPreview
{
get { return this._enablePullRequestPreview.GetValueOrDefault(); }
set { this._enablePullRequestPreview = value; }
}
// Check to see if EnablePullRequestPreview property is set
internal bool IsSetEnablePullRequestPreview()
{
return this._enablePullRequestPreview.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables specific to a branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property Framework.
/// <para>
/// The framework for a branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string Framework
{
get { return this._framework; }
set { this._framework = value; }
}
// Check to see if Framework property is set
internal bool IsSetFramework()
{
return this._framework != null;
}
/// <summary>
/// Gets and sets the property PullRequestEnvironmentName.
/// <para>
/// The Amplify environment name for the pull request.
/// </para>
/// </summary>
[AWSProperty(Max=20)]
public string PullRequestEnvironmentName
{
get { return this._pullRequestEnvironmentName; }
set { this._pullRequestEnvironmentName = value; }
}
// Check to see if PullRequestEnvironmentName property is set
internal bool IsSetPullRequestEnvironmentName()
{
return this._pullRequestEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property SourceBranch.
/// <para>
/// The source branch if the branch is a pull request branch.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string SourceBranch
{
get { return this._sourceBranch; }
set { this._sourceBranch = value; }
}
// Check to see if SourceBranch property is set
internal bool IsSetSourceBranch()
{
return this._sourceBranch != null;
}
/// <summary>
/// Gets and sets the property Stage.
/// <para>
/// The current stage for the branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Stage Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag for the branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> 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 ThumbnailUrl.
/// <para>
/// The thumbnail URL for the branch of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2000)]
public string ThumbnailUrl
{
get { return this._thumbnailUrl; }
set { this._thumbnailUrl = value; }
}
// Check to see if ThumbnailUrl property is set
internal bool IsSetThumbnailUrl()
{
return this._thumbnailUrl != null;
}
/// <summary>
/// Gets and sets the property TotalNumberOfJobs.
/// <para>
/// The total number of jobs that are part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string TotalNumberOfJobs
{
get { return this._totalNumberOfJobs; }
set { this._totalNumberOfJobs = value; }
}
// Check to see if TotalNumberOfJobs property is set
internal bool IsSetTotalNumberOfJobs()
{
return this._totalNumberOfJobs != null;
}
/// <summary>
/// Gets and sets the property Ttl.
/// <para>
/// The content Time to Live (TTL) for the website in seconds.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=32)]
public string Ttl
{
get { return this._ttl; }
set { this._ttl = value; }
}
// Check to see if Ttl property is set
internal bool IsSetTtl()
{
return this._ttl != null;
}
/// <summary>
/// Gets and sets the property UpdateTime.
/// <para>
/// The last updated date and time for a branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime UpdateTime
{
get { return this._updateTime.GetValueOrDefault(); }
set { this._updateTime = value; }
}
// Check to see if UpdateTime property is set
internal bool IsSetUpdateTime()
{
return this._updateTime.HasValue;
}
}
} | 584 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the CreateApp operation.
/// Creates a new Amplify app.
/// </summary>
public partial class CreateAppRequest : AmazonAmplifyRequest
{
private string _accessToken;
private AutoBranchCreationConfig _autoBranchCreationConfig;
private List<string> _autoBranchCreationPatterns = new List<string>();
private string _basicAuthCredentials;
private string _buildSpec;
private string _customHeaders;
private List<CustomRule> _customRules = new List<CustomRule>();
private string _description;
private bool? _enableAutoBranchCreation;
private bool? _enableBasicAuth;
private bool? _enableBranchAutoBuild;
private bool? _enableBranchAutoDeletion;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _iamServiceRoleArn;
private string _name;
private string _oauthToken;
private Platform _platform;
private string _repository;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property AccessToken.
/// <para>
/// The personal access token for a GitHub repository for an Amplify app. The personal
/// access token is used to authorize access to a GitHub repository using the Amplify
/// GitHub App. The token is not stored.
/// </para>
///
/// <para>
/// Use <code>accessToken</code> for GitHub repositories only. To authorize access to
/// a repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.
/// </para>
///
/// <para>
/// You must specify either <code>accessToken</code> or <code>oauthToken</code> when you
/// create a new app.
/// </para>
///
/// <para>
/// Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
/// with CI/CD. However, we strongly recommend that you migrate these apps to use the
/// GitHub App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating
/// an existing OAuth app to the Amplify GitHub App</a> in the <i>Amplify User Guide</i>
/// .
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=255)]
public string AccessToken
{
get { return this._accessToken; }
set { this._accessToken = value; }
}
// Check to see if AccessToken property is set
internal bool IsSetAccessToken()
{
return this._accessToken != null;
}
/// <summary>
/// Gets and sets the property AutoBranchCreationConfig.
/// <para>
/// The automated branch creation configuration for an Amplify app.
/// </para>
/// </summary>
public AutoBranchCreationConfig AutoBranchCreationConfig
{
get { return this._autoBranchCreationConfig; }
set { this._autoBranchCreationConfig = value; }
}
// Check to see if AutoBranchCreationConfig property is set
internal bool IsSetAutoBranchCreationConfig()
{
return this._autoBranchCreationConfig != null;
}
/// <summary>
/// Gets and sets the property AutoBranchCreationPatterns.
/// <para>
/// The automated branch creation glob patterns for an Amplify app.
/// </para>
/// </summary>
public List<string> AutoBranchCreationPatterns
{
get { return this._autoBranchCreationPatterns; }
set { this._autoBranchCreationPatterns = value; }
}
// Check to see if AutoBranchCreationPatterns property is set
internal bool IsSetAutoBranchCreationPatterns()
{
return this._autoBranchCreationPatterns != null && this._autoBranchCreationPatterns.Count > 0;
}
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The credentials for basic authorization for an Amplify app. You must base64-encode
/// the authorization credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// The build specification (build spec) for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property CustomHeaders.
/// <para>
/// The custom HTTP headers for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25000)]
public string CustomHeaders
{
get { return this._customHeaders; }
set { this._customHeaders = value; }
}
// Check to see if CustomHeaders property is set
internal bool IsSetCustomHeaders()
{
return this._customHeaders != null;
}
/// <summary>
/// Gets and sets the property CustomRules.
/// <para>
/// The custom rewrite and redirect rules for an Amplify app.
/// </para>
/// </summary>
public List<CustomRule> CustomRules
{
get { return this._customRules; }
set { this._customRules = value; }
}
// Check to see if CustomRules property is set
internal bool IsSetCustomRules()
{
return this._customRules != null && this._customRules.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
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 EnableAutoBranchCreation.
/// <para>
/// Enables automated branch creation for an Amplify app.
/// </para>
/// </summary>
public bool EnableAutoBranchCreation
{
get { return this._enableAutoBranchCreation.GetValueOrDefault(); }
set { this._enableAutoBranchCreation = value; }
}
// Check to see if EnableAutoBranchCreation property is set
internal bool IsSetEnableAutoBranchCreation()
{
return this._enableAutoBranchCreation.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for an Amplify app. This will apply to all branches that
/// are part of this app.
/// </para>
/// </summary>
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBranchAutoBuild.
/// <para>
/// Enables the auto building of branches for an Amplify app.
/// </para>
/// </summary>
public bool EnableBranchAutoBuild
{
get { return this._enableBranchAutoBuild.GetValueOrDefault(); }
set { this._enableBranchAutoBuild = value; }
}
// Check to see if EnableBranchAutoBuild property is set
internal bool IsSetEnableBranchAutoBuild()
{
return this._enableBranchAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBranchAutoDeletion.
/// <para>
/// Automatically disconnects a branch in the Amplify Console when you delete a branch
/// from your Git repository.
/// </para>
/// </summary>
public bool EnableBranchAutoDeletion
{
get { return this._enableBranchAutoDeletion.GetValueOrDefault(); }
set { this._enableBranchAutoDeletion = value; }
}
// Check to see if EnableBranchAutoDeletion property is set
internal bool IsSetEnableBranchAutoDeletion()
{
return this._enableBranchAutoDeletion.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables map for an Amplify app.
/// </para>
/// </summary>
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property IamServiceRoleArn.
/// <para>
/// The AWS Identity and Access Management (IAM) service role for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1000)]
public string IamServiceRoleArn
{
get { return this._iamServiceRoleArn; }
set { this._iamServiceRoleArn = value; }
}
// Check to see if IamServiceRoleArn property is set
internal bool IsSetIamServiceRoleArn()
{
return this._iamServiceRoleArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name for an Amplify app.
/// </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 OauthToken.
/// <para>
/// The OAuth token for a third-party source control system for an Amplify app. The OAuth
/// token is used to create a webhook and a read-only deploy key using SSH cloning. The
/// OAuth token is not stored.
/// </para>
///
/// <para>
/// Use <code>oauthToken</code> for repository providers other than GitHub, such as Bitbucket
/// or CodeCommit. To authorize access to GitHub as your repository provider, use <code>accessToken</code>.
/// </para>
///
/// <para>
/// You must specify either <code>oauthToken</code> or <code>accessToken</code> when you
/// create a new app.
/// </para>
///
/// <para>
/// Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
/// with CI/CD. However, we strongly recommend that you migrate these apps to use the
/// GitHub App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating
/// an existing OAuth app to the Amplify GitHub App</a> in the <i>Amplify User Guide</i>
/// .
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=1000)]
public string OauthToken
{
get { return this._oauthToken; }
set { this._oauthToken = value; }
}
// Check to see if OauthToken property is set
internal bool IsSetOauthToken()
{
return this._oauthToken != null;
}
/// <summary>
/// Gets and sets the property Platform.
/// <para>
/// The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
/// For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>.
/// For an app requiring Amplify Hosting's original SSR support only, set the platform
/// type to <code>WEB_DYNAMIC</code>.
/// </para>
/// </summary>
public Platform Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
/// <summary>
/// Gets and sets the property Repository.
/// <para>
/// The repository for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string Repository
{
get { return this._repository; }
set { this._repository = value; }
}
// Check to see if Repository property is set
internal bool IsSetRepository()
{
return this._repository != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> 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;
}
}
} | 456 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// This is the response object from the CreateApp operation.
/// </summary>
public partial class CreateAppResponse : AmazonWebServiceResponse
{
private App _app;
/// <summary>
/// Gets and sets the property App.
/// </summary>
[AWSProperty(Required=true)]
public App App
{
get { return this._app; }
set { this._app = value; }
}
// Check to see if App property is set
internal bool IsSetApp()
{
return this._app != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the CreateBackendEnvironment operation.
/// Creates a new backend environment for an Amplify app.
/// </summary>
public partial class CreateBackendEnvironmentRequest : AmazonAmplifyRequest
{
private string _appId;
private string _deploymentArtifacts;
private string _environmentName;
private string _stackName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property DeploymentArtifacts.
/// <para>
/// The name of deployment artifacts.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1000)]
public string DeploymentArtifacts
{
get { return this._deploymentArtifacts; }
set { this._deploymentArtifacts = value; }
}
// Check to see if DeploymentArtifacts property is set
internal bool IsSetDeploymentArtifacts()
{
return this._deploymentArtifacts != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name for the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The AWS CloudFormation stack name of a backend environment.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the create backend environment request.
/// </summary>
public partial class CreateBackendEnvironmentResponse : AmazonWebServiceResponse
{
private BackendEnvironment _backendEnvironment;
/// <summary>
/// Gets and sets the property BackendEnvironment.
/// <para>
/// Describes the backend environment for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public BackendEnvironment BackendEnvironment
{
get { return this._backendEnvironment; }
set { this._backendEnvironment = value; }
}
// Check to see if BackendEnvironment property is set
internal bool IsSetBackendEnvironment()
{
return this._backendEnvironment != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the CreateBranch operation.
/// Creates a new branch for an Amplify app.
/// </summary>
public partial class CreateBranchRequest : AmazonAmplifyRequest
{
private string _appId;
private string _backendEnvironmentArn;
private string _basicAuthCredentials;
private string _branchName;
private string _buildSpec;
private string _description;
private string _displayName;
private bool? _enableAutoBuild;
private bool? _enableBasicAuth;
private bool? _enableNotification;
private bool? _enablePerformanceMode;
private bool? _enablePullRequestPreview;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _framework;
private string _pullRequestEnvironmentName;
private Stage _stage;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private string _ttl;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentArn.
/// <para>
/// The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1000)]
public string BackendEnvironmentArn
{
get { return this._backendEnvironmentArn; }
set { this._backendEnvironmentArn = value; }
}
// Check to see if BackendEnvironmentArn property is set
internal bool IsSetBackendEnvironmentArn()
{
return this._backendEnvironmentArn != null;
}
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The basic authorization credentials for the branch. You must base64-encode the authorization
/// credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// The build specification (build spec) for the branch.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for the branch.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
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 DisplayName.
/// <para>
/// The display name for a branch. This is used as the default domain prefix.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property EnableAutoBuild.
/// <para>
/// Enables auto building for the branch.
/// </para>
/// </summary>
public bool EnableAutoBuild
{
get { return this._enableAutoBuild.GetValueOrDefault(); }
set { this._enableAutoBuild = value; }
}
// Check to see if EnableAutoBuild property is set
internal bool IsSetEnableAutoBuild()
{
return this._enableAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for the branch.
/// </para>
/// </summary>
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnableNotification.
/// <para>
/// Enables notifications for the branch.
/// </para>
/// </summary>
public bool EnableNotification
{
get { return this._enableNotification.GetValueOrDefault(); }
set { this._enableNotification = value; }
}
// Check to see if EnableNotification property is set
internal bool IsSetEnableNotification()
{
return this._enableNotification.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePerformanceMode.
/// <para>
/// Enables performance mode for the branch.
/// </para>
///
/// <para>
/// Performance mode optimizes for faster hosting performance by keeping content cached
/// at the edge for a longer interval. When performance mode is enabled, hosting configuration
/// or code changes can take up to 10 minutes to roll out.
/// </para>
/// </summary>
public bool EnablePerformanceMode
{
get { return this._enablePerformanceMode.GetValueOrDefault(); }
set { this._enablePerformanceMode = value; }
}
// Check to see if EnablePerformanceMode property is set
internal bool IsSetEnablePerformanceMode()
{
return this._enablePerformanceMode.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePullRequestPreview.
/// <para>
/// Enables pull request previews for this branch.
/// </para>
/// </summary>
public bool EnablePullRequestPreview
{
get { return this._enablePullRequestPreview.GetValueOrDefault(); }
set { this._enablePullRequestPreview = value; }
}
// Check to see if EnablePullRequestPreview property is set
internal bool IsSetEnablePullRequestPreview()
{
return this._enablePullRequestPreview.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables for the branch.
/// </para>
/// </summary>
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property Framework.
/// <para>
/// The framework for the branch.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string Framework
{
get { return this._framework; }
set { this._framework = value; }
}
// Check to see if Framework property is set
internal bool IsSetFramework()
{
return this._framework != null;
}
/// <summary>
/// Gets and sets the property PullRequestEnvironmentName.
/// <para>
/// The Amplify environment name for the pull request.
/// </para>
/// </summary>
[AWSProperty(Max=20)]
public string PullRequestEnvironmentName
{
get { return this._pullRequestEnvironmentName; }
set { this._pullRequestEnvironmentName = value; }
}
// Check to see if PullRequestEnvironmentName property is set
internal bool IsSetPullRequestEnvironmentName()
{
return this._pullRequestEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Stage.
/// <para>
/// Describes the current stage for the branch.
/// </para>
/// </summary>
public Stage Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag for the branch.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> 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 Ttl.
/// <para>
/// The content Time To Live (TTL) for the website in seconds.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=32)]
public string Ttl
{
get { return this._ttl; }
set { this._ttl = value; }
}
// Check to see if Ttl property is set
internal bool IsSetTtl()
{
return this._ttl != null;
}
}
} | 400 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for create branch request.
/// </summary>
public partial class CreateBranchResponse : AmazonWebServiceResponse
{
private Branch _branch;
/// <summary>
/// Gets and sets the property Branch.
/// <para>
/// Describes the branch for an Amplify app, which maps to a third-party repository branch.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Branch Branch
{
get { return this._branch; }
set { this._branch = value; }
}
// Check to see if Branch property is set
internal bool IsSetBranch()
{
return this._branch != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the CreateDeployment operation.
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps
/// are not connected to a repository.
/// </summary>
public partial class CreateDeploymentRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private Dictionary<string, string> _fileMap = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch, for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property FileMap.
/// <para>
/// An optional file map that contains the file name as the key and the file content
/// md5 hash as the value. If this argument is provided, the service will generate a unique
/// upload URL per file. Otherwise, the service will only generate a single upload URL
/// for the zipped files.
/// </para>
/// </summary>
public Dictionary<string, string> FileMap
{
get { return this._fileMap; }
set { this._fileMap = value; }
}
// Check to see if FileMap property is set
internal bool IsSetFileMap()
{
return this._fileMap != null && this._fileMap.Count > 0;
}
}
} | 102 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the create a new deployment request.
/// </summary>
public partial class CreateDeploymentResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _fileUploadUrls = new Dictionary<string, string>();
private string _jobId;
private string _zipUploadUrl;
/// <summary>
/// Gets and sets the property FileUploadUrls.
/// <para>
/// When the <code>fileMap</code> argument is provided in the request, <code>fileUploadUrls</code>
/// will contain a map of file names to upload URLs.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Dictionary<string, string> FileUploadUrls
{
get { return this._fileUploadUrls; }
set { this._fileUploadUrls = value; }
}
// Check to see if FileUploadUrls property is set
internal bool IsSetFileUploadUrls()
{
return this._fileUploadUrls != null && this._fileUploadUrls.Count > 0;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The job ID for this deployment. will supply to start deployment api.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property ZipUploadUrl.
/// <para>
/// When the <code>fileMap</code> argument is not provided in the request, this <code>zipUploadUrl</code>
/// is returned.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string ZipUploadUrl
{
get { return this._zipUploadUrl; }
set { this._zipUploadUrl = value; }
}
// Check to see if ZipUploadUrl property is set
internal bool IsSetZipUploadUrl()
{
return this._zipUploadUrl != null;
}
}
} | 100 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the CreateDomainAssociation operation.
/// Creates a new domain association for an Amplify app. This action associates a custom
/// domain with the Amplify app
/// </summary>
public partial class CreateDomainAssociationRequest : AmazonAmplifyRequest
{
private string _appId;
private List<string> _autoSubDomainCreationPatterns = new List<string>();
private string _autoSubDomainIAMRole;
private string _domainName;
private bool? _enableAutoSubDomain;
private List<SubDomainSetting> _subDomainSettings = new List<SubDomainSetting>();
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property AutoSubDomainCreationPatterns.
/// <para>
/// Sets the branch patterns for automatic subdomain creation.
/// </para>
/// </summary>
public List<string> AutoSubDomainCreationPatterns
{
get { return this._autoSubDomainCreationPatterns; }
set { this._autoSubDomainCreationPatterns = value; }
}
// Check to see if AutoSubDomainCreationPatterns property is set
internal bool IsSetAutoSubDomainCreationPatterns()
{
return this._autoSubDomainCreationPatterns != null && this._autoSubDomainCreationPatterns.Count > 0;
}
/// <summary>
/// Gets and sets the property AutoSubDomainIAMRole.
/// <para>
/// The required AWS Identity and Access Management (IAM) service role for the Amazon
/// Resource Name (ARN) for automatically creating subdomains.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string AutoSubDomainIAMRole
{
get { return this._autoSubDomainIAMRole; }
set { this._autoSubDomainIAMRole = value; }
}
// Check to see if AutoSubDomainIAMRole property is set
internal bool IsSetAutoSubDomainIAMRole()
{
return this._autoSubDomainIAMRole != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name for the domain association.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property EnableAutoSubDomain.
/// <para>
/// Enables the automated creation of subdomains for branches.
/// </para>
/// </summary>
public bool EnableAutoSubDomain
{
get { return this._enableAutoSubDomain.GetValueOrDefault(); }
set { this._enableAutoSubDomain = value; }
}
// Check to see if EnableAutoSubDomain property is set
internal bool IsSetEnableAutoSubDomain()
{
return this._enableAutoSubDomain.HasValue;
}
/// <summary>
/// Gets and sets the property SubDomainSettings.
/// <para>
/// The setting for the subdomain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=500)]
public List<SubDomainSetting> SubDomainSettings
{
get { return this._subDomainSettings; }
set { this._subDomainSettings = value; }
}
// Check to see if SubDomainSettings property is set
internal bool IsSetSubDomainSettings()
{
return this._subDomainSettings != null && this._subDomainSettings.Count > 0;
}
}
} | 159 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the create domain association request.
/// </summary>
public partial class CreateDomainAssociationResponse : AmazonWebServiceResponse
{
private DomainAssociation _domainAssociation;
/// <summary>
/// Gets and sets the property DomainAssociation.
/// <para>
/// Describes the structure of a domain association, which associates a custom domain
/// with an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DomainAssociation DomainAssociation
{
get { return this._domainAssociation; }
set { this._domainAssociation = value; }
}
// Check to see if DomainAssociation property is set
internal bool IsSetDomainAssociation()
{
return this._domainAssociation != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the CreateWebhook operation.
/// Creates a new webhook on an Amplify app.
/// </summary>
public partial class CreateWebhookRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _description;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for a branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for a webhook.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
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;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the create webhook request.
/// </summary>
public partial class CreateWebhookResponse : AmazonWebServiceResponse
{
private Webhook _webhook;
/// <summary>
/// Gets and sets the property Webhook.
/// <para>
/// Describes a webhook that connects repository events to an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Webhook Webhook
{
get { return this._webhook; }
set { this._webhook = value; }
}
// Check to see if Webhook property is set
internal bool IsSetWebhook()
{
return this._webhook != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes a custom rewrite or redirect rule.
/// </summary>
public partial class CustomRule
{
private string _condition;
private string _source;
private string _status;
private string _target;
/// <summary>
/// Gets and sets the property Condition.
/// <para>
/// The condition for a URL rewrite or redirect rule, such as a country code.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2048)]
public string Condition
{
get { return this._condition; }
set { this._condition = value; }
}
// Check to see if Condition property is set
internal bool IsSetCondition()
{
return this._condition != null;
}
/// <summary>
/// Gets and sets the property Source.
/// <para>
/// The source pattern for a URL rewrite or redirect rule.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The status code for a URL rewrite or redirect rule.
/// </para>
/// <dl> <dt>200</dt> <dd>
/// <para>
/// Represents a 200 rewrite rule.
/// </para>
/// </dd> <dt>301</dt> <dd>
/// <para>
/// Represents a 301 (moved pemanently) redirect rule. This and all future requests should
/// be directed to the target URL.
/// </para>
/// </dd> <dt>302</dt> <dd>
/// <para>
/// Represents a 302 temporary redirect rule.
/// </para>
/// </dd> <dt>404</dt> <dd>
/// <para>
/// Represents a 404 redirect rule.
/// </para>
/// </dd> <dt>404-200</dt> <dd>
/// <para>
/// Represents a 404 rewrite rule.
/// </para>
/// </dd> </dl>
/// </summary>
[AWSProperty(Min=3, Max=7)]
public string 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 Target.
/// <para>
/// The target pattern for a URL rewrite or redirect rule.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string Target
{
get { return this._target; }
set { this._target = value; }
}
// Check to see if Target property is set
internal bool IsSetTarget()
{
return this._target != null;
}
}
} | 140 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the DeleteApp operation.
/// Deletes an existing Amplify app specified by an app ID.
/// </summary>
public partial class DeleteAppRequest : AmazonAmplifyRequest
{
private string _appId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the delete app request.
/// </summary>
public partial class DeleteAppResponse : AmazonWebServiceResponse
{
private App _app;
/// <summary>
/// Gets and sets the property App.
/// </summary>
[AWSProperty(Required=true)]
public App App
{
get { return this._app; }
set { this._app = value; }
}
// Check to see if App property is set
internal bool IsSetApp()
{
return this._app != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the DeleteBackendEnvironment operation.
/// Deletes a backend environment for an Amplify app.
/// </summary>
public partial class DeleteBackendEnvironmentRequest : AmazonAmplifyRequest
{
private string _appId;
private string _environmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of a backend environment of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure of the delete backend environment result.
/// </summary>
public partial class DeleteBackendEnvironmentResponse : AmazonWebServiceResponse
{
private BackendEnvironment _backendEnvironment;
/// <summary>
/// Gets and sets the property BackendEnvironment.
/// <para>
/// Describes the backend environment for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public BackendEnvironment BackendEnvironment
{
get { return this._backendEnvironment; }
set { this._backendEnvironment = value; }
}
// Check to see if BackendEnvironment property is set
internal bool IsSetBackendEnvironment()
{
return this._backendEnvironment != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the DeleteBranch operation.
/// Deletes a branch for an Amplify app.
/// </summary>
public partial class DeleteBranchRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the delete branch request.
/// </summary>
public partial class DeleteBranchResponse : AmazonWebServiceResponse
{
private Branch _branch;
/// <summary>
/// Gets and sets the property Branch.
/// <para>
/// The branch for an Amplify app, which maps to a third-party repository branch.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Branch Branch
{
get { return this._branch; }
set { this._branch = value; }
}
// Check to see if Branch property is set
internal bool IsSetBranch()
{
return this._branch != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the DeleteDomainAssociation operation.
/// Deletes a domain association for an Amplify app.
/// </summary>
public partial class DeleteDomainAssociationRequest : AmazonAmplifyRequest
{
private string _appId;
private string _domainName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique id for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The name of the domain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// This is the response object from the DeleteDomainAssociation operation.
/// </summary>
public partial class DeleteDomainAssociationResponse : AmazonWebServiceResponse
{
private DomainAssociation _domainAssociation;
/// <summary>
/// Gets and sets the property DomainAssociation.
/// </summary>
[AWSProperty(Required=true)]
public DomainAssociation DomainAssociation
{
get { return this._domainAssociation; }
set { this._domainAssociation = value; }
}
// Check to see if DomainAssociation property is set
internal bool IsSetDomainAssociation()
{
return this._domainAssociation != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the DeleteJob operation.
/// Deletes a job for a branch of an Amplify app.
/// </summary>
public partial class DeleteJobRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _jobId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch, for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The unique ID for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the delete job request.
/// </summary>
public partial class DeleteJobResponse : AmazonWebServiceResponse
{
private JobSummary _jobSummary;
/// <summary>
/// Gets and sets the property JobSummary.
/// </summary>
[AWSProperty(Required=true)]
public JobSummary JobSummary
{
get { return this._jobSummary; }
set { this._jobSummary = value; }
}
// Check to see if JobSummary property is set
internal bool IsSetJobSummary()
{
return this._jobSummary != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the DeleteWebhook operation.
/// Deletes a webhook.
/// </summary>
public partial class DeleteWebhookRequest : AmazonAmplifyRequest
{
private string _webhookId;
/// <summary>
/// Gets and sets the property WebhookId.
/// <para>
/// The unique ID for a webhook.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string WebhookId
{
get { return this._webhookId; }
set { this._webhookId = value; }
}
// Check to see if WebhookId property is set
internal bool IsSetWebhookId()
{
return this._webhookId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the delete webhook request.
/// </summary>
public partial class DeleteWebhookResponse : AmazonWebServiceResponse
{
private Webhook _webhook;
/// <summary>
/// Gets and sets the property Webhook.
/// <para>
/// Describes a webhook that connects repository events to an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Webhook Webhook
{
get { return this._webhook; }
set { this._webhook = value; }
}
// Check to see if Webhook property is set
internal bool IsSetWebhook()
{
return this._webhook != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// An operation failed because a dependent service threw an exception.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class DependentServiceFailureException : AmazonAmplifyException
{
/// <summary>
/// Constructs a new DependentServiceFailureException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public DependentServiceFailureException(string message)
: base(message) {}
/// <summary>
/// Construct instance of DependentServiceFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public DependentServiceFailureException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of DependentServiceFailureException
/// </summary>
/// <param name="innerException"></param>
public DependentServiceFailureException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of DependentServiceFailureException
/// </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 DependentServiceFailureException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of DependentServiceFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DependentServiceFailureException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the DependentServiceFailureException 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 DependentServiceFailureException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes a domain association that associates a custom domain with an Amplify app.
/// </summary>
public partial class DomainAssociation
{
private List<string> _autoSubDomainCreationPatterns = new List<string>();
private string _autoSubDomainIAMRole;
private string _certificateVerificationDNSRecord;
private string _domainAssociationArn;
private string _domainName;
private DomainStatus _domainStatus;
private bool? _enableAutoSubDomain;
private string _statusReason;
private List<SubDomain> _subDomains = new List<SubDomain>();
/// <summary>
/// Gets and sets the property AutoSubDomainCreationPatterns.
/// <para>
/// Sets branch patterns for automatic subdomain creation.
/// </para>
/// </summary>
public List<string> AutoSubDomainCreationPatterns
{
get { return this._autoSubDomainCreationPatterns; }
set { this._autoSubDomainCreationPatterns = value; }
}
// Check to see if AutoSubDomainCreationPatterns property is set
internal bool IsSetAutoSubDomainCreationPatterns()
{
return this._autoSubDomainCreationPatterns != null && this._autoSubDomainCreationPatterns.Count > 0;
}
/// <summary>
/// Gets and sets the property AutoSubDomainIAMRole.
/// <para>
/// The required AWS Identity and Access Management (IAM) service role for the Amazon
/// Resource Name (ARN) for automatically creating subdomains.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string AutoSubDomainIAMRole
{
get { return this._autoSubDomainIAMRole; }
set { this._autoSubDomainIAMRole = value; }
}
// Check to see if AutoSubDomainIAMRole property is set
internal bool IsSetAutoSubDomainIAMRole()
{
return this._autoSubDomainIAMRole != null;
}
/// <summary>
/// Gets and sets the property CertificateVerificationDNSRecord.
/// <para>
/// The DNS record for certificate verification.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string CertificateVerificationDNSRecord
{
get { return this._certificateVerificationDNSRecord; }
set { this._certificateVerificationDNSRecord = value; }
}
// Check to see if CertificateVerificationDNSRecord property is set
internal bool IsSetCertificateVerificationDNSRecord()
{
return this._certificateVerificationDNSRecord != null;
}
/// <summary>
/// Gets and sets the property DomainAssociationArn.
/// <para>
/// The Amazon Resource Name (ARN) for the domain association.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string DomainAssociationArn
{
get { return this._domainAssociationArn; }
set { this._domainAssociationArn = value; }
}
// Check to see if DomainAssociationArn property is set
internal bool IsSetDomainAssociationArn()
{
return this._domainAssociationArn != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The name of the domain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property DomainStatus.
/// <para>
/// The current status of the domain association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DomainStatus DomainStatus
{
get { return this._domainStatus; }
set { this._domainStatus = value; }
}
// Check to see if DomainStatus property is set
internal bool IsSetDomainStatus()
{
return this._domainStatus != null;
}
/// <summary>
/// Gets and sets the property EnableAutoSubDomain.
/// <para>
/// Enables the automated creation of subdomains for branches.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableAutoSubDomain
{
get { return this._enableAutoSubDomain.GetValueOrDefault(); }
set { this._enableAutoSubDomain = value; }
}
// Check to see if EnableAutoSubDomain property is set
internal bool IsSetEnableAutoSubDomain()
{
return this._enableAutoSubDomain.HasValue;
}
/// <summary>
/// Gets and sets the property StatusReason.
/// <para>
/// The reason for the current status of the domain association.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
/// <summary>
/// Gets and sets the property SubDomains.
/// <para>
/// The subdomains for the domain association.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=500)]
public List<SubDomain> SubDomains
{
get { return this._subDomains; }
set { this._subDomains = value; }
}
// Check to see if SubDomains property is set
internal bool IsSetSubDomains()
{
return this._subDomains != null && this._subDomains.Count > 0;
}
}
} | 218 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GenerateAccessLogs operation.
/// Returns the website access logs for a specific time range using a presigned URL.
/// </summary>
public partial class GenerateAccessLogsRequest : AmazonAmplifyRequest
{
private string _appId;
private string _domainName;
private DateTime? _endTime;
private DateTime? _startTime;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The name of the domain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property EndTime.
/// <para>
/// The time at which the logs should end. The time range specified is inclusive of the
/// end time.
/// </para>
/// </summary>
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
/// <summary>
/// Gets and sets the property StartTime.
/// <para>
/// The time at which the logs should start. The time range specified is inclusive of
/// the start time.
/// </para>
/// </summary>
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the generate access logs request.
/// </summary>
public partial class GenerateAccessLogsResponse : AmazonWebServiceResponse
{
private string _logUrl;
/// <summary>
/// Gets and sets the property LogUrl.
/// <para>
/// The pre-signed URL for the requested access logs.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string LogUrl
{
get { return this._logUrl; }
set { this._logUrl = value; }
}
// Check to see if LogUrl property is set
internal bool IsSetLogUrl()
{
return this._logUrl != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetApp operation.
/// Returns an existing Amplify app by appID.
/// </summary>
public partial class GetAppRequest : AmazonAmplifyRequest
{
private string _appId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// This is the response object from the GetApp operation.
/// </summary>
public partial class GetAppResponse : AmazonWebServiceResponse
{
private App _app;
/// <summary>
/// Gets and sets the property App.
/// </summary>
[AWSProperty(Required=true)]
public App App
{
get { return this._app; }
set { this._app = value; }
}
// Check to see if App property is set
internal bool IsSetApp()
{
return this._app != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetArtifactUrl operation.
/// Returns the artifact info that corresponds to an artifact id.
/// </summary>
public partial class GetArtifactUrlRequest : AmazonAmplifyRequest
{
private string _artifactId;
/// <summary>
/// Gets and sets the property ArtifactId.
/// <para>
/// The unique ID for an artifact.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string ArtifactId
{
get { return this._artifactId; }
set { this._artifactId = value; }
}
// Check to see if ArtifactId property is set
internal bool IsSetArtifactId()
{
return this._artifactId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Returns the result structure for the get artifact request.
/// </summary>
public partial class GetArtifactUrlResponse : AmazonWebServiceResponse
{
private string _artifactId;
private string _artifactUrl;
/// <summary>
/// Gets and sets the property ArtifactId.
/// <para>
/// The unique ID for an artifact.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string ArtifactId
{
get { return this._artifactId; }
set { this._artifactId = value; }
}
// Check to see if ArtifactId property is set
internal bool IsSetArtifactId()
{
return this._artifactId != null;
}
/// <summary>
/// Gets and sets the property ArtifactUrl.
/// <para>
/// The presigned URL for the artifact.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string ArtifactUrl
{
get { return this._artifactUrl; }
set { this._artifactUrl = value; }
}
// Check to see if ArtifactUrl property is set
internal bool IsSetArtifactUrl()
{
return this._artifactUrl != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetBackendEnvironment operation.
/// Returns a backend environment for an Amplify app.
/// </summary>
public partial class GetBackendEnvironmentRequest : AmazonAmplifyRequest
{
private string _appId;
private string _environmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique id for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name for the backend environment.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the get backend environment result.
/// </summary>
public partial class GetBackendEnvironmentResponse : AmazonWebServiceResponse
{
private BackendEnvironment _backendEnvironment;
/// <summary>
/// Gets and sets the property BackendEnvironment.
/// <para>
/// Describes the backend environment for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public BackendEnvironment BackendEnvironment
{
get { return this._backendEnvironment; }
set { this._backendEnvironment = value; }
}
// Check to see if BackendEnvironment property is set
internal bool IsSetBackendEnvironment()
{
return this._backendEnvironment != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetBranch operation.
/// Returns a branch for an Amplify app.
/// </summary>
public partial class GetBranchRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// This is the response object from the GetBranch operation.
/// </summary>
public partial class GetBranchResponse : AmazonWebServiceResponse
{
private Branch _branch;
/// <summary>
/// Gets and sets the property Branch.
/// </summary>
[AWSProperty(Required=true)]
public Branch Branch
{
get { return this._branch; }
set { this._branch = value; }
}
// Check to see if Branch property is set
internal bool IsSetBranch()
{
return this._branch != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetDomainAssociation operation.
/// Returns the domain information for an Amplify app.
/// </summary>
public partial class GetDomainAssociationRequest : AmazonAmplifyRequest
{
private string _appId;
private string _domainName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique id for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The name of the domain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the get domain association request.
/// </summary>
public partial class GetDomainAssociationResponse : AmazonWebServiceResponse
{
private DomainAssociation _domainAssociation;
/// <summary>
/// Gets and sets the property DomainAssociation.
/// <para>
/// Describes the structure of a domain association, which associates a custom domain
/// with an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DomainAssociation DomainAssociation
{
get { return this._domainAssociation; }
set { this._domainAssociation = value; }
}
// Check to see if DomainAssociation property is set
internal bool IsSetDomainAssociation()
{
return this._domainAssociation != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetJob operation.
/// Returns a job for a branch of an Amplify app.
/// </summary>
public partial class GetJobRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _jobId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The branch name for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The unique ID for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// This is the response object from the GetJob operation.
/// </summary>
public partial class GetJobResponse : AmazonWebServiceResponse
{
private Job _job;
/// <summary>
/// Gets and sets the property Job.
/// </summary>
[AWSProperty(Required=true)]
public Job Job
{
get { return this._job; }
set { this._job = value; }
}
// Check to see if Job property is set
internal bool IsSetJob()
{
return this._job != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the GetWebhook operation.
/// Returns the webhook information that corresponds to a specified webhook ID.
/// </summary>
public partial class GetWebhookRequest : AmazonAmplifyRequest
{
private string _webhookId;
/// <summary>
/// Gets and sets the property WebhookId.
/// <para>
/// The unique ID for a webhook.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string WebhookId
{
get { return this._webhookId; }
set { this._webhookId = value; }
}
// Check to see if WebhookId property is set
internal bool IsSetWebhookId()
{
return this._webhookId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the get webhook request.
/// </summary>
public partial class GetWebhookResponse : AmazonWebServiceResponse
{
private Webhook _webhook;
/// <summary>
/// Gets and sets the property Webhook.
/// <para>
/// Describes the structure of a webhook.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Webhook Webhook
{
get { return this._webhook; }
set { this._webhook = value; }
}
// Check to see if Webhook property is set
internal bool IsSetWebhook()
{
return this._webhook != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The service failed to perform an operation due to an internal issue.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InternalFailureException : AmazonAmplifyException
{
/// <summary>
/// Constructs a new InternalFailureException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InternalFailureException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InternalFailureException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="innerException"></param>
public InternalFailureException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </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 InternalFailureException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalFailureException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InternalFailureException 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 InternalFailureException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes an execution job for an Amplify app.
/// </summary>
public partial class Job
{
private List<Step> _steps = new List<Step>();
private JobSummary _summary;
/// <summary>
/// Gets and sets the property Steps.
/// <para>
/// The execution steps for an execution job, for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Step> Steps
{
get { return this._steps; }
set { this._steps = value; }
}
// Check to see if Steps property is set
internal bool IsSetSteps()
{
return this._steps != null && this._steps.Count > 0;
}
/// <summary>
/// Gets and sets the property Summary.
/// <para>
/// Describes the summary for an execution job for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public JobSummary Summary
{
get { return this._summary; }
set { this._summary = value; }
}
// Check to see if Summary property is set
internal bool IsSetSummary()
{
return this._summary != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes the summary for an execution job for an Amplify app.
/// </summary>
public partial class JobSummary
{
private string _commitId;
private string _commitMessage;
private DateTime? _commitTime;
private DateTime? _endTime;
private string _jobArn;
private string _jobId;
private JobType _jobType;
private DateTime? _startTime;
private JobStatus _status;
/// <summary>
/// Gets and sets the property CommitId.
/// <para>
/// The commit ID from a third-party repository provider for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string CommitId
{
get { return this._commitId; }
set { this._commitId = value; }
}
// Check to see if CommitId property is set
internal bool IsSetCommitId()
{
return this._commitId != null;
}
/// <summary>
/// Gets and sets the property CommitMessage.
/// <para>
/// The commit message from a third-party repository provider for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=10000)]
public string CommitMessage
{
get { return this._commitMessage; }
set { this._commitMessage = value; }
}
// Check to see if CommitMessage property is set
internal bool IsSetCommitMessage()
{
return this._commitMessage != null;
}
/// <summary>
/// Gets and sets the property CommitTime.
/// <para>
/// The commit date and time for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime CommitTime
{
get { return this._commitTime.GetValueOrDefault(); }
set { this._commitTime = value; }
}
// Check to see if CommitTime property is set
internal bool IsSetCommitTime()
{
return this._commitTime.HasValue;
}
/// <summary>
/// Gets and sets the property EndTime.
/// <para>
/// The end date and time for the job.
/// </para>
/// </summary>
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
/// <summary>
/// Gets and sets the property JobArn.
/// <para>
/// The Amazon Resource Name (ARN) for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string JobArn
{
get { return this._jobArn; }
set { this._jobArn = value; }
}
// Check to see if JobArn property is set
internal bool IsSetJobArn()
{
return this._jobArn != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The unique ID for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property JobType.
/// <para>
/// The type for the job. If the value is <code>RELEASE</code>, the job was manually
/// released from its source by using the <code>StartJob</code> API. If the value is <code>RETRY</code>,
/// the job was manually retried using the <code>StartJob</code> API. If the value is
/// <code>WEB_HOOK</code>, the job was automatically triggered by webhooks.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=10)]
public JobType JobType
{
get { return this._jobType; }
set { this._jobType = value; }
}
// Check to see if JobType property is set
internal bool IsSetJobType()
{
return this._jobType != null;
}
/// <summary>
/// Gets and sets the property StartTime.
/// <para>
/// The start date and time for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public JobStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 220 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// A resource could not be created because service quotas were exceeded.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LimitExceededException : AmazonAmplifyException
{
/// <summary>
/// Constructs a new LimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="innerException"></param>
public LimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </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 LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LimitExceededException 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 LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListApps operation.
/// Returns a list of the existing Amplify apps.
/// </summary>
public partial class ListAppsRequest : AmazonAmplifyRequest
{
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If non-null, the pagination token is returned in a result. Pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for an Amplify app list request.
/// </summary>
public partial class ListAppsResponse : AmazonWebServiceResponse
{
private List<App> _apps = new List<App>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Apps.
/// <para>
/// A list of Amplify apps.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<App> Apps
{
get { return this._apps; }
set { this._apps = value; }
}
// Check to see if Apps property is set
internal bool IsSetApps()
{
return this._apps != null && this._apps.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing apps from start. If non-null, the
/// pagination token is returned in a result. Pass its value in here to list more projects.
///
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListArtifacts operation.
/// Returns a list of artifacts for a specified app, branch, and job.
/// </summary>
public partial class ListArtifactsRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _jobId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name of a branch that is part of an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The unique ID for a job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing artifacts from start. If a non-null
/// pagination token is returned in a result, pass its value in here to list more artifacts.
///
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
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;
}
}
} | 141 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the list artifacts request.
/// </summary>
public partial class ListArtifactsResponse : AmazonWebServiceResponse
{
private List<Artifact> _artifacts = new List<Artifact>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Artifacts.
/// <para>
/// A list of artifacts.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Artifact> Artifacts
{
get { return this._artifacts; }
set { this._artifacts = value; }
}
// Check to see if Artifacts property is set
internal bool IsSetArtifacts()
{
return this._artifacts != null && this._artifacts.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If a non-null pagination token is returned in a result, pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListBackendEnvironments operation.
/// Lists the backend environments for an Amplify app.
/// </summary>
public partial class ListBackendEnvironmentsRequest : AmazonAmplifyRequest
{
private string _appId;
private string _environmentName;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing backend environments from the start.
/// If a non-null pagination token is returned in a result, pass its value in here to
/// list more backend environments.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
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;
}
}
} | 121 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the list backend environments result.
/// </summary>
public partial class ListBackendEnvironmentsResponse : AmazonWebServiceResponse
{
private List<BackendEnvironment> _backendEnvironments = new List<BackendEnvironment>();
private string _nextToken;
/// <summary>
/// Gets and sets the property BackendEnvironments.
/// <para>
/// The list of backend environments for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<BackendEnvironment> BackendEnvironments
{
get { return this._backendEnvironments; }
set { this._backendEnvironments = value; }
}
// Check to see if BackendEnvironments property is set
internal bool IsSetBackendEnvironments()
{
return this._backendEnvironments != null && this._backendEnvironments.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If a non-null pagination token is returned in a result, pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListBranches operation.
/// Lists the branches of an Amplify app.
/// </summary>
public partial class ListBranchesRequest : AmazonAmplifyRequest
{
private string _appId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing branches from the start. If a non-null
/// pagination token is returned in a result, pass its value in here to list more branches.
///
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the list branches request.
/// </summary>
public partial class ListBranchesResponse : AmazonWebServiceResponse
{
private List<Branch> _branches = new List<Branch>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Branches.
/// <para>
/// A list of branches for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public List<Branch> Branches
{
get { return this._branches; }
set { this._branches = value; }
}
// Check to see if Branches property is set
internal bool IsSetBranches()
{
return this._branches != null && this._branches.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If a non-null pagination token is returned in a result, pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListDomainAssociations operation.
/// Returns the domain associations for an Amplify app.
/// </summary>
public partial class ListDomainAssociationsRequest : AmazonAmplifyRequest
{
private string _appId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing apps from the start. If non-null,
/// a pagination token is returned in a result. Pass its value in here to list more projects.
///
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the list domain association request.
/// </summary>
public partial class ListDomainAssociationsResponse : AmazonWebServiceResponse
{
private List<DomainAssociation> _domainAssociations = new List<DomainAssociation>();
private string _nextToken;
/// <summary>
/// Gets and sets the property DomainAssociations.
/// <para>
/// A list of domain associations.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public List<DomainAssociation> DomainAssociations
{
get { return this._domainAssociations; }
set { this._domainAssociations = value; }
}
// Check to see if DomainAssociations property is set
internal bool IsSetDomainAssociations()
{
return this._domainAssociations != null && this._domainAssociations.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If non-null, a pagination token is returned in a result. Pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListJobs operation.
/// Lists the jobs for a branch of an Amplify app.
/// </summary>
public partial class ListJobsRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for a branch.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing steps from the start. If a non-null
/// pagination token is returned in a result, pass its value in here to list more steps.
///
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
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;
}
}
} | 121 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The maximum number of records to list in a single response.
/// </summary>
public partial class ListJobsResponse : AmazonWebServiceResponse
{
private List<JobSummary> _jobSummaries = new List<JobSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property JobSummaries.
/// <para>
/// The result structure for the list job result request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<JobSummary> JobSummaries
{
get { return this._jobSummaries; }
set { this._jobSummaries = value; }
}
// Check to see if JobSummaries property is set
internal bool IsSetJobSummaries()
{
return this._jobSummaries != null && this._jobSummaries.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If non-null the pagination token is returned in a result. Pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListTagsForResource operation.
/// Returns a list of tags for a specified Amazon Resource Name (ARN).
/// </summary>
public partial class ListTagsForResourceRequest : AmazonAmplifyRequest
{
private string _resourceArn;
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) to use to list tags.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The response for the list tags for resource request.
/// </summary>
public partial class ListTagsForResourceResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A list of tags for the specified The Amazon Resource Name (ARN).
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> 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;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the ListWebhooks operation.
/// Returns a list of webhooks for an Amplify app.
/// </summary>
public partial class ListWebhooksRequest : AmazonAmplifyRequest
{
private string _appId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of records to list in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. Set to null to start listing webhooks from the start. If non-null,the
/// pagination token is returned in a result. Pass its value in here to list more webhooks.
///
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the list webhooks request.
/// </summary>
public partial class ListWebhooksResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Webhook> _webhooks = new List<Webhook>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A pagination token. If non-null, the pagination token is returned in a result. Pass
/// its value in another request to retrieve more entries.
/// </para>
/// </summary>
[AWSProperty(Max=2000)]
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 Webhooks.
/// <para>
/// A list of webhooks.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Webhook> Webhooks
{
get { return this._webhooks; }
set { this._webhooks = value; }
}
// Check to see if Webhooks property is set
internal bool IsSetWebhooks()
{
return this._webhooks != null && this._webhooks.Count > 0;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// An entity was not found during an operation.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class NotFoundException : AmazonAmplifyException
{
/// <summary>
/// Constructs a new NotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public NotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public NotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="innerException"></param>
public NotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of NotFoundException
/// </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 NotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public NotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the NotFoundException 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 NotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes the information about a production branch for an Amplify app.
/// </summary>
public partial class ProductionBranch
{
private string _branchName;
private DateTime? _lastDeployTime;
private string _status;
private string _thumbnailUrl;
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The branch name for the production branch.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property LastDeployTime.
/// <para>
/// The last deploy time of the production branch.
/// </para>
/// </summary>
public DateTime LastDeployTime
{
get { return this._lastDeployTime.GetValueOrDefault(); }
set { this._lastDeployTime = value; }
}
// Check to see if LastDeployTime property is set
internal bool IsSetLastDeployTime()
{
return this._lastDeployTime.HasValue;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The status of the production branch.
/// </para>
/// </summary>
[AWSProperty(Min=3, Max=7)]
public string 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 ThumbnailUrl.
/// <para>
/// The thumbnail URL for the production branch.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2000)]
public string ThumbnailUrl
{
get { return this._thumbnailUrl; }
set { this._thumbnailUrl = value; }
}
// Check to see if ThumbnailUrl property is set
internal bool IsSetThumbnailUrl()
{
return this._thumbnailUrl != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// An operation failed due to a non-existent resource.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceNotFoundException : AmazonAmplifyException
{
private string _code;
/// <summary>
/// Constructs a new ResourceNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="innerException"></param>
public ResourceNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.Code = (string)info.GetValue("Code", typeof(string));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("Code", this.Code);
}
#endif
/// <summary>
/// Gets and sets the property Code.
/// </summary>
[AWSProperty(Required=true)]
public string Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
}
} | 143 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the StartDeployment operation.
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected
/// to a repository.
/// </summary>
public partial class StartDeploymentRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _jobId;
private string _sourceUrl;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch, for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The job ID for this deployment, generated by the create deployment request.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property SourceUrl.
/// <para>
/// The source URL for this deployment, used when calling start deployment without create
/// deployment. The source URL can be any HTTP GET URL that is publicly accessible and
/// downloads a single .zip file.
/// </para>
/// </summary>
[AWSProperty(Max=3000)]
public string SourceUrl
{
get { return this._sourceUrl; }
set { this._sourceUrl = value; }
}
// Check to see if SourceUrl property is set
internal bool IsSetSourceUrl()
{
return this._sourceUrl != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the start a deployment request.
/// </summary>
public partial class StartDeploymentResponse : AmazonWebServiceResponse
{
private JobSummary _jobSummary;
/// <summary>
/// Gets and sets the property JobSummary.
/// <para>
/// The summary for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public JobSummary JobSummary
{
get { return this._jobSummary; }
set { this._jobSummary = value; }
}
// Check to see if JobSummary property is set
internal bool IsSetJobSummary()
{
return this._jobSummary != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the StartJob operation.
/// Starts a new job for a branch of an Amplify app.
/// </summary>
public partial class StartJobRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _commitId;
private string _commitMessage;
private DateTime? _commitTime;
private string _jobId;
private string _jobReason;
private JobType _jobType;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The branch name for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property CommitId.
/// <para>
/// The commit ID from a third-party repository provider for the job.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string CommitId
{
get { return this._commitId; }
set { this._commitId = value; }
}
// Check to see if CommitId property is set
internal bool IsSetCommitId()
{
return this._commitId != null;
}
/// <summary>
/// Gets and sets the property CommitMessage.
/// <para>
/// The commit message from a third-party repository provider for the job.
/// </para>
/// </summary>
[AWSProperty(Max=10000)]
public string CommitMessage
{
get { return this._commitMessage; }
set { this._commitMessage = value; }
}
// Check to see if CommitMessage property is set
internal bool IsSetCommitMessage()
{
return this._commitMessage != null;
}
/// <summary>
/// Gets and sets the property CommitTime.
/// <para>
/// The commit date and time for the job.
/// </para>
/// </summary>
public DateTime CommitTime
{
get { return this._commitTime.GetValueOrDefault(); }
set { this._commitTime = value; }
}
// Check to see if CommitTime property is set
internal bool IsSetCommitTime()
{
return this._commitTime.HasValue;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The unique ID for an existing job. This is required if the value of <code>jobType</code>
/// is <code>RETRY</code>.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
/// <summary>
/// Gets and sets the property JobReason.
/// <para>
/// A descriptive reason for starting this job.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string JobReason
{
get { return this._jobReason; }
set { this._jobReason = value; }
}
// Check to see if JobReason property is set
internal bool IsSetJobReason()
{
return this._jobReason != null;
}
/// <summary>
/// Gets and sets the property JobType.
/// <para>
/// Describes the type for the job. The job type <code>RELEASE</code> starts a new job
/// with the latest change from the specified branch. This value is available only for
/// apps that are connected to a repository. The job type <code>RETRY</code> retries an
/// existing job. If the job type value is <code>RETRY</code>, the <code>jobId</code>
/// is also required.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=10)]
public JobType JobType
{
get { return this._jobType; }
set { this._jobType = value; }
}
// Check to see if JobType property is set
internal bool IsSetJobType()
{
return this._jobType != null;
}
}
} | 203 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the run job request.
/// </summary>
public partial class StartJobResponse : AmazonWebServiceResponse
{
private JobSummary _jobSummary;
/// <summary>
/// Gets and sets the property JobSummary.
/// <para>
/// The summary for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public JobSummary JobSummary
{
get { return this._jobSummary; }
set { this._jobSummary = value; }
}
// Check to see if JobSummary property is set
internal bool IsSetJobSummary()
{
return this._jobSummary != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes an execution step, for an execution job, for an Amplify app.
/// </summary>
public partial class Step
{
private string _artifactsUrl;
private string _context;
private DateTime? _endTime;
private string _logUrl;
private Dictionary<string, string> _screenshots = new Dictionary<string, string>();
private DateTime? _startTime;
private JobStatus _status;
private string _statusReason;
private string _stepName;
private string _testArtifactsUrl;
private string _testConfigUrl;
/// <summary>
/// Gets and sets the property ArtifactsUrl.
/// <para>
/// The URL to the artifact for the execution step.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string ArtifactsUrl
{
get { return this._artifactsUrl; }
set { this._artifactsUrl = value; }
}
// Check to see if ArtifactsUrl property is set
internal bool IsSetArtifactsUrl()
{
return this._artifactsUrl != null;
}
/// <summary>
/// Gets and sets the property Context.
/// <para>
/// The context for the current step. Includes a build image if the step is build.
/// </para>
/// </summary>
public string Context
{
get { return this._context; }
set { this._context = value; }
}
// Check to see if Context property is set
internal bool IsSetContext()
{
return this._context != null;
}
/// <summary>
/// Gets and sets the property EndTime.
/// <para>
/// The end date and time of the execution step.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
/// <summary>
/// Gets and sets the property LogUrl.
/// <para>
/// The URL to the logs for the execution step.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string LogUrl
{
get { return this._logUrl; }
set { this._logUrl = value; }
}
// Check to see if LogUrl property is set
internal bool IsSetLogUrl()
{
return this._logUrl != null;
}
/// <summary>
/// Gets and sets the property Screenshots.
/// <para>
/// The list of screenshot URLs for the execution step, if relevant.
/// </para>
/// </summary>
public Dictionary<string, string> Screenshots
{
get { return this._screenshots; }
set { this._screenshots = value; }
}
// Check to see if Screenshots property is set
internal bool IsSetScreenshots()
{
return this._screenshots != null && this._screenshots.Count > 0;
}
/// <summary>
/// Gets and sets the property StartTime.
/// <para>
/// The start date and time of the execution step.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The status of the execution step.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public JobStatus 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 StatusReason.
/// <para>
/// The reason for the current step status.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
/// <summary>
/// Gets and sets the property StepName.
/// <para>
/// The name of the execution step.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string StepName
{
get { return this._stepName; }
set { this._stepName = value; }
}
// Check to see if StepName property is set
internal bool IsSetStepName()
{
return this._stepName != null;
}
/// <summary>
/// Gets and sets the property TestArtifactsUrl.
/// <para>
/// The URL to the test artifact for the execution step.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string TestArtifactsUrl
{
get { return this._testArtifactsUrl; }
set { this._testArtifactsUrl = value; }
}
// Check to see if TestArtifactsUrl property is set
internal bool IsSetTestArtifactsUrl()
{
return this._testArtifactsUrl != null;
}
/// <summary>
/// Gets and sets the property TestConfigUrl.
/// <para>
/// The URL to the test configuration for the execution step.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string TestConfigUrl
{
get { return this._testConfigUrl; }
set { this._testConfigUrl = value; }
}
// Check to see if TestConfigUrl property is set
internal bool IsSetTestConfigUrl()
{
return this._testConfigUrl != null;
}
}
} | 256 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the StopJob operation.
/// Stops a job that is in progress for a branch of an Amplify app.
/// </summary>
public partial class StopJobRequest : AmazonAmplifyRequest
{
private string _appId;
private string _branchName;
private string _jobId;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch, for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property JobId.
/// <para>
/// The unique id for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the stop job request.
/// </summary>
public partial class StopJobResponse : AmazonWebServiceResponse
{
private JobSummary _jobSummary;
/// <summary>
/// Gets and sets the property JobSummary.
/// <para>
/// The summary for the job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public JobSummary JobSummary
{
get { return this._jobSummary; }
set { this._jobSummary = value; }
}
// Check to see if JobSummary property is set
internal bool IsSetJobSummary()
{
return this._jobSummary != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The subdomain for the domain association.
/// </summary>
public partial class SubDomain
{
private string _dnsRecord;
private SubDomainSetting _subDomainSetting;
private bool? _verified;
/// <summary>
/// Gets and sets the property DnsRecord.
/// <para>
/// The DNS record for the subdomain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=1000)]
public string DnsRecord
{
get { return this._dnsRecord; }
set { this._dnsRecord = value; }
}
// Check to see if DnsRecord property is set
internal bool IsSetDnsRecord()
{
return this._dnsRecord != null;
}
/// <summary>
/// Gets and sets the property SubDomainSetting.
/// <para>
/// Describes the settings for the subdomain.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SubDomainSetting SubDomainSetting
{
get { return this._subDomainSetting; }
set { this._subDomainSetting = value; }
}
// Check to see if SubDomainSetting property is set
internal bool IsSetSubDomainSetting()
{
return this._subDomainSetting != null;
}
/// <summary>
/// Gets and sets the property Verified.
/// <para>
/// The verified status of the subdomain
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool Verified
{
get { return this._verified.GetValueOrDefault(); }
set { this._verified = value; }
}
// Check to see if Verified property is set
internal bool IsSetVerified()
{
return this._verified.HasValue;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Describes the settings for the subdomain.
/// </summary>
public partial class SubDomainSetting
{
private string _branchName;
private string _prefix;
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The branch name setting for the subdomain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property Prefix.
/// <para>
/// The prefix setting for the subdomain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=255)]
public string Prefix
{
get { return this._prefix; }
set { this._prefix = value; }
}
// Check to see if Prefix property is set
internal bool IsSetPrefix()
{
return this._prefix != null;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the TagResource operation.
/// Tags the resource with a tag key and value.
/// </summary>
public partial class TagResourceRequest : AmazonAmplifyRequest
{
private string _resourceArn;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) to use to tag a resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags used to tag the resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=50)]
public Dictionary<string, string> 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;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The response for the tag resource request.
/// </summary>
public partial class TagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// An operation failed due to a lack of access.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class UnauthorizedException : AmazonAmplifyException
{
/// <summary>
/// Constructs a new UnauthorizedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public UnauthorizedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public UnauthorizedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="innerException"></param>
public UnauthorizedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </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 UnauthorizedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnauthorizedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the UnauthorizedException 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 UnauthorizedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the UntagResource operation.
/// Untags a resource with a specified Amazon Resource Name (ARN).
/// </summary>
public partial class UntagResourceRequest : AmazonAmplifyRequest
{
private string _resourceArn;
private List<string> _tagKeys = new List<string>();
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) to use to untag a resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
/// <summary>
/// Gets and sets the property TagKeys.
/// <para>
/// The tag keys to use to untag a resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=50)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
} | 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The response for the untag resource request.
/// </summary>
public partial class UntagResourceResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the UpdateApp operation.
/// Updates an existing Amplify app.
/// </summary>
public partial class UpdateAppRequest : AmazonAmplifyRequest
{
private string _accessToken;
private string _appId;
private AutoBranchCreationConfig _autoBranchCreationConfig;
private List<string> _autoBranchCreationPatterns = new List<string>();
private string _basicAuthCredentials;
private string _buildSpec;
private string _customHeaders;
private List<CustomRule> _customRules = new List<CustomRule>();
private string _description;
private bool? _enableAutoBranchCreation;
private bool? _enableBasicAuth;
private bool? _enableBranchAutoBuild;
private bool? _enableBranchAutoDeletion;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _iamServiceRoleArn;
private string _name;
private string _oauthToken;
private Platform _platform;
private string _repository;
/// <summary>
/// Gets and sets the property AccessToken.
/// <para>
/// The personal access token for a GitHub repository for an Amplify app. The personal
/// access token is used to authorize access to a GitHub repository using the Amplify
/// GitHub App. The token is not stored.
/// </para>
///
/// <para>
/// Use <code>accessToken</code> for GitHub repositories only. To authorize access to
/// a repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.
/// </para>
///
/// <para>
/// You must specify either <code>accessToken</code> or <code>oauthToken</code> when you
/// update an app.
/// </para>
///
/// <para>
/// Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
/// with CI/CD. However, we strongly recommend that you migrate these apps to use the
/// GitHub App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating
/// an existing OAuth app to the Amplify GitHub App</a> in the <i>Amplify User Guide</i>
/// .
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=255)]
public string AccessToken
{
get { return this._accessToken; }
set { this._accessToken = value; }
}
// Check to see if AccessToken property is set
internal bool IsSetAccessToken()
{
return this._accessToken != null;
}
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property AutoBranchCreationConfig.
/// <para>
/// The automated branch creation configuration for an Amplify app.
/// </para>
/// </summary>
public AutoBranchCreationConfig AutoBranchCreationConfig
{
get { return this._autoBranchCreationConfig; }
set { this._autoBranchCreationConfig = value; }
}
// Check to see if AutoBranchCreationConfig property is set
internal bool IsSetAutoBranchCreationConfig()
{
return this._autoBranchCreationConfig != null;
}
/// <summary>
/// Gets and sets the property AutoBranchCreationPatterns.
/// <para>
/// Describes the automated branch creation glob patterns for an Amplify app.
/// </para>
/// </summary>
public List<string> AutoBranchCreationPatterns
{
get { return this._autoBranchCreationPatterns; }
set { this._autoBranchCreationPatterns = value; }
}
// Check to see if AutoBranchCreationPatterns property is set
internal bool IsSetAutoBranchCreationPatterns()
{
return this._autoBranchCreationPatterns != null && this._autoBranchCreationPatterns.Count > 0;
}
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The basic authorization credentials for an Amplify app. You must base64-encode the
/// authorization credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// The build specification (build spec) for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property CustomHeaders.
/// <para>
/// The custom HTTP headers for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25000)]
public string CustomHeaders
{
get { return this._customHeaders; }
set { this._customHeaders = value; }
}
// Check to see if CustomHeaders property is set
internal bool IsSetCustomHeaders()
{
return this._customHeaders != null;
}
/// <summary>
/// Gets and sets the property CustomRules.
/// <para>
/// The custom redirect and rewrite rules for an Amplify app.
/// </para>
/// </summary>
public List<CustomRule> CustomRules
{
get { return this._customRules; }
set { this._customRules = value; }
}
// Check to see if CustomRules property is set
internal bool IsSetCustomRules()
{
return this._customRules != null && this._customRules.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
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 EnableAutoBranchCreation.
/// <para>
/// Enables automated branch creation for an Amplify app.
/// </para>
/// </summary>
public bool EnableAutoBranchCreation
{
get { return this._enableAutoBranchCreation.GetValueOrDefault(); }
set { this._enableAutoBranchCreation = value; }
}
// Check to see if EnableAutoBranchCreation property is set
internal bool IsSetEnableAutoBranchCreation()
{
return this._enableAutoBranchCreation.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for an Amplify app.
/// </para>
/// </summary>
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBranchAutoBuild.
/// <para>
/// Enables branch auto-building for an Amplify app.
/// </para>
/// </summary>
public bool EnableBranchAutoBuild
{
get { return this._enableBranchAutoBuild.GetValueOrDefault(); }
set { this._enableBranchAutoBuild = value; }
}
// Check to see if EnableBranchAutoBuild property is set
internal bool IsSetEnableBranchAutoBuild()
{
return this._enableBranchAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBranchAutoDeletion.
/// <para>
/// Automatically disconnects a branch in the Amplify Console when you delete a branch
/// from your Git repository.
/// </para>
/// </summary>
public bool EnableBranchAutoDeletion
{
get { return this._enableBranchAutoDeletion.GetValueOrDefault(); }
set { this._enableBranchAutoDeletion = value; }
}
// Check to see if EnableBranchAutoDeletion property is set
internal bool IsSetEnableBranchAutoDeletion()
{
return this._enableBranchAutoDeletion.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables for an Amplify app.
/// </para>
/// </summary>
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property IamServiceRoleArn.
/// <para>
/// The AWS Identity and Access Management (IAM) service role for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1000)]
public string IamServiceRoleArn
{
get { return this._iamServiceRoleArn; }
set { this._iamServiceRoleArn = value; }
}
// Check to see if IamServiceRoleArn property is set
internal bool IsSetIamServiceRoleArn()
{
return this._iamServiceRoleArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property OauthToken.
/// <para>
/// The OAuth token for a third-party source control system for an Amplify app. The OAuth
/// token is used to create a webhook and a read-only deploy key using SSH cloning. The
/// OAuth token is not stored.
/// </para>
///
/// <para>
/// Use <code>oauthToken</code> for repository providers other than GitHub, such as Bitbucket
/// or CodeCommit.
/// </para>
///
/// <para>
/// To authorize access to GitHub as your repository provider, use <code>accessToken</code>.
/// </para>
///
/// <para>
/// You must specify either <code>oauthToken</code> or <code>accessToken</code> when you
/// update an app.
/// </para>
///
/// <para>
/// Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
/// with CI/CD. However, we strongly recommend that you migrate these apps to use the
/// GitHub App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating
/// an existing OAuth app to the Amplify GitHub App</a> in the <i>Amplify User Guide</i>
/// .
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=1000)]
public string OauthToken
{
get { return this._oauthToken; }
set { this._oauthToken = value; }
}
// Check to see if OauthToken property is set
internal bool IsSetOauthToken()
{
return this._oauthToken != null;
}
/// <summary>
/// Gets and sets the property Platform.
/// <para>
/// The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
/// For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>.
/// For an app requiring Amplify Hosting's original SSR support only, set the platform
/// type to <code>WEB_DYNAMIC</code>.
/// </para>
/// </summary>
public Platform Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
/// <summary>
/// Gets and sets the property Repository.
/// <para>
/// The name of the repository for an Amplify app
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string Repository
{
get { return this._repository; }
set { this._repository = value; }
}
// Check to see if Repository property is set
internal bool IsSetRepository()
{
return this._repository != null;
}
}
} | 459 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for an Amplify app update request.
/// </summary>
public partial class UpdateAppResponse : AmazonWebServiceResponse
{
private App _app;
/// <summary>
/// Gets and sets the property App.
/// <para>
/// Represents the updated Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public App App
{
get { return this._app; }
set { this._app = value; }
}
// Check to see if App property is set
internal bool IsSetApp()
{
return this._app != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the UpdateBranch operation.
/// Updates a branch for an Amplify app.
/// </summary>
public partial class UpdateBranchRequest : AmazonAmplifyRequest
{
private string _appId;
private string _backendEnvironmentArn;
private string _basicAuthCredentials;
private string _branchName;
private string _buildSpec;
private string _description;
private string _displayName;
private bool? _enableAutoBuild;
private bool? _enableBasicAuth;
private bool? _enableNotification;
private bool? _enablePerformanceMode;
private bool? _enablePullRequestPreview;
private Dictionary<string, string> _environmentVariables = new Dictionary<string, string>();
private string _framework;
private string _pullRequestEnvironmentName;
private Stage _stage;
private string _ttl;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property BackendEnvironmentArn.
/// <para>
/// The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1000)]
public string BackendEnvironmentArn
{
get { return this._backendEnvironmentArn; }
set { this._backendEnvironmentArn = value; }
}
// Check to see if BackendEnvironmentArn property is set
internal bool IsSetBackendEnvironmentArn()
{
return this._backendEnvironmentArn != null;
}
/// <summary>
/// Gets and sets the property BasicAuthCredentials.
/// <para>
/// The basic authorization credentials for the branch. You must base64-encode the authorization
/// credentials and provide them in the format <code>user:password</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=2000)]
public string BasicAuthCredentials
{
get { return this._basicAuthCredentials; }
set { this._basicAuthCredentials = value; }
}
// Check to see if BasicAuthCredentials property is set
internal bool IsSetBasicAuthCredentials()
{
return this._basicAuthCredentials != null;
}
/// <summary>
/// Gets and sets the property BranchName.
/// <para>
/// The name for the branch.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string BranchName
{
get { return this._branchName; }
set { this._branchName = value; }
}
// Check to see if BranchName property is set
internal bool IsSetBranchName()
{
return this._branchName != null;
}
/// <summary>
/// Gets and sets the property BuildSpec.
/// <para>
/// The build specification (build spec) for the branch.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=25000)]
public string BuildSpec
{
get { return this._buildSpec; }
set { this._buildSpec = value; }
}
// Check to see if BuildSpec property is set
internal bool IsSetBuildSpec()
{
return this._buildSpec != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description for the branch.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
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 DisplayName.
/// <para>
/// The display name for a branch. This is used as the default domain prefix.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property EnableAutoBuild.
/// <para>
/// Enables auto building for the branch.
/// </para>
/// </summary>
public bool EnableAutoBuild
{
get { return this._enableAutoBuild.GetValueOrDefault(); }
set { this._enableAutoBuild = value; }
}
// Check to see if EnableAutoBuild property is set
internal bool IsSetEnableAutoBuild()
{
return this._enableAutoBuild.HasValue;
}
/// <summary>
/// Gets and sets the property EnableBasicAuth.
/// <para>
/// Enables basic authorization for the branch.
/// </para>
/// </summary>
public bool EnableBasicAuth
{
get { return this._enableBasicAuth.GetValueOrDefault(); }
set { this._enableBasicAuth = value; }
}
// Check to see if EnableBasicAuth property is set
internal bool IsSetEnableBasicAuth()
{
return this._enableBasicAuth.HasValue;
}
/// <summary>
/// Gets and sets the property EnableNotification.
/// <para>
/// Enables notifications for the branch.
/// </para>
/// </summary>
public bool EnableNotification
{
get { return this._enableNotification.GetValueOrDefault(); }
set { this._enableNotification = value; }
}
// Check to see if EnableNotification property is set
internal bool IsSetEnableNotification()
{
return this._enableNotification.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePerformanceMode.
/// <para>
/// Enables performance mode for the branch.
/// </para>
///
/// <para>
/// Performance mode optimizes for faster hosting performance by keeping content cached
/// at the edge for a longer interval. When performance mode is enabled, hosting configuration
/// or code changes can take up to 10 minutes to roll out.
/// </para>
/// </summary>
public bool EnablePerformanceMode
{
get { return this._enablePerformanceMode.GetValueOrDefault(); }
set { this._enablePerformanceMode = value; }
}
// Check to see if EnablePerformanceMode property is set
internal bool IsSetEnablePerformanceMode()
{
return this._enablePerformanceMode.HasValue;
}
/// <summary>
/// Gets and sets the property EnablePullRequestPreview.
/// <para>
/// Enables pull request previews for this branch.
/// </para>
/// </summary>
public bool EnablePullRequestPreview
{
get { return this._enablePullRequestPreview.GetValueOrDefault(); }
set { this._enablePullRequestPreview = value; }
}
// Check to see if EnablePullRequestPreview property is set
internal bool IsSetEnablePullRequestPreview()
{
return this._enablePullRequestPreview.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentVariables.
/// <para>
/// The environment variables for the branch.
/// </para>
/// </summary>
public Dictionary<string, string> EnvironmentVariables
{
get { return this._environmentVariables; }
set { this._environmentVariables = value; }
}
// Check to see if EnvironmentVariables property is set
internal bool IsSetEnvironmentVariables()
{
return this._environmentVariables != null && this._environmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property Framework.
/// <para>
/// The framework for the branch.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string Framework
{
get { return this._framework; }
set { this._framework = value; }
}
// Check to see if Framework property is set
internal bool IsSetFramework()
{
return this._framework != null;
}
/// <summary>
/// Gets and sets the property PullRequestEnvironmentName.
/// <para>
/// The Amplify environment name for the pull request.
/// </para>
/// </summary>
[AWSProperty(Max=20)]
public string PullRequestEnvironmentName
{
get { return this._pullRequestEnvironmentName; }
set { this._pullRequestEnvironmentName = value; }
}
// Check to see if PullRequestEnvironmentName property is set
internal bool IsSetPullRequestEnvironmentName()
{
return this._pullRequestEnvironmentName != null;
}
/// <summary>
/// Gets and sets the property Stage.
/// <para>
/// Describes the current stage for the branch.
/// </para>
/// </summary>
public Stage Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
/// <summary>
/// Gets and sets the property Ttl.
/// <para>
/// The content Time to Live (TTL) for the website in seconds.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=32)]
public string Ttl
{
get { return this._ttl; }
set { this._ttl = value; }
}
// Check to see if Ttl property is set
internal bool IsSetTtl()
{
return this._ttl != null;
}
}
} | 380 |
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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the update branch request.
/// </summary>
public partial class UpdateBranchResponse : AmazonWebServiceResponse
{
private Branch _branch;
/// <summary>
/// Gets and sets the property Branch.
/// <para>
/// The branch for an Amplify app, which maps to a third-party repository branch.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Branch Branch
{
get { return this._branch; }
set { this._branch = value; }
}
// Check to see if Branch property is set
internal bool IsSetBranch()
{
return this._branch != 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 amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// Container for the parameters to the UpdateDomainAssociation operation.
/// Creates a new domain association for an Amplify app.
/// </summary>
public partial class UpdateDomainAssociationRequest : AmazonAmplifyRequest
{
private string _appId;
private List<string> _autoSubDomainCreationPatterns = new List<string>();
private string _autoSubDomainIAMRole;
private string _domainName;
private bool? _enableAutoSubDomain;
private List<SubDomainSetting> _subDomainSettings = new List<SubDomainSetting>();
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for an Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property AutoSubDomainCreationPatterns.
/// <para>
/// Sets the branch patterns for automatic subdomain creation.
/// </para>
/// </summary>
public List<string> AutoSubDomainCreationPatterns
{
get { return this._autoSubDomainCreationPatterns; }
set { this._autoSubDomainCreationPatterns = value; }
}
// Check to see if AutoSubDomainCreationPatterns property is set
internal bool IsSetAutoSubDomainCreationPatterns()
{
return this._autoSubDomainCreationPatterns != null && this._autoSubDomainCreationPatterns.Count > 0;
}
/// <summary>
/// Gets and sets the property AutoSubDomainIAMRole.
/// <para>
/// The required AWS Identity and Access Management (IAM) service role for the Amazon
/// Resource Name (ARN) for automatically creating subdomains.
/// </para>
/// </summary>
[AWSProperty(Max=1000)]
public string AutoSubDomainIAMRole
{
get { return this._autoSubDomainIAMRole; }
set { this._autoSubDomainIAMRole = value; }
}
// Check to see if AutoSubDomainIAMRole property is set
internal bool IsSetAutoSubDomainIAMRole()
{
return this._autoSubDomainIAMRole != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The name of the domain.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property EnableAutoSubDomain.
/// <para>
/// Enables the automated creation of subdomains for branches.
/// </para>
/// </summary>
public bool EnableAutoSubDomain
{
get { return this._enableAutoSubDomain.GetValueOrDefault(); }
set { this._enableAutoSubDomain = value; }
}
// Check to see if EnableAutoSubDomain property is set
internal bool IsSetEnableAutoSubDomain()
{
return this._enableAutoSubDomain.HasValue;
}
/// <summary>
/// Gets and sets the property SubDomainSettings.
/// <para>
/// Describes the settings for the subdomain.
/// </para>
/// </summary>
[AWSProperty(Max=500)]
public List<SubDomainSetting> SubDomainSettings
{
get { return this._subDomainSettings; }
set { this._subDomainSettings = value; }
}
// Check to see if SubDomainSettings property is set
internal bool IsSetSubDomainSettings()
{
return this._subDomainSettings != null && this._subDomainSettings.Count > 0;
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplify-2017-07-25.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.Amplify.Model
{
/// <summary>
/// The result structure for the update domain association request.
/// </summary>
public partial class UpdateDomainAssociationResponse : AmazonWebServiceResponse
{
private DomainAssociation _domainAssociation;
/// <summary>
/// Gets and sets the property DomainAssociation.
/// <para>
/// Describes a domain association, which associates a custom domain with an Amplify
/// app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DomainAssociation DomainAssociation
{
get { return this._domainAssociation; }
set { this._domainAssociation = value; }
}
// Check to see if DomainAssociation property is set
internal bool IsSetDomainAssociation()
{
return this._domainAssociation != null;
}
}
} | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.