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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// An object that determines whether any URL query strings in viewer requests (and if
/// so, which query strings) are included in the cache key and in requests that CloudFront
/// sends to the origin.
/// </summary>
public partial class CachePolicyQueryStringsConfig
{
private CachePolicyQueryStringBehavior _queryStringBehavior;
private QueryStringNames _queryStrings;
/// <summary>
/// Gets and sets the property QueryStringBehavior.
/// <para>
/// Determines whether any URL query strings in viewer requests are included in the cache
/// key and in requests that CloudFront sends to the origin. Valid values are:
/// </para>
/// <ul> <li>
/// <para>
/// <code>none</code> – No query strings in viewer requests are included in the cache
/// key or in requests that CloudFront sends to the origin. Even when this field is set
/// to <code>none</code>, any query strings that are listed in an <code>OriginRequestPolicy</code>
/// <i>are</i> included in origin requests.
/// </para>
/// </li> <li>
/// <para>
/// <code>whitelist</code> – Only the query strings in viewer requests that are listed
/// in the <code>QueryStringNames</code> type are included in the cache key and in requests
/// that CloudFront sends to the origin.
/// </para>
/// </li> <li>
/// <para>
/// <code>allExcept</code> – All query strings in viewer requests are included in the
/// cache key and in requests that CloudFront sends to the origin, <i> <b>except</b> </i>
/// those that are listed in the <code>QueryStringNames</code> type, which are not included.
/// </para>
/// </li> <li>
/// <para>
/// <code>all</code> – All query strings in viewer requests are included in the cache
/// key and in requests that CloudFront sends to the origin.
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Required=true)]
public CachePolicyQueryStringBehavior QueryStringBehavior
{
get { return this._queryStringBehavior; }
set { this._queryStringBehavior = value; }
}
// Check to see if QueryStringBehavior property is set
internal bool IsSetQueryStringBehavior()
{
return this._queryStringBehavior != null;
}
/// <summary>
/// Gets and sets the property QueryStrings.
/// <para>
/// Contains the specific query strings in viewer requests that either <i> <b>are</b>
/// </i> or <i> <b>are not</b> </i> included in the cache key and in requests that CloudFront
/// sends to the origin. The behavior depends on whether the <code>QueryStringBehavior</code>
/// field in the <code>CachePolicyQueryStringsConfig</code> type is set to <code>whitelist</code>
/// (the listed query strings <i> <b>are</b> </i> included) or <code>allExcept</code>
/// (the listed query strings <i> <b>are not</b> </i> included, but all other query strings
/// are).
/// </para>
/// </summary>
public QueryStringNames QueryStrings
{
get { return this._queryStrings; }
set { this._queryStrings = value; }
}
// Check to see if QueryStrings property is set
internal bool IsSetQueryStrings()
{
return this._queryStrings != null;
}
}
}
| 111 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Contains a cache policy.
/// </summary>
public partial class CachePolicySummary
{
private CachePolicy _cachePolicy;
private CachePolicyType _type;
/// <summary>
/// Gets and sets the property CachePolicy.
/// <para>
/// The cache policy.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CachePolicy CachePolicy
{
get { return this._cachePolicy; }
set { this._cachePolicy = value; }
}
// Check to see if CachePolicy property is set
internal bool IsSetCachePolicy()
{
return this._cachePolicy != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of cache policy, either <code>managed</code> (created by Amazon Web Services)
/// or <code>custom</code> (created in this Amazon Web Services account).
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CachePolicyType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// You can't change the value of a public key.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class CannotChangeImmutablePublicKeyFieldsException : AmazonCloudFrontException
{
/// <summary>
/// Constructs a new CannotChangeImmutablePublicKeyFieldsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public CannotChangeImmutablePublicKeyFieldsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of CannotChangeImmutablePublicKeyFieldsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public CannotChangeImmutablePublicKeyFieldsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of CannotChangeImmutablePublicKeyFieldsException
/// </summary>
/// <param name="innerException"></param>
public CannotChangeImmutablePublicKeyFieldsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of CannotChangeImmutablePublicKeyFieldsException
/// </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 CannotChangeImmutablePublicKeyFieldsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of CannotChangeImmutablePublicKeyFieldsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CannotChangeImmutablePublicKeyFieldsException(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 CannotChangeImmutablePublicKeyFieldsException 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 CannotChangeImmutablePublicKeyFieldsException(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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// CloudFront origin access identity.
/// </summary>
public partial class CloudFrontOriginAccessIdentity
{
private CloudFrontOriginAccessIdentityConfig _cloudFrontOriginAccessIdentityConfig;
private string _id;
private string _s3CanonicalUserId;
/// <summary>
/// Gets and sets the property CloudFrontOriginAccessIdentityConfig.
/// <para>
/// The current configuration information for the identity.
/// </para>
/// </summary>
public CloudFrontOriginAccessIdentityConfig CloudFrontOriginAccessIdentityConfig
{
get { return this._cloudFrontOriginAccessIdentityConfig; }
set { this._cloudFrontOriginAccessIdentityConfig = value; }
}
// Check to see if CloudFrontOriginAccessIdentityConfig property is set
internal bool IsSetCloudFrontOriginAccessIdentityConfig()
{
return this._cloudFrontOriginAccessIdentityConfig != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID for the origin access identity, for example, <code>E74FTE3AJFJ256A</code>.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property S3CanonicalUserId.
/// <para>
/// The Amazon S3 canonical user ID for the origin access identity, used when giving the
/// origin access identity read permission to an object in Amazon S3.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string S3CanonicalUserId
{
get { return this._s3CanonicalUserId; }
set { this._s3CanonicalUserId = value; }
}
// Check to see if S3CanonicalUserId property is set
internal bool IsSetS3CanonicalUserId()
{
return this._s3CanonicalUserId != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// If the <code>CallerReference</code> is a value you already sent in a previous request
/// to create an identity but the content of the <code>CloudFrontOriginAccessIdentityConfig</code>
/// is different from the original request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code>
/// error.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class CloudFrontOriginAccessIdentityAlreadyExistsException : AmazonCloudFrontException
{
/// <summary>
/// Constructs a new CloudFrontOriginAccessIdentityAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public CloudFrontOriginAccessIdentityAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public CloudFrontOriginAccessIdentityAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public CloudFrontOriginAccessIdentityAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityAlreadyExistsException
/// </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 CloudFrontOriginAccessIdentityAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CloudFrontOriginAccessIdentityAlreadyExistsException(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 CloudFrontOriginAccessIdentityAlreadyExistsException 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 CloudFrontOriginAccessIdentityAlreadyExistsException(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
}
}
| 127 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Origin access identity configuration. Send a <code>GET</code> request to the <code>/<i>CloudFront
/// API version</i>/CloudFront/identity ID/config</code> resource.
/// </summary>
public partial class CloudFrontOriginAccessIdentityConfig
{
private string _callerReference;
private string _comment;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CloudFrontOriginAccessIdentityConfig() { }
/// <summary>
/// Instantiates CloudFrontOriginAccessIdentityConfig with the parameterized properties
/// </summary>
/// <param name="callerReference">A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of <code>CallerReference</code> is new (regardless of the content of the <code>CloudFrontOriginAccessIdentityConfig</code> object), a new origin access identity is created. If the <code>CallerReference</code> is a value already sent in a previous identity request, and the content of the <code>CloudFrontOriginAccessIdentityConfig</code> is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the <code>CallerReference</code> is a value you already sent in a previous request to create an identity, but the content of the <code>CloudFrontOriginAccessIdentityConfig</code> is different from the original request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code> error. </param>
public CloudFrontOriginAccessIdentityConfig(string callerReference)
{
_callerReference = callerReference;
}
/// <summary>
/// Gets and sets the property CallerReference.
/// <para>
/// A unique value (for example, a date-time stamp) that ensures that the request can't
/// be replayed.
/// </para>
///
/// <para>
/// If the value of <code>CallerReference</code> is new (regardless of the content of
/// the <code>CloudFrontOriginAccessIdentityConfig</code> object), a new origin access
/// identity is created.
/// </para>
///
/// <para>
/// If the <code>CallerReference</code> is a value already sent in a previous identity
/// request, and the content of the <code>CloudFrontOriginAccessIdentityConfig</code>
/// is identical to the original request (ignoring white space), the response includes
/// the same information returned to the original request.
/// </para>
///
/// <para>
/// If the <code>CallerReference</code> is a value you already sent in a previous request
/// to create an identity, but the content of the <code>CloudFrontOriginAccessIdentityConfig</code>
/// is different from the original request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code>
/// error.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string CallerReference
{
get { return this._callerReference; }
set { this._callerReference = value; }
}
// Check to see if CallerReference property is set
internal bool IsSetCallerReference()
{
return this._callerReference != null;
}
/// <summary>
/// Gets and sets the property Comment.
/// <para>
/// A comment to describe the origin access identity. The comment cannot be longer than
/// 128 characters.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Comment
{
get { return this._comment; }
set { this._comment = value; }
}
// Check to see if Comment property is set
internal bool IsSetComment()
{
return this._comment != null;
}
}
}
| 115 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The Origin Access Identity specified is already in use.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class CloudFrontOriginAccessIdentityInUseException : AmazonCloudFrontException
{
/// <summary>
/// Constructs a new CloudFrontOriginAccessIdentityInUseException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public CloudFrontOriginAccessIdentityInUseException(string message)
: base(message) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public CloudFrontOriginAccessIdentityInUseException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityInUseException
/// </summary>
/// <param name="innerException"></param>
public CloudFrontOriginAccessIdentityInUseException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityInUseException
/// </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 CloudFrontOriginAccessIdentityInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of CloudFrontOriginAccessIdentityInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CloudFrontOriginAccessIdentityInUseException(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 CloudFrontOriginAccessIdentityInUseException 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 CloudFrontOriginAccessIdentityInUseException(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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Lists the origin access identities for CloudFront.Send a <code>GET</code> request
/// to the <code>/<i>CloudFront API version</i>/origin-access-identity/cloudfront</code>
/// resource. The response includes a <code>CloudFrontOriginAccessIdentityList</code>
/// element with zero or more <code>CloudFrontOriginAccessIdentitySummary</code> child
/// elements. By default, your entire list of origin access identities is returned in
/// one single page. If the list is long, you can paginate it using the <code>MaxItems</code>
/// and <code>Marker</code> parameters.
/// </summary>
public partial class CloudFrontOriginAccessIdentityList
{
private bool? _isTruncated;
private List<CloudFrontOriginAccessIdentitySummary> _items = new List<CloudFrontOriginAccessIdentitySummary>();
private string _marker;
private int? _maxItems;
private string _nextMarker;
private int? _quantity;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CloudFrontOriginAccessIdentityList() { }
/// <summary>
/// Gets and sets the property IsTruncated.
/// <para>
/// A flag that indicates whether more origin access identities remain to be listed. If
/// your results were truncated, you can make a follow-up pagination request using the
/// <code>Marker</code> request parameter to retrieve more items in the list.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool IsTruncated
{
get { return this._isTruncated.GetValueOrDefault(); }
set { this._isTruncated = value; }
}
// Check to see if IsTruncated property is set
internal bool IsSetIsTruncated()
{
return this._isTruncated.HasValue;
}
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// A complex type that contains one <code>CloudFrontOriginAccessIdentitySummary</code>
/// element for each origin access identity that was created by the current Amazon Web
/// Services account.
/// </para>
/// </summary>
public List<CloudFrontOriginAccessIdentitySummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property Marker.
/// <para>
/// Use this when paginating results to indicate where to begin in your list of origin
/// access identities. The results include identities in the list that occur after the
/// marker. To get the next page of results, set the <code>Marker</code> to the value
/// of the <code>NextMarker</code> from the current page's response (which is also the
/// ID of the last identity on that page).
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Marker
{
get { return this._marker; }
set { this._marker = value; }
}
// Check to see if Marker property is set
internal bool IsSetMarker()
{
return this._marker != null;
}
/// <summary>
/// Gets and sets the property MaxItems.
/// <para>
/// The maximum number of origin access identities you want in the response body.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int MaxItems
{
get { return this._maxItems.GetValueOrDefault(); }
set { this._maxItems = value; }
}
// Check to see if MaxItems property is set
internal bool IsSetMaxItems()
{
return this._maxItems.HasValue;
}
/// <summary>
/// Gets and sets the property NextMarker.
/// <para>
/// If <code>IsTruncated</code> is <code>true</code>, this element is present and contains
/// the value you can use for the <code>Marker</code> request parameter to continue listing
/// your origin access identities where they left off.
/// </para>
/// </summary>
public string NextMarker
{
get { return this._nextMarker; }
set { this._nextMarker = value; }
}
// Check to see if NextMarker property is set
internal bool IsSetNextMarker()
{
return this._nextMarker != null;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The number of CloudFront origin access identities that were created by the current
/// Amazon Web Services account.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 178 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Summary of the information about a CloudFront origin access identity.
/// </summary>
public partial class CloudFrontOriginAccessIdentitySummary
{
private string _comment;
private string _id;
private string _s3CanonicalUserId;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CloudFrontOriginAccessIdentitySummary() { }
/// <summary>
/// Gets and sets the property Comment.
/// <para>
/// The comment for this origin access identity, as originally specified when created.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Comment
{
get { return this._comment; }
set { this._comment = value; }
}
// Check to see if Comment property is set
internal bool IsSetComment()
{
return this._comment != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID for the origin access identity. For example: <code>E74FTE3AJFJ256A</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property S3CanonicalUserId.
/// <para>
/// The Amazon S3 canonical user ID for the origin access identity, which you use when
/// giving the origin access identity read permission to an object in Amazon S3.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string S3CanonicalUserId
{
get { return this._s3CanonicalUserId; }
set { this._s3CanonicalUserId = value; }
}
// Check to see if S3CanonicalUserId property is set
internal bool IsSetS3CanonicalUserId()
{
return this._s3CanonicalUserId != null;
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The CNAME specified is already defined for CloudFront.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class CNAMEAlreadyExistsException : AmazonCloudFrontException
{
/// <summary>
/// Constructs a new CNAMEAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public CNAMEAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of CNAMEAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public CNAMEAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of CNAMEAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public CNAMEAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of CNAMEAlreadyExistsException
/// </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 CNAMEAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of CNAMEAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CNAMEAlreadyExistsException(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 CNAMEAlreadyExistsException 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 CNAMEAlreadyExistsException(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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// An alias (also called a CNAME) and the CloudFront distribution and Amazon Web Services
/// account ID that it's associated with. The distribution and account IDs are partially
/// hidden, which allows you to identify the distributions and accounts that you own,
/// but helps to protect the information of ones that you don't own.
/// </summary>
public partial class ConflictingAlias
{
private string _accountId;
private string _alias;
private string _distributionId;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The (partially hidden) ID of the Amazon Web Services account that owns the distribution
/// that's associated with the alias.
/// </para>
/// </summary>
public string AccountId
{
get { return this._accountId; }
set { this._accountId = value; }
}
// Check to see if AccountId property is set
internal bool IsSetAccountId()
{
return this._accountId != null;
}
/// <summary>
/// Gets and sets the property Alias.
/// <para>
/// An alias (also called a CNAME).
/// </para>
/// </summary>
public string Alias
{
get { return this._alias; }
set { this._alias = value; }
}
// Check to see if Alias property is set
internal bool IsSetAlias()
{
return this._alias != null;
}
/// <summary>
/// Gets and sets the property DistributionId.
/// <para>
/// The (partially hidden) ID of the CloudFront distribution associated with the alias.
/// </para>
/// </summary>
public string DistributionId
{
get { return this._distributionId; }
set { this._distributionId = value; }
}
// Check to see if DistributionId property is set
internal bool IsSetDistributionId()
{
return this._distributionId != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A list of aliases (also called CNAMEs) and the CloudFront distributions and Amazon
/// Web Services accounts that they are associated with. In the list, the distribution
/// and account IDs are partially hidden, which allows you to identify the distributions
/// and accounts that you own, but helps to protect the information of ones that you don't
/// own.
/// </summary>
public partial class ConflictingAliasesList
{
private List<ConflictingAlias> _items = new List<ConflictingAlias>();
private int? _maxItems;
private string _nextMarker;
private int? _quantity;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// Contains the conflicting aliases in the list.
/// </para>
/// </summary>
public List<ConflictingAlias> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxItems.
/// <para>
/// The maximum number of conflicting aliases requested.
/// </para>
/// </summary>
public int MaxItems
{
get { return this._maxItems.GetValueOrDefault(); }
set { this._maxItems = value; }
}
// Check to see if MaxItems property is set
internal bool IsSetMaxItems()
{
return this._maxItems.HasValue;
}
/// <summary>
/// Gets and sets the property NextMarker.
/// <para>
/// If there are more items in the list than are in this response, this element is present.
/// It contains the value that you should use in the <code>Marker</code> field of a subsequent
/// request to continue listing conflicting aliases where you left off.
/// </para>
/// </summary>
public string NextMarker
{
get { return this._nextMarker; }
set { this._nextMarker = value; }
}
// Check to see if NextMarker property is set
internal bool IsSetNextMarker()
{
return this._nextMarker != null;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The number of conflicting aliases returned in the response.
/// </para>
/// </summary>
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 120 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A field-level encryption content type profile.
/// </summary>
public partial class ContentTypeProfile
{
private string _contentType;
private Format _format;
private string _profileId;
/// <summary>
/// Gets and sets the property ContentType.
/// <para>
/// The content type for a field-level encryption content type-profile mapping.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The format for a field-level encryption content type-profile mapping.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Format Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
/// <summary>
/// Gets and sets the property ProfileId.
/// <para>
/// The profile ID for a field-level encryption content type-profile mapping.
/// </para>
/// </summary>
public string ProfileId
{
get { return this._profileId; }
set { this._profileId = value; }
}
// Check to see if ProfileId property is set
internal bool IsSetProfileId()
{
return this._profileId != null;
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The configuration for a field-level encryption content type-profile mapping.
/// </summary>
public partial class ContentTypeProfileConfig
{
private ContentTypeProfiles _contentTypeProfiles;
private bool? _forwardWhenContentTypeIsUnknown;
/// <summary>
/// Gets and sets the property ContentTypeProfiles.
/// <para>
/// The configuration for a field-level encryption content type-profile.
/// </para>
/// </summary>
public ContentTypeProfiles ContentTypeProfiles
{
get { return this._contentTypeProfiles; }
set { this._contentTypeProfiles = value; }
}
// Check to see if ContentTypeProfiles property is set
internal bool IsSetContentTypeProfiles()
{
return this._contentTypeProfiles != null;
}
/// <summary>
/// Gets and sets the property ForwardWhenContentTypeIsUnknown.
/// <para>
/// The setting in a field-level encryption content type-profile mapping that specifies
/// what to do when an unknown content type is provided for the profile. If true, content
/// is forwarded without being encrypted when the content type is unknown. If false (the
/// default), an error is returned when the content type is unknown.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool ForwardWhenContentTypeIsUnknown
{
get { return this._forwardWhenContentTypeIsUnknown.GetValueOrDefault(); }
set { this._forwardWhenContentTypeIsUnknown = value; }
}
// Check to see if ForwardWhenContentTypeIsUnknown property is set
internal bool IsSetForwardWhenContentTypeIsUnknown()
{
return this._forwardWhenContentTypeIsUnknown.HasValue;
}
}
}
| 80 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Field-level encryption content type-profile.
/// </summary>
public partial class ContentTypeProfiles
{
private List<ContentTypeProfile> _items = new List<ContentTypeProfile>();
private int? _quantity;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// Items in a field-level encryption content type-profile mapping.
/// </para>
/// </summary>
public List<ContentTypeProfile> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The number of field-level encryption content type-profile mappings.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A continuous deployment policy.
/// </summary>
public partial class ContinuousDeploymentPolicy
{
private ContinuousDeploymentPolicyConfig _continuousDeploymentPolicyConfig;
private string _id;
private DateTime? _lastModifiedTime;
/// <summary>
/// Gets and sets the property ContinuousDeploymentPolicyConfig.
/// </summary>
[AWSProperty(Required=true)]
public ContinuousDeploymentPolicyConfig ContinuousDeploymentPolicyConfig
{
get { return this._continuousDeploymentPolicyConfig; }
set { this._continuousDeploymentPolicyConfig = value; }
}
// Check to see if ContinuousDeploymentPolicyConfig property is set
internal bool IsSetContinuousDeploymentPolicyConfig()
{
return this._continuousDeploymentPolicyConfig != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The identifier of the continuous deployment policy.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property LastModifiedTime.
/// <para>
/// The date and time the continuous deployment policy was last modified.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A continuous deployment policy with this configuration already exists.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ContinuousDeploymentPolicyAlreadyExistsException : AmazonCloudFrontException
{
/// <summary>
/// Constructs a new ContinuousDeploymentPolicyAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ContinuousDeploymentPolicyAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ContinuousDeploymentPolicyAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public ContinuousDeploymentPolicyAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyAlreadyExistsException
/// </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 ContinuousDeploymentPolicyAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ContinuousDeploymentPolicyAlreadyExistsException(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 ContinuousDeploymentPolicyAlreadyExistsException 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 ContinuousDeploymentPolicyAlreadyExistsException(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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Contains the configuration for a continuous deployment policy.
/// </summary>
public partial class ContinuousDeploymentPolicyConfig
{
private bool? _enabled;
private StagingDistributionDnsNames _stagingDistributionDnsNames;
private TrafficConfig _trafficConfig;
/// <summary>
/// Gets and sets the property Enabled.
/// <para>
/// A Boolean that indicates whether this continuous deployment policy is enabled (in
/// effect). When this value is <code>true</code>, this policy is enabled and in effect.
/// When this value is <code>false</code>, this policy is not enabled and has no effect.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
/// <summary>
/// Gets and sets the property StagingDistributionDnsNames.
/// <para>
/// The CloudFront domain name of the staging distribution. For example: <code>d111111abcdef8.cloudfront.net</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StagingDistributionDnsNames StagingDistributionDnsNames
{
get { return this._stagingDistributionDnsNames; }
set { this._stagingDistributionDnsNames = value; }
}
// Check to see if StagingDistributionDnsNames property is set
internal bool IsSetStagingDistributionDnsNames()
{
return this._stagingDistributionDnsNames != null;
}
/// <summary>
/// Gets and sets the property TrafficConfig.
/// <para>
/// Contains the parameters for routing production traffic from your primary to staging
/// distributions.
/// </para>
/// </summary>
public TrafficConfig TrafficConfig
{
get { return this._trafficConfig; }
set { this._trafficConfig = value; }
}
// Check to see if TrafficConfig property is set
internal bool IsSetTrafficConfig()
{
return this._trafficConfig != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// You cannot delete a continuous deployment policy that is associated with a primary
/// distribution.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ContinuousDeploymentPolicyInUseException : AmazonCloudFrontException
{
/// <summary>
/// Constructs a new ContinuousDeploymentPolicyInUseException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ContinuousDeploymentPolicyInUseException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ContinuousDeploymentPolicyInUseException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyInUseException
/// </summary>
/// <param name="innerException"></param>
public ContinuousDeploymentPolicyInUseException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyInUseException
/// </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 ContinuousDeploymentPolicyInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ContinuousDeploymentPolicyInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ContinuousDeploymentPolicyInUseException(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 ContinuousDeploymentPolicyInUseException 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 ContinuousDeploymentPolicyInUseException(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
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Contains a list of continuous deployment policies.
/// </summary>
public partial class ContinuousDeploymentPolicyList
{
private List<ContinuousDeploymentPolicySummary> _items = new List<ContinuousDeploymentPolicySummary>();
private int? _maxItems;
private string _nextMarker;
private int? _quantity;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// A list of continuous deployment policy items.
/// </para>
/// </summary>
public List<ContinuousDeploymentPolicySummary> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxItems.
/// <para>
/// The maximum number of continuous deployment policies that were specified in your request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int MaxItems
{
get { return this._maxItems.GetValueOrDefault(); }
set { this._maxItems = value; }
}
// Check to see if MaxItems property is set
internal bool IsSetMaxItems()
{
return this._maxItems.HasValue;
}
/// <summary>
/// Gets and sets the property NextMarker.
/// <para>
/// Indicates the next page of continuous deployment policies. To get the next page of
/// the list, use this value in the <code>Marker</code> field of your request.
/// </para>
/// </summary>
public string NextMarker
{
get { return this._nextMarker; }
set { this._nextMarker = value; }
}
// Check to see if NextMarker property is set
internal bool IsSetNextMarker()
{
return this._nextMarker != null;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The total number of continuous deployment policies in your Amazon Web Services account,
/// regardless of the <code>MaxItems</code> value.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 118 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A summary of the information about your continuous deployment policies.
/// </summary>
public partial class ContinuousDeploymentPolicySummary
{
private ContinuousDeploymentPolicy _continuousDeploymentPolicy;
/// <summary>
/// Gets and sets the property ContinuousDeploymentPolicy.
/// <para>
/// The continuous deployment policy.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ContinuousDeploymentPolicy ContinuousDeploymentPolicy
{
get { return this._continuousDeploymentPolicy; }
set { this._continuousDeploymentPolicy = value; }
}
// Check to see if ContinuousDeploymentPolicy property is set
internal bool IsSetContinuousDeploymentPolicy()
{
return this._continuousDeploymentPolicy != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This configuration determines which HTTP requests are sent to the staging distribution.
/// If the HTTP request contains a header and value that matches what you specify here,
/// the request is sent to the staging distribution. Otherwise the request is sent to
/// the primary distribution.
/// </summary>
public partial class ContinuousDeploymentSingleHeaderConfig
{
private string _header;
private string _value;
/// <summary>
/// Gets and sets the property Header.
/// <para>
/// The request header name that you want CloudFront to send to your staging distribution.
/// The header must contain the prefix <code>aws-cf-cd-</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Header
{
get { return this._header; }
set { this._header = value; }
}
// Check to see if Header property is set
internal bool IsSetHeader()
{
return this._header != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The request header value.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
}
| 82 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Contains the percentage of traffic to send to a staging distribution.
/// </summary>
public partial class ContinuousDeploymentSingleWeightConfig
{
private SessionStickinessConfig _sessionStickinessConfig;
private float? _weight;
/// <summary>
/// Gets and sets the property SessionStickinessConfig.
/// </summary>
public SessionStickinessConfig SessionStickinessConfig
{
get { return this._sessionStickinessConfig; }
set { this._sessionStickinessConfig = value; }
}
// Check to see if SessionStickinessConfig property is set
internal bool IsSetSessionStickinessConfig()
{
return this._sessionStickinessConfig != null;
}
/// <summary>
/// Gets and sets the property Weight.
/// <para>
/// The percentage of traffic to send to a staging distribution, expressed as a decimal
/// number between 0 and .15.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public float Weight
{
get { return this._weight.GetValueOrDefault(); }
set { this._weight = value; }
}
// Check to see if Weight property is set
internal bool IsSetWeight()
{
return this._weight.HasValue;
}
}
}
| 75 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Contains a list of cookie names.
/// </summary>
public partial class CookieNames
{
private List<string> _items = new List<string>();
private int? _quantity;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// A list of cookie names.
/// </para>
/// </summary>
public List<string> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The number of cookie names in the <code>Items</code> list.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This field is deprecated. We recommend that you use a cache policy or an origin request
/// policy instead of this field.
///
///
/// <para>
/// If you want to include cookies in the cache key, use <code>CookiesConfig</code> in
/// a cache policy. See <code>CachePolicy</code>.
/// </para>
///
/// <para>
/// If you want to send cookies to the origin but not include them in the cache key, use
/// <code>CookiesConfig</code> in an origin request policy. See <code>OriginRequestPolicy</code>.
/// </para>
///
/// <para>
/// A complex type that specifies whether you want CloudFront to forward cookies to the
/// origin and, if so, which ones. For more information about forwarding cookies to the
/// origin, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html">Caching
/// Content Based on Cookies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CookiePreference
{
private ItemSelection _forward;
private CookieNames _whitelistedNames;
/// <summary>
/// Gets and sets the property Forward.
/// <para>
/// This field is deprecated. We recommend that you use a cache policy or an origin request
/// policy instead of this field.
/// </para>
///
/// <para>
/// If you want to include cookies in the cache key, use a cache policy. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// If you want to send cookies to the origin but not include them in the cache key, use
/// origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating
/// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// Specifies which cookies to forward to the origin for this cache behavior: all, none,
/// or the list of cookies specified in the <code>WhitelistedNames</code> complex type.
/// </para>
///
/// <para>
/// Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests
/// to an Amazon S3 origin, specify none for the <code>Forward</code> element.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ItemSelection Forward
{
get { return this._forward; }
set { this._forward = value; }
}
// Check to see if Forward property is set
internal bool IsSetForward()
{
return this._forward != null;
}
/// <summary>
/// Gets and sets the property WhitelistedNames.
/// <para>
/// This field is deprecated. We recommend that you use a cache policy or an origin request
/// policy instead of this field.
/// </para>
///
/// <para>
/// If you want to include cookies in the cache key, use a cache policy. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// If you want to send cookies to the origin but not include them in the cache key, use
/// an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating
/// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// Required if you specify <code>whitelist</code> for the value of <code>Forward</code>.
/// A complex type that specifies how many different cookies you want CloudFront to forward
/// to the origin for this cache behavior and, if you want to forward selected cookies,
/// the names of those cookies.
/// </para>
///
/// <para>
/// If you specify <code>all</code> or <code>none</code> for the value of <code>Forward</code>,
/// omit <code>WhitelistedNames</code>. If you change the value of <code>Forward</code>
/// from <code>whitelist</code> to <code>all</code> or <code>none</code> and you don't
/// delete the <code>WhitelistedNames</code> element and its child elements, CloudFront
/// deletes them automatically.
/// </para>
///
/// <para>
/// For the current limit on the number of cookie names that you can whitelist for each
/// cache behavior, see <a href="https://docs.aws.amazon.com/general/latest/gr/xrefaws_service_limits.html#limits_cloudfront">
/// CloudFront Limits</a> in the <i>Amazon Web Services General Reference</i>.
/// </para>
/// </summary>
public CookieNames WhitelistedNames
{
get { return this._whitelistedNames; }
set { this._whitelistedNames = value; }
}
// Check to see if WhitelistedNames property is set
internal bool IsSetWhitelistedNames()
{
return this._whitelistedNames != null;
}
}
}
| 153 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CopyDistribution operation.
/// Creates a staging distribution using the configuration of the provided primary distribution.
/// A staging distribution is a copy of an existing distribution (called the primary distribution)
/// that you can use in a continuous deployment workflow.
///
///
/// <para>
/// After you create a staging distribution, you can use <code>UpdateDistribution</code>
/// to modify the staging distribution's configuration. Then you can use <code>CreateContinuousDeploymentPolicy</code>
/// to incrementally move traffic to the staging distribution.
/// </para>
/// </summary>
public partial class CopyDistributionRequest : AmazonCloudFrontRequest
{
private string _callerReference;
private string _ifMatch;
private string _primaryDistributionId;
private bool? _staging;
/// <summary>
/// Gets and sets the property CallerReference.
/// <para>
/// A value that uniquely identifies a request to create a resource. This helps to prevent
/// CloudFront from creating a duplicate resource if you accidentally resubmit an identical
/// request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string CallerReference
{
get { return this._callerReference; }
set { this._callerReference = value; }
}
// Check to see if CallerReference property is set
internal bool IsSetCallerReference()
{
return this._callerReference != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The version identifier of the primary distribution whose configuration you are copying.
/// This is the <code>ETag</code> value returned in the response to <code>GetDistribution</code>
/// and <code>GetDistributionConfig</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
/// <summary>
/// Gets and sets the property PrimaryDistributionId.
/// <para>
/// The identifier of the primary distribution whose configuration you are copying. To
/// get a distribution ID, use <code>ListDistributions</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string PrimaryDistributionId
{
get { return this._primaryDistributionId; }
set { this._primaryDistributionId = value; }
}
// Check to see if PrimaryDistributionId property is set
internal bool IsSetPrimaryDistributionId()
{
return this._primaryDistributionId != null;
}
/// <summary>
/// Gets and sets the property Staging.
/// <para>
/// The type of distribution that your primary distribution will be copied to. The only
/// valid value is <code>True</code>, indicating that you are copying to a staging distribution.
/// </para>
/// </summary>
public bool Staging
{
get { return this._staging.GetValueOrDefault(); }
set { this._staging = value; }
}
// Check to see if Staging property is set
internal bool IsSetStaging()
{
return this._staging.HasValue;
}
}
}
| 132 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CopyDistribution operation.
/// </summary>
public partial class CopyDistributionResponse : AmazonWebServiceResponse
{
private Distribution _distribution;
private string _eTag;
private string _location;
/// <summary>
/// Gets and sets the property Distribution.
/// </summary>
public Distribution Distribution
{
get { return this._distribution; }
set { this._distribution = value; }
}
// Check to see if Distribution property is set
internal bool IsSetDistribution()
{
return this._distribution != null;
}
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The version identifier for the current version of the staging distribution.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The URL of the staging distribution.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateCachePolicy operation.
/// Creates a cache policy.
///
///
/// <para>
/// After you create a cache policy, you can attach it to one or more cache behaviors.
/// When it's attached to a cache behavior, the cache policy determines the following:
/// </para>
/// <ul> <li>
/// <para>
/// The values that CloudFront includes in the <i>cache key</i>. These values can include
/// HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find
/// an object in its cache that it can return to the viewer.
/// </para>
/// </li> <li>
/// <para>
/// The default, minimum, and maximum time to live (TTL) values that you want objects
/// to stay in the CloudFront cache.
/// </para>
/// </li> </ul>
/// <para>
/// The headers, cookies, and query strings that are included in the cache key are also
/// included in requests that CloudFront sends to the origin. CloudFront sends a request
/// when it can't find an object in its cache that matches the request's cache key. If
/// you want to send values to the origin but <i>not</i> include them in the cache key,
/// use <code>OriginRequestPolicy</code>.
/// </para>
///
/// <para>
/// For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling
/// the cache key</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CreateCachePolicyRequest : AmazonCloudFrontRequest
{
private CachePolicyConfig _cachePolicyConfig;
/// <summary>
/// Gets and sets the property CachePolicyConfig.
/// <para>
/// A cache policy configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CachePolicyConfig CachePolicyConfig
{
get { return this._cachePolicyConfig; }
set { this._cachePolicyConfig = value; }
}
// Check to see if CachePolicyConfig property is set
internal bool IsSetCachePolicyConfig()
{
return this._cachePolicyConfig != null;
}
}
}
| 89 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateCachePolicy operation.
/// </summary>
public partial class CreateCachePolicyResponse : AmazonWebServiceResponse
{
private CachePolicy _cachePolicy;
private string _eTag;
private string _location;
/// <summary>
/// Gets and sets the property CachePolicy.
/// <para>
/// A cache policy.
/// </para>
/// </summary>
public CachePolicy CachePolicy
{
get { return this._cachePolicy; }
set { this._cachePolicy = value; }
}
// Check to see if CachePolicy property is set
internal bool IsSetCachePolicy()
{
return this._cachePolicy != null;
}
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the cache policy.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the cache policy just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateCloudFrontOriginAccessIdentity operation.
/// Creates a new origin access identity. If you're using Amazon S3 for your origin, you
/// can use an origin access identity to require users to access your content using a
/// CloudFront URL instead of the Amazon S3 URL. For more information about how to use
/// origin access identities, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving
/// Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </summary>
public partial class CreateCloudFrontOriginAccessIdentityRequest : AmazonCloudFrontRequest
{
private CloudFrontOriginAccessIdentityConfig _cloudFrontOriginAccessIdentityConfig;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CreateCloudFrontOriginAccessIdentityRequest() { }
/// <summary>
/// Instantiates CreateCloudFrontOriginAccessIdentityRequest with the parameterized properties
/// </summary>
/// <param name="cloudFrontOriginAccessIdentityConfig">The current configuration information for the identity.</param>
public CreateCloudFrontOriginAccessIdentityRequest(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
{
_cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
}
/// <summary>
/// Gets and sets the property CloudFrontOriginAccessIdentityConfig.
/// <para>
/// The current configuration information for the identity.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CloudFrontOriginAccessIdentityConfig CloudFrontOriginAccessIdentityConfig
{
get { return this._cloudFrontOriginAccessIdentityConfig; }
set { this._cloudFrontOriginAccessIdentityConfig = value; }
}
// Check to see if CloudFrontOriginAccessIdentityConfig property is set
internal bool IsSetCloudFrontOriginAccessIdentityConfig()
{
return this._cloudFrontOriginAccessIdentityConfig != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The returned result of the corresponding request.
/// </summary>
public partial class CreateCloudFrontOriginAccessIdentityResponse : AmazonWebServiceResponse
{
private CloudFrontOriginAccessIdentity _cloudFrontOriginAccessIdentity;
private string _eTag;
private string _location;
/// <summary>
/// Gets and sets the property CloudFrontOriginAccessIdentity.
/// <para>
/// The origin access identity's information.
/// </para>
/// </summary>
public CloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentity
{
get { return this._cloudFrontOriginAccessIdentity; }
set { this._cloudFrontOriginAccessIdentity = value; }
}
// Check to see if CloudFrontOriginAccessIdentity property is set
internal bool IsSetCloudFrontOriginAccessIdentity()
{
return this._cloudFrontOriginAccessIdentity != null;
}
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the origin access identity created.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new origin access identity just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateContinuousDeploymentPolicy operation.
/// Creates a continuous deployment policy that distributes traffic for a custom domain
/// name to two different CloudFront distributions.
///
///
/// <para>
/// To use a continuous deployment policy, first use <code>CopyDistribution</code> to
/// create a staging distribution, then use <code>UpdateDistribution</code> to modify
/// the staging distribution's configuration.
/// </para>
///
/// <para>
/// After you create and update a staging distribution, you can use a continuous deployment
/// policy to incrementally move traffic to the staging distribution. This workflow enables
/// you to test changes to a distribution's configuration before moving all of your domain's
/// production traffic to the new configuration.
/// </para>
/// </summary>
public partial class CreateContinuousDeploymentPolicyRequest : AmazonCloudFrontRequest
{
private ContinuousDeploymentPolicyConfig _continuousDeploymentPolicyConfig;
/// <summary>
/// Gets and sets the property ContinuousDeploymentPolicyConfig.
/// <para>
/// Contains the configuration for a continuous deployment policy.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ContinuousDeploymentPolicyConfig ContinuousDeploymentPolicyConfig
{
get { return this._continuousDeploymentPolicyConfig; }
set { this._continuousDeploymentPolicyConfig = value; }
}
// Check to see if ContinuousDeploymentPolicyConfig property is set
internal bool IsSetContinuousDeploymentPolicyConfig()
{
return this._continuousDeploymentPolicyConfig != null;
}
}
}
| 74 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateContinuousDeploymentPolicy operation.
/// </summary>
public partial class CreateContinuousDeploymentPolicyResponse : AmazonWebServiceResponse
{
private ContinuousDeploymentPolicy _continuousDeploymentPolicy;
private string _eTag;
private string _location;
/// <summary>
/// Gets and sets the property ContinuousDeploymentPolicy.
/// <para>
/// A continuous deployment policy.
/// </para>
/// </summary>
public ContinuousDeploymentPolicy ContinuousDeploymentPolicy
{
get { return this._continuousDeploymentPolicy; }
set { this._continuousDeploymentPolicy = value; }
}
// Check to see if ContinuousDeploymentPolicy property is set
internal bool IsSetContinuousDeploymentPolicy()
{
return this._continuousDeploymentPolicy != null;
}
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The version identifier for the current version of the continuous deployment policy.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The location of the continuous deployment policy.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateDistribution operation.
/// Creates a CloudFront distribution.
/// </summary>
public partial class CreateDistributionRequest : AmazonCloudFrontRequest
{
private DistributionConfig _distributionConfig;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CreateDistributionRequest() { }
/// <summary>
/// Instantiates CreateDistributionRequest with the parameterized properties
/// </summary>
/// <param name="distributionConfig">The distribution's configuration information.</param>
public CreateDistributionRequest(DistributionConfig distributionConfig)
{
_distributionConfig = distributionConfig;
}
/// <summary>
/// Gets and sets the property DistributionConfig.
/// <para>
/// The distribution's configuration information.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DistributionConfig DistributionConfig
{
get { return this._distributionConfig; }
set { this._distributionConfig = value; }
}
// Check to see if DistributionConfig property is set
internal bool IsSetDistributionConfig()
{
return this._distributionConfig != null;
}
}
}
| 73 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The returned result of the corresponding request.
/// </summary>
public partial class CreateDistributionResponse : AmazonWebServiceResponse
{
private Distribution _distribution;
private string _eTag;
private string _location;
/// <summary>
/// Gets and sets the property Distribution.
/// <para>
/// The distribution's information.
/// </para>
/// </summary>
public Distribution Distribution
{
get { return this._distribution; }
set { this._distribution = value; }
}
// Check to see if Distribution property is set
internal bool IsSetDistribution()
{
return this._distribution != null;
}
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the distribution created.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new distribution resource just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateDistributionWithTags operation.
/// Create a new distribution with tags.
/// </summary>
public partial class CreateDistributionWithTagsRequest : AmazonCloudFrontRequest
{
private DistributionConfigWithTags _distributionConfigWithTags;
/// <summary>
/// Gets and sets the property DistributionConfigWithTags.
/// <para>
/// The distribution's configuration information.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DistributionConfigWithTags DistributionConfigWithTags
{
get { return this._distributionConfigWithTags; }
set { this._distributionConfigWithTags = value; }
}
// Check to see if DistributionConfigWithTags property is set
internal bool IsSetDistributionConfigWithTags()
{
return this._distributionConfigWithTags != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The returned result of the corresponding request.
/// </summary>
public partial class CreateDistributionWithTagsResponse : AmazonWebServiceResponse
{
private Distribution _distribution;
private string _eTag;
private string _location;
/// <summary>
/// Gets and sets the property Distribution.
/// <para>
/// The distribution's information.
/// </para>
/// </summary>
public Distribution Distribution
{
get { return this._distribution; }
set { this._distribution = value; }
}
// Check to see if Distribution property is set
internal bool IsSetDistribution()
{
return this._distribution != null;
}
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the distribution created.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new distribution resource just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateFieldLevelEncryptionConfig operation.
/// Create a new field-level encryption configuration.
/// </summary>
public partial class CreateFieldLevelEncryptionConfigRequest : AmazonCloudFrontRequest
{
private FieldLevelEncryptionConfig _fieldLevelEncryptionConfig;
/// <summary>
/// Gets and sets the property FieldLevelEncryptionConfig.
/// <para>
/// The request to create a new field-level encryption configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FieldLevelEncryptionConfig FieldLevelEncryptionConfig
{
get { return this._fieldLevelEncryptionConfig; }
set { this._fieldLevelEncryptionConfig = value; }
}
// Check to see if FieldLevelEncryptionConfig property is set
internal bool IsSetFieldLevelEncryptionConfig()
{
return this._fieldLevelEncryptionConfig != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateFieldLevelEncryptionConfig operation.
/// </summary>
public partial class CreateFieldLevelEncryptionConfigResponse : AmazonWebServiceResponse
{
private string _eTag;
private FieldLevelEncryption _fieldLevelEncryption;
private string _location;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the field level encryption configuration. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property FieldLevelEncryption.
/// <para>
/// Returned when you create a new field-level encryption configuration.
/// </para>
/// </summary>
public FieldLevelEncryption FieldLevelEncryption
{
get { return this._fieldLevelEncryption; }
set { this._fieldLevelEncryption = value; }
}
// Check to see if FieldLevelEncryption property is set
internal bool IsSetFieldLevelEncryption()
{
return this._fieldLevelEncryption != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new configuration resource just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateFieldLevelEncryptionProfile operation.
/// Create a field-level encryption profile.
/// </summary>
public partial class CreateFieldLevelEncryptionProfileRequest : AmazonCloudFrontRequest
{
private FieldLevelEncryptionProfileConfig _fieldLevelEncryptionProfileConfig;
/// <summary>
/// Gets and sets the property FieldLevelEncryptionProfileConfig.
/// <para>
/// The request to create a field-level encryption profile.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FieldLevelEncryptionProfileConfig FieldLevelEncryptionProfileConfig
{
get { return this._fieldLevelEncryptionProfileConfig; }
set { this._fieldLevelEncryptionProfileConfig = value; }
}
// Check to see if FieldLevelEncryptionProfileConfig property is set
internal bool IsSetFieldLevelEncryptionProfileConfig()
{
return this._fieldLevelEncryptionProfileConfig != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateFieldLevelEncryptionProfile operation.
/// </summary>
public partial class CreateFieldLevelEncryptionProfileResponse : AmazonWebServiceResponse
{
private string _eTag;
private FieldLevelEncryptionProfile _fieldLevelEncryptionProfile;
private string _location;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the field level encryption profile. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property FieldLevelEncryptionProfile.
/// <para>
/// Returned when you create a new field-level encryption profile.
/// </para>
/// </summary>
public FieldLevelEncryptionProfile FieldLevelEncryptionProfile
{
get { return this._fieldLevelEncryptionProfile; }
set { this._fieldLevelEncryptionProfile = value; }
}
// Check to see if FieldLevelEncryptionProfile property is set
internal bool IsSetFieldLevelEncryptionProfile()
{
return this._fieldLevelEncryptionProfile != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new profile resource just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateFunction operation.
/// Creates a CloudFront function.
///
///
/// <para>
/// To create a function, you provide the function code and some configuration information
/// about the function. The response contains an Amazon Resource Name (ARN) that uniquely
/// identifies the function.
/// </para>
///
/// <para>
/// When you create a function, it's in the <code>DEVELOPMENT</code> stage. In this stage,
/// you can test the function with <code>TestFunction</code>, and update it with <code>UpdateFunction</code>.
/// </para>
///
/// <para>
/// When you're ready to use your function with a CloudFront distribution, use <code>PublishFunction</code>
/// to copy the function from the <code>DEVELOPMENT</code> stage to <code>LIVE</code>.
/// When it's live, you can attach the function to a distribution's cache behavior, using
/// the function's ARN.
/// </para>
/// </summary>
public partial class CreateFunctionRequest : AmazonCloudFrontRequest
{
private MemoryStream _functionCode;
private FunctionConfig _functionConfig;
private string _name;
/// <summary>
/// Gets and sets the property FunctionCode.
/// <para>
/// The function code. For more information about writing a CloudFront function, see <a
/// href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html">Writing
/// function code for CloudFront Functions</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=40960)]
public MemoryStream FunctionCode
{
get { return this._functionCode; }
set { this._functionCode = value; }
}
// Check to see if FunctionCode property is set
internal bool IsSetFunctionCode()
{
return this._functionCode != null;
}
/// <summary>
/// Gets and sets the property FunctionConfig.
/// <para>
/// Configuration information about the function, including an optional comment and the
/// function's runtime.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FunctionConfig FunctionConfig
{
get { return this._functionConfig; }
set { this._functionConfig = value; }
}
// Check to see if FunctionConfig property is set
internal bool IsSetFunctionConfig()
{
return this._functionConfig != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A name to identify the function.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
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;
}
}
}
| 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateFunction operation.
/// </summary>
public partial class CreateFunctionResponse : AmazonWebServiceResponse
{
private string _eTag;
private FunctionSummary _functionSummary;
private string _location;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The version identifier for the current version of the CloudFront function.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property FunctionSummary.
/// <para>
/// Contains configuration information and metadata about a CloudFront function.
/// </para>
/// </summary>
public FunctionSummary FunctionSummary
{
get { return this._functionSummary; }
set { this._functionSummary = value; }
}
// Check to see if FunctionSummary property is set
internal bool IsSetFunctionSummary()
{
return this._functionSummary != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The URL of the CloudFront function. Use the URL to manage the function with the CloudFront
/// API.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateInvalidation operation.
/// Create a new invalidation.
/// </summary>
public partial class CreateInvalidationRequest : AmazonCloudFrontRequest
{
private string _distributionId;
private InvalidationBatch _invalidationBatch;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CreateInvalidationRequest() { }
/// <summary>
/// Instantiates CreateInvalidationRequest with the parameterized properties
/// </summary>
/// <param name="distributionId">The distribution's id.</param>
/// <param name="invalidationBatch">The batch information for the invalidation.</param>
public CreateInvalidationRequest(string distributionId, InvalidationBatch invalidationBatch)
{
_distributionId = distributionId;
_invalidationBatch = invalidationBatch;
}
/// <summary>
/// Gets and sets the property DistributionId.
/// <para>
/// The distribution's id.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DistributionId
{
get { return this._distributionId; }
set { this._distributionId = value; }
}
// Check to see if DistributionId property is set
internal bool IsSetDistributionId()
{
return this._distributionId != null;
}
/// <summary>
/// Gets and sets the property InvalidationBatch.
/// <para>
/// The batch information for the invalidation.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public InvalidationBatch InvalidationBatch
{
get { return this._invalidationBatch; }
set { this._invalidationBatch = value; }
}
// Check to see if InvalidationBatch property is set
internal bool IsSetInvalidationBatch()
{
return this._invalidationBatch != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The returned result of the corresponding request.
/// </summary>
public partial class CreateInvalidationResponse : AmazonWebServiceResponse
{
private Invalidation _invalidation;
private string _location;
/// <summary>
/// Gets and sets the property Invalidation.
/// <para>
/// The invalidation's information.
/// </para>
/// </summary>
public Invalidation Invalidation
{
get { return this._invalidation; }
set { this._invalidation = value; }
}
// Check to see if Invalidation property is set
internal bool IsSetInvalidation()
{
return this._invalidation != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the distribution and invalidation batch request, including
/// the <code>Invalidation ID</code>.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateKeyGroup operation.
/// Creates a key group that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront
/// signed URLs and signed cookies</a>.
///
///
/// <para>
/// To create a key group, you must specify at least one public key for the key group.
/// After you create a key group, you can reference it from one or more cache behaviors.
/// When you reference a key group in a cache behavior, CloudFront requires signed URLs
/// or signed cookies for all requests that match the cache behavior. The URLs or cookies
/// must be signed with a private key whose corresponding public key is in the key group.
/// The signed URL or cookie contains information about which public key CloudFront should
/// use to verify the signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving
/// private content</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CreateKeyGroupRequest : AmazonCloudFrontRequest
{
private KeyGroupConfig _keyGroupConfig;
/// <summary>
/// Gets and sets the property KeyGroupConfig.
/// <para>
/// A key group configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public KeyGroupConfig KeyGroupConfig
{
get { return this._keyGroupConfig; }
set { this._keyGroupConfig = value; }
}
// Check to see if KeyGroupConfig property is set
internal bool IsSetKeyGroupConfig()
{
return this._keyGroupConfig != null;
}
}
}
| 72 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateKeyGroup operation.
/// </summary>
public partial class CreateKeyGroupResponse : AmazonWebServiceResponse
{
private string _eTag;
private KeyGroup _keyGroup;
private string _location;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The identifier for this version of the key group.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property KeyGroup.
/// <para>
/// The key group that was just created.
/// </para>
/// </summary>
public KeyGroup KeyGroup
{
get { return this._keyGroup; }
set { this._keyGroup = value; }
}
// Check to see if KeyGroup property is set
internal bool IsSetKeyGroup()
{
return this._keyGroup != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The URL of the key group.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateMonitoringSubscription operation.
/// Enables additional CloudWatch metrics for the specified CloudFront distribution. The
/// additional metrics incur an additional cost.
///
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing
/// additional CloudFront distribution metrics</a> in the <i>Amazon CloudFront Developer
/// Guide</i>.
/// </para>
/// </summary>
public partial class CreateMonitoringSubscriptionRequest : AmazonCloudFrontRequest
{
private string _distributionId;
private MonitoringSubscription _monitoringSubscription;
/// <summary>
/// Gets and sets the property DistributionId.
/// <para>
/// The ID of the distribution that you are enabling metrics for.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DistributionId
{
get { return this._distributionId; }
set { this._distributionId = value; }
}
// Check to see if DistributionId property is set
internal bool IsSetDistributionId()
{
return this._distributionId != null;
}
/// <summary>
/// Gets and sets the property MonitoringSubscription.
/// <para>
/// A monitoring subscription. This structure contains information about whether additional
/// CloudWatch metrics are enabled for a given CloudFront distribution.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public MonitoringSubscription MonitoringSubscription
{
get { return this._monitoringSubscription; }
set { this._monitoringSubscription = value; }
}
// Check to see if MonitoringSubscription property is set
internal bool IsSetMonitoringSubscription()
{
return this._monitoringSubscription != null;
}
}
}
| 88 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateMonitoringSubscription operation.
/// </summary>
public partial class CreateMonitoringSubscriptionResponse : AmazonWebServiceResponse
{
private MonitoringSubscription _monitoringSubscription;
/// <summary>
/// Gets and sets the property MonitoringSubscription.
/// <para>
/// A monitoring subscription. This structure contains information about whether additional
/// CloudWatch metrics are enabled for a given CloudFront distribution.
/// </para>
/// </summary>
public MonitoringSubscription MonitoringSubscription
{
get { return this._monitoringSubscription; }
set { this._monitoringSubscription = value; }
}
// Check to see if MonitoringSubscription property is set
internal bool IsSetMonitoringSubscription()
{
return this._monitoringSubscription != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateOriginAccessControl operation.
/// Creates a new origin access control in CloudFront. After you create an origin access
/// control, you can add it to an origin in a CloudFront distribution so that CloudFront
/// sends authenticated (signed) requests to the origin.
///
///
/// <para>
/// This makes it possible to block public access to the origin, allowing viewers (users)
/// to access the origin's content only through CloudFront.
/// </para>
///
/// <para>
/// For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html">Restricting
/// access to an Amazon Web Services origin</a> in the <i>Amazon CloudFront Developer
/// Guide</i>.
/// </para>
/// </summary>
public partial class CreateOriginAccessControlRequest : AmazonCloudFrontRequest
{
private OriginAccessControlConfig _originAccessControlConfig;
/// <summary>
/// Gets and sets the property OriginAccessControlConfig.
/// <para>
/// Contains the origin access control.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public OriginAccessControlConfig OriginAccessControlConfig
{
get { return this._originAccessControlConfig; }
set { this._originAccessControlConfig = value; }
}
// Check to see if OriginAccessControlConfig property is set
internal bool IsSetOriginAccessControlConfig()
{
return this._originAccessControlConfig != null;
}
}
}
| 73 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateOriginAccessControl operation.
/// </summary>
public partial class CreateOriginAccessControlResponse : AmazonWebServiceResponse
{
private string _eTag;
private string _location;
private OriginAccessControl _originAccessControl;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The version identifier for the current version of the origin access control.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The URL of the origin access control.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property OriginAccessControl.
/// <para>
/// Contains an origin access control.
/// </para>
/// </summary>
public OriginAccessControl OriginAccessControl
{
get { return this._originAccessControl; }
set { this._originAccessControl = value; }
}
// Check to see if OriginAccessControl property is set
internal bool IsSetOriginAccessControl()
{
return this._originAccessControl != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateOriginRequestPolicy operation.
/// Creates an origin request policy.
///
///
/// <para>
/// After you create an origin request policy, you can attach it to one or more cache
/// behaviors. When it's attached to a cache behavior, the origin request policy determines
/// the values that CloudFront includes in requests that it sends to the origin. Each
/// request that CloudFront sends to the origin includes the following:
/// </para>
/// <ul> <li>
/// <para>
/// The request body and the URL path (without the domain name) from the viewer request.
/// </para>
/// </li> <li>
/// <para>
/// The headers that CloudFront automatically includes in every origin request, including
/// <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.
/// </para>
/// </li> <li>
/// <para>
/// All HTTP headers, cookies, and URL query strings that are specified in the cache policy
/// or the origin request policy. These can include items from the viewer request and,
/// in the case of headers, additional ones that are added by CloudFront.
/// </para>
/// </li> </ul>
/// <para>
/// CloudFront sends a request when it can't find a valid object in its cache that matches
/// the request. If you want to send values to the origin and also include them in the
/// cache key, use <code>CachePolicy</code>.
/// </para>
///
/// <para>
/// For more information about origin request policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html">Controlling
/// origin requests</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CreateOriginRequestPolicyRequest : AmazonCloudFrontRequest
{
private OriginRequestPolicyConfig _originRequestPolicyConfig;
/// <summary>
/// Gets and sets the property OriginRequestPolicyConfig.
/// <para>
/// An origin request policy configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public OriginRequestPolicyConfig OriginRequestPolicyConfig
{
get { return this._originRequestPolicyConfig; }
set { this._originRequestPolicyConfig = value; }
}
// Check to see if OriginRequestPolicyConfig property is set
internal bool IsSetOriginRequestPolicyConfig()
{
return this._originRequestPolicyConfig != null;
}
}
}
| 93 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateOriginRequestPolicy operation.
/// </summary>
public partial class CreateOriginRequestPolicyResponse : AmazonWebServiceResponse
{
private string _eTag;
private string _location;
private OriginRequestPolicy _originRequestPolicy;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the origin request policy.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the origin request policy just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property OriginRequestPolicy.
/// <para>
/// An origin request policy.
/// </para>
/// </summary>
public OriginRequestPolicy OriginRequestPolicy
{
get { return this._originRequestPolicy; }
set { this._originRequestPolicy = value; }
}
// Check to see if OriginRequestPolicy property is set
internal bool IsSetOriginRequestPolicy()
{
return this._originRequestPolicy != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreatePublicKey operation.
/// Uploads a public key to CloudFront that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">signed
/// URLs and signed cookies</a>, or with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html">field-level
/// encryption</a>.
/// </summary>
public partial class CreatePublicKeyRequest : AmazonCloudFrontRequest
{
private PublicKeyConfig _publicKeyConfig;
/// <summary>
/// Gets and sets the property PublicKeyConfig.
/// <para>
/// A CloudFront public key configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public PublicKeyConfig PublicKeyConfig
{
get { return this._publicKeyConfig; }
set { this._publicKeyConfig = value; }
}
// Check to see if PublicKeyConfig property is set
internal bool IsSetPublicKeyConfig()
{
return this._publicKeyConfig != null;
}
}
}
| 61 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreatePublicKey operation.
/// </summary>
public partial class CreatePublicKeyResponse : AmazonWebServiceResponse
{
private string _eTag;
private string _location;
private PublicKey _publicKey;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The identifier for this version of the public key.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The URL of the public key.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property PublicKey.
/// <para>
/// The public key.
/// </para>
/// </summary>
public PublicKey PublicKey
{
get { return this._publicKey; }
set { this._publicKey = value; }
}
// Check to see if PublicKey property is set
internal bool IsSetPublicKey()
{
return this._publicKey != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateRealtimeLogConfig operation.
/// Creates a real-time log configuration.
///
///
/// <para>
/// After you create a real-time log configuration, you can attach it to one or more cache
/// behaviors to send real-time log data to the specified Amazon Kinesis data stream.
/// </para>
///
/// <para>
/// For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time
/// logs</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CreateRealtimeLogConfigRequest : AmazonCloudFrontRequest
{
private List<EndPoint> _endPoints = new List<EndPoint>();
private List<string> _fields = new List<string>();
private string _name;
private long? _samplingRate;
/// <summary>
/// Gets and sets the property EndPoints.
/// <para>
/// Contains information about the Amazon Kinesis data stream where you are sending real-time
/// log data.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<EndPoint> EndPoints
{
get { return this._endPoints; }
set { this._endPoints = value; }
}
// Check to see if EndPoints property is set
internal bool IsSetEndPoints()
{
return this._endPoints != null && this._endPoints.Count > 0;
}
/// <summary>
/// Gets and sets the property Fields.
/// <para>
/// A list of fields to include in each real-time log record.
/// </para>
///
/// <para>
/// For more information about fields, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields">Real-time
/// log configuration fields</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Fields
{
get { return this._fields; }
set { this._fields = value; }
}
// Check to see if Fields property is set
internal bool IsSetFields()
{
return this._fields != null && this._fields.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A unique name to identify this real-time log configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SamplingRate.
/// <para>
/// The sampling rate for this real-time log configuration. The sampling rate determines
/// the percentage of viewer requests that are represented in the real-time log data.
/// You must provide an integer between 1 and 100, inclusive.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public long SamplingRate
{
get { return this._samplingRate.GetValueOrDefault(); }
set { this._samplingRate = value; }
}
// Check to see if SamplingRate property is set
internal bool IsSetSamplingRate()
{
return this._samplingRate.HasValue;
}
}
}
| 138 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateRealtimeLogConfig operation.
/// </summary>
public partial class CreateRealtimeLogConfigResponse : AmazonWebServiceResponse
{
private RealtimeLogConfig _realtimeLogConfig;
/// <summary>
/// Gets and sets the property RealtimeLogConfig.
/// <para>
/// A real-time log configuration.
/// </para>
/// </summary>
public RealtimeLogConfig RealtimeLogConfig
{
get { return this._realtimeLogConfig; }
set { this._realtimeLogConfig = value; }
}
// Check to see if RealtimeLogConfig property is set
internal bool IsSetRealtimeLogConfig()
{
return this._realtimeLogConfig != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateResponseHeadersPolicy operation.
/// Creates a response headers policy.
///
///
/// <para>
/// A response headers policy contains information about a set of HTTP headers. To create
/// a response headers policy, you provide some metadata about the policy and a set of
/// configurations that specify the headers.
/// </para>
///
/// <para>
/// After you create a response headers policy, you can use its ID to attach it to one
/// or more cache behaviors in a CloudFront distribution. When it's attached to a cache
/// behavior, the response headers policy affects the HTTP headers that CloudFront includes
/// in HTTP responses to requests that match the cache behavior. CloudFront adds or removes
/// response headers according to the configuration of the response headers policy.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html">Adding
/// or removing HTTP headers in CloudFront responses</a> in the <i>Amazon CloudFront Developer
/// Guide</i>.
/// </para>
/// </summary>
public partial class CreateResponseHeadersPolicyRequest : AmazonCloudFrontRequest
{
private ResponseHeadersPolicyConfig _responseHeadersPolicyConfig;
/// <summary>
/// Gets and sets the property ResponseHeadersPolicyConfig.
/// <para>
/// Contains metadata about the response headers policy, and a set of configurations that
/// specify the HTTP headers.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ResponseHeadersPolicyConfig ResponseHeadersPolicyConfig
{
get { return this._responseHeadersPolicyConfig; }
set { this._responseHeadersPolicyConfig = value; }
}
// Check to see if ResponseHeadersPolicyConfig property is set
internal bool IsSetResponseHeadersPolicyConfig()
{
return this._responseHeadersPolicyConfig != null;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the CreateResponseHeadersPolicy operation.
/// </summary>
public partial class CreateResponseHeadersPolicyResponse : AmazonWebServiceResponse
{
private string _eTag;
private string _location;
private ResponseHeadersPolicy _responseHeadersPolicy;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The version identifier for the current version of the response headers policy.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The URL of the response headers policy.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property ResponseHeadersPolicy.
/// <para>
/// Contains a response headers policy.
/// </para>
/// </summary>
public ResponseHeadersPolicy ResponseHeadersPolicy
{
get { return this._responseHeadersPolicy; }
set { this._responseHeadersPolicy = value; }
}
// Check to see if ResponseHeadersPolicy property is set
internal bool IsSetResponseHeadersPolicy()
{
return this._responseHeadersPolicy != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateStreamingDistribution operation.
/// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol
/// (RTMP) distributions on December 31, 2020. For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read
/// the announcement</a> on the Amazon CloudFront discussion forum.
/// </summary>
public partial class CreateStreamingDistributionRequest : AmazonCloudFrontRequest
{
private StreamingDistributionConfig _streamingDistributionConfig;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CreateStreamingDistributionRequest() { }
/// <summary>
/// Instantiates CreateStreamingDistributionRequest with the parameterized properties
/// </summary>
/// <param name="streamingDistributionConfig">The streaming distribution's configuration information.</param>
public CreateStreamingDistributionRequest(StreamingDistributionConfig streamingDistributionConfig)
{
_streamingDistributionConfig = streamingDistributionConfig;
}
/// <summary>
/// Gets and sets the property StreamingDistributionConfig.
/// <para>
/// The streaming distribution's configuration information.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StreamingDistributionConfig StreamingDistributionConfig
{
get { return this._streamingDistributionConfig; }
set { this._streamingDistributionConfig = value; }
}
// Check to see if StreamingDistributionConfig property is set
internal bool IsSetStreamingDistributionConfig()
{
return this._streamingDistributionConfig != null;
}
}
}
| 75 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The returned result of the corresponding request.
/// </summary>
public partial class CreateStreamingDistributionResponse : AmazonWebServiceResponse
{
private string _eTag;
private string _location;
private StreamingDistribution _streamingDistribution;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the streaming distribution created.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new streaming distribution resource just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property StreamingDistribution.
/// <para>
/// The streaming distribution's information.
/// </para>
/// </summary>
public StreamingDistribution StreamingDistribution
{
get { return this._streamingDistribution; }
set { this._streamingDistribution = value; }
}
// Check to see if StreamingDistribution property is set
internal bool IsSetStreamingDistribution()
{
return this._streamingDistribution != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the CreateStreamingDistributionWithTags operation.
/// This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol
/// (RTMP) distributions on December 31, 2020. For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read
/// the announcement</a> on the Amazon CloudFront discussion forum.
/// </summary>
public partial class CreateStreamingDistributionWithTagsRequest : AmazonCloudFrontRequest
{
private StreamingDistributionConfigWithTags _streamingDistributionConfigWithTags;
/// <summary>
/// Gets and sets the property StreamingDistributionConfigWithTags.
/// <para>
/// The streaming distribution's configuration information.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StreamingDistributionConfigWithTags StreamingDistributionConfigWithTags
{
get { return this._streamingDistributionConfigWithTags; }
set { this._streamingDistributionConfigWithTags = value; }
}
// Check to see if StreamingDistributionConfigWithTags property is set
internal bool IsSetStreamingDistributionConfigWithTags()
{
return this._streamingDistributionConfigWithTags != null;
}
}
}
| 61 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// The returned result of the corresponding request.
/// </summary>
public partial class CreateStreamingDistributionWithTagsResponse : AmazonWebServiceResponse
{
private string _eTag;
private string _location;
private StreamingDistribution _streamingDistribution;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The current version of the distribution created.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property Location.
/// <para>
/// The fully qualified URI of the new streaming distribution resource just created.
/// </para>
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
/// <summary>
/// Gets and sets the property StreamingDistribution.
/// <para>
/// The streaming distribution's information.
/// </para>
/// </summary>
public StreamingDistribution StreamingDistribution
{
get { return this._streamingDistribution; }
set { this._streamingDistribution = value; }
}
// Check to see if StreamingDistribution property is set
internal bool IsSetStreamingDistribution()
{
return this._streamingDistribution != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A complex type that controls:
///
/// <ul> <li>
/// <para>
/// Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom
/// error messages before returning the response to the viewer.
/// </para>
/// </li> <li>
/// <para>
/// How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
/// </para>
/// </li> </ul>
/// <para>
/// For more information about custom error pages, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html">Customizing
/// Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CustomErrorResponse
{
private long? _errorCachingMinTTL;
private int? _errorCode;
private string _responseCode;
private string _responsePagePath;
/// <summary>
/// Gets and sets the property ErrorCachingMinTTL.
/// <para>
/// The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP
/// status code specified in <code>ErrorCode</code>. When this time period has elapsed,
/// CloudFront queries your origin to see whether the problem that caused the error has
/// been resolved and the requested object is now available.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html">Customizing
/// Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public long ErrorCachingMinTTL
{
get { return this._errorCachingMinTTL.GetValueOrDefault(); }
set { this._errorCachingMinTTL = value; }
}
// Check to see if ErrorCachingMinTTL property is set
internal bool IsSetErrorCachingMinTTL()
{
return this._errorCachingMinTTL.HasValue;
}
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The HTTP status code for which you want to specify a custom error page and/or a caching
/// duration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int ErrorCode
{
get { return this._errorCode.GetValueOrDefault(); }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode.HasValue;
}
/// <summary>
/// Gets and sets the property ResponseCode.
/// <para>
/// The HTTP status code that you want CloudFront to return to the viewer along with the
/// custom error page. There are a variety of reasons that you might want CloudFront to
/// return a status code different from the status code that your origin returned to CloudFront,
/// for example:
/// </para>
/// <ul> <li>
/// <para>
/// Some Internet devices (some firewalls and corporate proxies, for example) intercept
/// HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you
/// substitute <code>200</code>, the response typically won't be intercepted.
/// </para>
/// </li> <li>
/// <para>
/// If you don't care about distinguishing among different client errors or server errors,
/// you can specify <code>400</code> or <code>500</code> as the <code>ResponseCode</code>
/// for all 4xx or 5xx errors.
/// </para>
/// </li> <li>
/// <para>
/// You might want to return a <code>200</code> status code (OK) and static website so
/// your customers don't know that your website is down.
/// </para>
/// </li> </ul>
/// <para>
/// If you specify a value for <code>ResponseCode</code>, you must also specify a value
/// for <code>ResponsePagePath</code>.
/// </para>
/// </summary>
public string ResponseCode
{
get { return this._responseCode; }
set { this._responseCode = value; }
}
// Check to see if ResponseCode property is set
internal bool IsSetResponseCode()
{
return this._responseCode != null;
}
/// <summary>
/// Gets and sets the property ResponsePagePath.
/// <para>
/// The path to the custom error page that you want CloudFront to return to a viewer when
/// your origin returns the HTTP status code specified by <code>ErrorCode</code>, for
/// example, <code>/4xx-errors/403-forbidden.html</code>. If you want to store your objects
/// and your custom error pages in different locations, your distribution must include
/// a cache behavior for which the following is true:
/// </para>
/// <ul> <li>
/// <para>
/// The value of <code>PathPattern</code> matches the path to your custom error messages.
/// For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket
/// in a directory named <code>/4xx-errors</code>. Your distribution must include a cache
/// behavior for which the path pattern routes requests for your custom error pages to
/// that location, for example, <code>/4xx-errors/*</code>.
/// </para>
/// </li> <li>
/// <para>
/// The value of <code>TargetOriginId</code> specifies the value of the <code>ID</code>
/// element for the origin that contains your custom error pages.
/// </para>
/// </li> </ul>
/// <para>
/// If you specify a value for <code>ResponsePagePath</code>, you must also specify a
/// value for <code>ResponseCode</code>.
/// </para>
///
/// <para>
/// We recommend that you store custom error pages in an Amazon S3 bucket. If you store
/// custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront
/// can't get the files that you want to return to viewers because the origin server is
/// unavailable.
/// </para>
/// </summary>
public string ResponsePagePath
{
get { return this._responsePagePath; }
set { this._responsePagePath = value; }
}
// Check to see if ResponsePagePath property is set
internal bool IsSetResponsePagePath()
{
return this._responsePagePath != null;
}
}
}
| 193 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A complex type that controls:
///
/// <ul> <li>
/// <para>
/// Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom
/// error messages before returning the response to the viewer.
/// </para>
/// </li> <li>
/// <para>
/// How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
/// </para>
/// </li> </ul>
/// <para>
/// For more information about custom error pages, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html">Customizing
/// Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class CustomErrorResponses
{
private List<CustomErrorResponse> _items = new List<CustomErrorResponse>();
private int? _quantity;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// A complex type that contains a <code>CustomErrorResponse</code> element for each HTTP
/// status code for which you want to specify a custom error page and/or a caching duration.
///
/// </para>
/// </summary>
public List<CustomErrorResponse> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The number of HTTP status codes for which you want to specify a custom error page
/// and/or a caching duration. If <code>Quantity</code> is <code>0</code>, you can omit
/// <code>Items</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A complex type that contains the list of Custom Headers for each origin.
/// </summary>
public partial class CustomHeaders
{
private List<OriginCustomHeader> _items = new List<OriginCustomHeader>();
private int? _quantity;
/// <summary>
/// Gets and sets the property Items.
/// <para>
/// <b>Optional</b>: A list that contains one <code>OriginCustomHeader</code> element
/// for each custom header that you want CloudFront to forward to the origin. If Quantity
/// is <code>0</code>, omit <code>Items</code>.
/// </para>
/// </summary>
public List<OriginCustomHeader> Items
{
get { return this._items; }
set { this._items = value; }
}
// Check to see if Items property is set
internal bool IsSetItems()
{
return this._items != null && this._items.Count > 0;
}
/// <summary>
/// Gets and sets the property Quantity.
/// <para>
/// The number of custom headers, if any, for this distribution.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int Quantity
{
get { return this._quantity.GetValueOrDefault(); }
set { this._quantity = value; }
}
// Check to see if Quantity property is set
internal bool IsSetQuantity()
{
return this._quantity.HasValue;
}
}
}
| 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A custom origin. A custom origin is any origin that is <i>not</i> an Amazon S3 bucket,
/// with one exception. An Amazon S3 bucket that is <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">configured
/// with static website hosting</a> <i>is</i> a custom origin.
/// </summary>
public partial class CustomOriginConfig
{
private int? _httpPort;
private int? _httpsPort;
private int? _originKeepaliveTimeout;
private OriginProtocolPolicy _originProtocolPolicy;
private int? _originReadTimeout;
private OriginSslProtocols _originSslProtocols;
/// <summary>
/// Gets and sets the property HTTPPort.
/// <para>
/// The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port
/// that the origin listens on.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int HTTPPort
{
get { return this._httpPort.GetValueOrDefault(); }
set { this._httpPort = value; }
}
// Check to see if HTTPPort property is set
internal bool IsSetHTTPPort()
{
return this._httpPort.HasValue;
}
/// <summary>
/// Gets and sets the property HTTPSPort.
/// <para>
/// The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port
/// that the origin listens on.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int HTTPSPort
{
get { return this._httpsPort.GetValueOrDefault(); }
set { this._httpsPort = value; }
}
// Check to see if HTTPSPort property is set
internal bool IsSetHTTPSPort()
{
return this._httpsPort.HasValue;
}
/// <summary>
/// Gets and sets the property OriginKeepaliveTimeout.
/// <para>
/// Specifies how long, in seconds, CloudFront persists its connection to the origin.
/// The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you
/// don't specify otherwise) is 5 seconds.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout">Origin
/// Keep-alive Timeout</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public int OriginKeepaliveTimeout
{
get { return this._originKeepaliveTimeout.GetValueOrDefault(); }
set { this._originKeepaliveTimeout = value; }
}
// Check to see if OriginKeepaliveTimeout property is set
internal bool IsSetOriginKeepaliveTimeout()
{
return this._originKeepaliveTimeout.HasValue;
}
/// <summary>
/// Gets and sets the property OriginProtocolPolicy.
/// <para>
/// Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
/// Valid values are:
/// </para>
/// <ul> <li>
/// <para>
/// <code>http-only</code> – CloudFront always uses HTTP to connect to the origin.
/// </para>
/// </li> <li>
/// <para>
/// <code>match-viewer</code> – CloudFront connects to the origin using the same protocol
/// that the viewer used to connect to CloudFront.
/// </para>
/// </li> <li>
/// <para>
/// <code>https-only</code> – CloudFront always uses HTTPS to connect to the origin.
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Required=true)]
public OriginProtocolPolicy OriginProtocolPolicy
{
get { return this._originProtocolPolicy; }
set { this._originProtocolPolicy = value; }
}
// Check to see if OriginProtocolPolicy property is set
internal bool IsSetOriginProtocolPolicy()
{
return this._originProtocolPolicy != null;
}
/// <summary>
/// Gets and sets the property OriginReadTimeout.
/// <para>
/// Specifies how long, in seconds, CloudFront waits for a response from the origin. This
/// is also known as the <i>origin response timeout</i>. The minimum timeout is 1 second,
/// the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30
/// seconds.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout">Origin
/// Response Timeout</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public int OriginReadTimeout
{
get { return this._originReadTimeout.GetValueOrDefault(); }
set { this._originReadTimeout = value; }
}
// Check to see if OriginReadTimeout property is set
internal bool IsSetOriginReadTimeout()
{
return this._originReadTimeout.HasValue;
}
/// <summary>
/// Gets and sets the property OriginSslProtocols.
/// <para>
/// Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your
/// origin over HTTPS. Valid values include <code>SSLv3</code>, <code>TLSv1</code>, <code>TLSv1.1</code>,
/// and <code>TLSv1.2</code>.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols">Minimum
/// Origin SSL Protocol</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public OriginSslProtocols OriginSslProtocols
{
get { return this._originSslProtocols; }
set { this._originSslProtocols = value; }
}
// Check to see if OriginSslProtocols property is set
internal bool IsSetOriginSslProtocols()
{
return this._originSslProtocols != null;
}
}
}
| 196 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// A complex type that describes the default cache behavior if you don't specify a <code>CacheBehavior</code>
/// element or if request URLs don't match any of the values of <code>PathPattern</code>
/// in <code>CacheBehavior</code> elements. You must create exactly one default cache
/// behavior.
/// </summary>
public partial class DefaultCacheBehavior
{
private AllowedMethods _allowedMethods;
private string _cachePolicyId;
private bool? _compress;
private long? _defaultTTL;
private string _fieldLevelEncryptionId;
private ForwardedValues _forwardedValues;
private FunctionAssociations _functionAssociations;
private LambdaFunctionAssociations _lambdaFunctionAssociations;
private long? _maxTTL;
private long? _minTTL;
private string _originRequestPolicyId;
private string _realtimeLogConfigArn;
private string _responseHeadersPolicyId;
private bool? _smoothStreaming;
private string _targetOriginId;
private TrustedKeyGroups _trustedKeyGroups;
private TrustedSigners _trustedSigners;
private ViewerProtocolPolicy _viewerProtocolPolicy;
/// <summary>
/// Gets and sets the property AllowedMethods.
/// </summary>
public AllowedMethods AllowedMethods
{
get { return this._allowedMethods; }
set { this._allowedMethods = value; }
}
// Check to see if AllowedMethods property is set
internal bool IsSetAllowedMethods()
{
return this._allowedMethods != null;
}
/// <summary>
/// Gets and sets the property CachePolicyId.
/// <para>
/// The unique identifier of the cache policy that is attached to the default cache behavior.
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using
/// the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// A <code>DefaultCacheBehavior</code> must include either a <code>CachePolicyId</code>
/// or <code>ForwardedValues</code>. We recommend that you use a <code>CachePolicyId</code>.
/// </para>
/// </summary>
public string CachePolicyId
{
get { return this._cachePolicyId; }
set { this._cachePolicyId = value; }
}
// Check to see if CachePolicyId property is set
internal bool IsSetCachePolicyId()
{
return this._cachePolicyId != null;
}
/// <summary>
/// Gets and sets the property Compress.
/// <para>
/// Whether you want CloudFront to automatically compress certain files for this cache
/// behavior. If so, specify <code>true</code>; if not, specify <code>false</code>. For
/// more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html">Serving
/// Compressed Files</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public bool Compress
{
get { return this._compress.GetValueOrDefault(); }
set { this._compress = value; }
}
// Check to see if Compress property is set
internal bool IsSetCompress()
{
return this._compress.HasValue;
}
/// <summary>
/// Gets and sets the property DefaultTTL.
/// <para>
/// This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
/// in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using
/// the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// The default amount of time that you want objects to stay in CloudFront caches before
/// CloudFront forwards another request to your origin to determine whether the object
/// has been updated. The value that you specify applies only when your origin does not
/// add HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>,
/// and <code>Expires</code> to objects. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing
/// How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront
/// Developer Guide</i>.
/// </para>
/// </summary>
[Obsolete("This field is deprecated. Use CachePolicy instead.")]
public long DefaultTTL
{
get { return this._defaultTTL.GetValueOrDefault(); }
set { this._defaultTTL = value; }
}
// Check to see if DefaultTTL property is set
internal bool IsSetDefaultTTL()
{
return this._defaultTTL.HasValue;
}
/// <summary>
/// Gets and sets the property FieldLevelEncryptionId.
/// <para>
/// The value of <code>ID</code> for the field-level encryption configuration that you
/// want CloudFront to use for encrypting specific fields of data for the default cache
/// behavior.
/// </para>
/// </summary>
public string FieldLevelEncryptionId
{
get { return this._fieldLevelEncryptionId; }
set { this._fieldLevelEncryptionId = value; }
}
// Check to see if FieldLevelEncryptionId property is set
internal bool IsSetFieldLevelEncryptionId()
{
return this._fieldLevelEncryptionId != null;
}
/// <summary>
/// Gets and sets the property ForwardedValues.
/// <para>
/// This field is deprecated. We recommend that you use a cache policy or an origin request
/// policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html">Working
/// with policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// If you want to include values in the cache key, use a cache policy. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using
/// the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// If you want to send values to the origin but not include them in the cache key, use
/// an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating
/// origin request policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html">Using
/// the managed origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// A <code>DefaultCacheBehavior</code> must include either a <code>CachePolicyId</code>
/// or <code>ForwardedValues</code>. We recommend that you use a <code>CachePolicyId</code>.
/// </para>
///
/// <para>
/// A complex type that specifies how CloudFront handles query strings, cookies, and HTTP
/// headers.
/// </para>
/// </summary>
[Obsolete("This field is deprecated. Use CachePolicy instead.")]
public ForwardedValues ForwardedValues
{
get { return this._forwardedValues; }
set { this._forwardedValues = value; }
}
// Check to see if ForwardedValues property is set
internal bool IsSetForwardedValues()
{
return this._forwardedValues != null;
}
/// <summary>
/// Gets and sets the property FunctionAssociations.
/// <para>
/// A list of CloudFront functions that are associated with this cache behavior. CloudFront
/// functions must be published to the <code>LIVE</code> stage to associate them with
/// a cache behavior.
/// </para>
/// </summary>
public FunctionAssociations FunctionAssociations
{
get { return this._functionAssociations; }
set { this._functionAssociations = value; }
}
// Check to see if FunctionAssociations property is set
internal bool IsSetFunctionAssociations()
{
return this._functionAssociations != null;
}
/// <summary>
/// Gets and sets the property LambdaFunctionAssociations.
/// <para>
/// A complex type that contains zero or more Lambda@Edge function associations for a
/// cache behavior.
/// </para>
/// </summary>
public LambdaFunctionAssociations LambdaFunctionAssociations
{
get { return this._lambdaFunctionAssociations; }
set { this._lambdaFunctionAssociations = value; }
}
// Check to see if LambdaFunctionAssociations property is set
internal bool IsSetLambdaFunctionAssociations()
{
return this._lambdaFunctionAssociations != null;
}
/// <summary>
/// Gets and sets the property MaxTTL.
/// <para>
/// This field is deprecated. We recommend that you use the <code>MaxTTL</code> field
/// in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using
/// the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// The maximum amount of time that you want objects to stay in CloudFront caches before
/// CloudFront forwards another request to your origin to determine whether the object
/// has been updated. The value that you specify applies only when your origin adds HTTP
/// headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>,
/// and <code>Expires</code> to objects. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing
/// How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront
/// Developer Guide</i>.
/// </para>
/// </summary>
[Obsolete("This field is deprecated. Use CachePolicy instead.")]
public long MaxTTL
{
get { return this._maxTTL.GetValueOrDefault(); }
set { this._maxTTL = value; }
}
// Check to see if MaxTTL property is set
internal bool IsSetMaxTTL()
{
return this._maxTTL.HasValue;
}
/// <summary>
/// Gets and sets the property MinTTL.
/// <para>
/// This field is deprecated. We recommend that you use the <code>MinTTL</code> field
/// in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating
/// cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using
/// the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
///
/// <para>
/// The minimum amount of time that you want objects to stay in CloudFront caches before
/// CloudFront forwards another request to your origin to determine whether the object
/// has been updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing
/// How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront
/// Developer Guide</i>.
/// </para>
///
/// <para>
/// You must specify <code>0</code> for <code>MinTTL</code> if you configure CloudFront
/// to forward all headers to your origin (under <code>Headers</code>, if you specify
/// <code>1</code> for <code>Quantity</code> and <code>*</code> for <code>Name</code>).
/// </para>
/// </summary>
[Obsolete("This field is deprecated. Use CachePolicy instead.")]
public long MinTTL
{
get { return this._minTTL.GetValueOrDefault(); }
set { this._minTTL = value; }
}
// Check to see if MinTTL property is set
internal bool IsSetMinTTL()
{
return this._minTTL.HasValue;
}
/// <summary>
/// Gets and sets the property OriginRequestPolicyId.
/// <para>
/// The unique identifier of the origin request policy that is attached to the default
/// cache behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating
/// origin request policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html">Using
/// the managed origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public string OriginRequestPolicyId
{
get { return this._originRequestPolicyId; }
set { this._originRequestPolicyId = value; }
}
// Check to see if OriginRequestPolicyId property is set
internal bool IsSetOriginRequestPolicyId()
{
return this._originRequestPolicyId != null;
}
/// <summary>
/// Gets and sets the property RealtimeLogConfigArn.
/// <para>
/// The Amazon Resource Name (ARN) of the real-time log configuration that is attached
/// to this cache behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time
/// logs</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public string RealtimeLogConfigArn
{
get { return this._realtimeLogConfigArn; }
set { this._realtimeLogConfigArn = value; }
}
// Check to see if RealtimeLogConfigArn property is set
internal bool IsSetRealtimeLogConfigArn()
{
return this._realtimeLogConfigArn != null;
}
/// <summary>
/// Gets and sets the property ResponseHeadersPolicyId.
/// <para>
/// The identifier for a response headers policy.
/// </para>
/// </summary>
public string ResponseHeadersPolicyId
{
get { return this._responseHeadersPolicyId; }
set { this._responseHeadersPolicyId = value; }
}
// Check to see if ResponseHeadersPolicyId property is set
internal bool IsSetResponseHeadersPolicyId()
{
return this._responseHeadersPolicyId != null;
}
/// <summary>
/// Gets and sets the property SmoothStreaming.
/// <para>
/// Indicates whether you want to distribute media files in the Microsoft Smooth Streaming
/// format using the origin that is associated with this cache behavior. If so, specify
/// <code>true</code>; if not, specify <code>false</code>. If you specify <code>true</code>
/// for <code>SmoothStreaming</code>, you can still distribute other content using this
/// cache behavior if the content matches the value of <code>PathPattern</code>.
/// </para>
/// </summary>
public bool SmoothStreaming
{
get { return this._smoothStreaming.GetValueOrDefault(); }
set { this._smoothStreaming = value; }
}
// Check to see if SmoothStreaming property is set
internal bool IsSetSmoothStreaming()
{
return this._smoothStreaming.HasValue;
}
/// <summary>
/// Gets and sets the property TargetOriginId.
/// <para>
/// The value of <code>ID</code> for the origin that you want CloudFront to route requests
/// to when they use the default cache behavior.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string TargetOriginId
{
get { return this._targetOriginId; }
set { this._targetOriginId = value; }
}
// Check to see if TargetOriginId property is set
internal bool IsSetTargetOriginId()
{
return this._targetOriginId != null;
}
/// <summary>
/// Gets and sets the property TrustedKeyGroups.
/// <para>
/// A list of key groups that CloudFront can use to validate signed URLs or signed cookies.
/// </para>
///
/// <para>
/// When a cache behavior contains trusted key groups, CloudFront requires signed URLs
/// or signed cookies for all requests that match the cache behavior. The URLs or cookies
/// must be signed with a private key whose corresponding public key is in the key group.
/// The signed URL or cookie contains information about which public key CloudFront should
/// use to verify the signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving
/// private content</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public TrustedKeyGroups TrustedKeyGroups
{
get { return this._trustedKeyGroups; }
set { this._trustedKeyGroups = value; }
}
// Check to see if TrustedKeyGroups property is set
internal bool IsSetTrustedKeyGroups()
{
return this._trustedKeyGroups != null;
}
/// <summary>
/// Gets and sets the property TrustedSigners. <important>
/// <para>
/// We recommend using <code>TrustedKeyGroups</code> instead of <code>TrustedSigners</code>.
/// </para>
/// </important>
/// <para>
/// A list of Amazon Web Services account IDs whose public keys CloudFront can use to
/// validate signed URLs or signed cookies.
/// </para>
///
/// <para>
/// When a cache behavior contains trusted signers, CloudFront requires signed URLs or
/// signed cookies for all requests that match the cache behavior. The URLs or cookies
/// must be signed with the private key of a CloudFront key pair in a trusted signer's
/// Amazon Web Services account. The signed URL or cookie contains information about which
/// public key CloudFront should use to verify the signature. For more information, see
/// <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving
/// private content</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public TrustedSigners TrustedSigners
{
get { return this._trustedSigners; }
set { this._trustedSigners = value; }
}
// Check to see if TrustedSigners property is set
internal bool IsSetTrustedSigners()
{
return this._trustedSigners != null;
}
/// <summary>
/// Gets and sets the property ViewerProtocolPolicy.
/// <para>
/// The protocol that viewers can use to access the files in the origin specified by <code>TargetOriginId</code>
/// when a request matches the path pattern in <code>PathPattern</code>. You can specify
/// the following options:
/// </para>
/// <ul> <li>
/// <para>
/// <code>allow-all</code>: Viewers can use HTTP or HTTPS.
/// </para>
/// </li> <li>
/// <para>
/// <code>redirect-to-https</code>: If a viewer submits an HTTP request, CloudFront returns
/// an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS
/// URL. The viewer then resubmits the request using the new URL.
/// </para>
/// </li> <li>
/// <para>
/// <code>https-only</code>: If a viewer sends an HTTP request, CloudFront returns an
/// HTTP status code of 403 (Forbidden).
/// </para>
/// </li> </ul>
/// <para>
/// For more information about requiring the HTTPS protocol, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html">Requiring
/// HTTPS Between Viewers and CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// <note>
/// <para>
/// The only way to guarantee that viewers retrieve an object that was fetched from the
/// origin using HTTPS is never to use any other protocol to fetch the object. If you
/// have recently changed from HTTP to HTTPS, we recommend that you clear your objects'
/// cache because cached objects are protocol agnostic. That means that an edge location
/// will return an object from the cache regardless of whether the current request protocol
/// matches the protocol used previously. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing
/// Cache Expiration</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true)]
public ViewerProtocolPolicy ViewerProtocolPolicy
{
get { return this._viewerProtocolPolicy; }
set { this._viewerProtocolPolicy = value; }
}
// Check to see if ViewerProtocolPolicy property is set
internal bool IsSetViewerProtocolPolicy()
{
return this._viewerProtocolPolicy != null;
}
}
}
| 538 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteCachePolicy operation.
/// Deletes a cache policy.
///
///
/// <para>
/// You cannot delete a cache policy if it's attached to a cache behavior. First update
/// your distributions to remove the cache policy from all cache behaviors, then delete
/// the cache policy.
/// </para>
///
/// <para>
/// To delete a cache policy, you must provide the policy's identifier and version. To
/// get these values, you can use <code>ListCachePolicies</code> or <code>GetCachePolicy</code>.
/// </para>
/// </summary>
public partial class DeleteCachePolicyRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique identifier for the cache policy that you are deleting. To get the identifier,
/// you can use <code>ListCachePolicies</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The version of the cache policy that you are deleting. The version is the cache policy's
/// <code>ETag</code> value, which you can get using <code>ListCachePolicies</code>, <code>GetCachePolicy</code>,
/// or <code>GetCachePolicyConfig</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 93 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteCachePolicy operation.
/// </summary>
public partial class DeleteCachePolicyResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteCloudFrontOriginAccessIdentity operation.
/// Delete an origin access identity.
/// </summary>
public partial class DeleteCloudFrontOriginAccessIdentityRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteCloudFrontOriginAccessIdentityRequest() { }
/// <summary>
/// Instantiates DeleteCloudFrontOriginAccessIdentityRequest with the parameterized properties
/// </summary>
/// <param name="id">The origin access identity's ID.</param>
/// <param name="ifMatch">The value of the <code>ETag</code> header you received from a previous <code>GET</code> or <code>PUT</code> request. For example: <code>E2QWRUHAPOMQZL</code>.</param>
public DeleteCloudFrontOriginAccessIdentityRequest(string id, string ifMatch)
{
_id = id;
_ifMatch = ifMatch;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The origin access identity's ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The value of the <code>ETag</code> header you received from a previous <code>GET</code>
/// or <code>PUT</code> request. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteCloudFrontOriginAccessIdentity operation.
/// </summary>
public partial class DeleteCloudFrontOriginAccessIdentityResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteContinuousDeploymentPolicy operation.
/// Deletes a continuous deployment policy.
///
///
/// <para>
/// You cannot delete a continuous deployment policy that's attached to a primary distribution.
/// First update your distribution to remove the continuous deployment policy, then you
/// can delete the policy.
/// </para>
/// </summary>
public partial class DeleteContinuousDeploymentPolicyRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The identifier of the continuous deployment policy that you are deleting.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The current version (<code>ETag</code> value) of the continuous deployment policy
/// that you are deleting.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 86 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteContinuousDeploymentPolicy operation.
/// </summary>
public partial class DeleteContinuousDeploymentPolicyResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteDistribution operation.
/// Delete a distribution.
/// </summary>
public partial class DeleteDistributionRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteDistributionRequest() { }
/// <summary>
/// Instantiates DeleteDistributionRequest with the parameterized properties
/// </summary>
/// <param name="id">The distribution ID.</param>
/// <param name="ifMatch">The value of the <code>ETag</code> header that you received when you disabled the distribution. For example: <code>E2QWRUHAPOMQZL</code>.</param>
public DeleteDistributionRequest(string id, string ifMatch)
{
_id = id;
_ifMatch = ifMatch;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The distribution ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The value of the <code>ETag</code> header that you received when you disabled the
/// distribution. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteDistribution operation.
/// </summary>
public partial class DeleteDistributionResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteFieldLevelEncryptionConfig operation.
/// Remove a field-level encryption configuration.
/// </summary>
public partial class DeleteFieldLevelEncryptionConfigRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID of the configuration you want to delete from CloudFront.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The value of the <code>ETag</code> header that you received when retrieving the configuration
/// identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteFieldLevelEncryptionConfig operation.
/// </summary>
public partial class DeleteFieldLevelEncryptionConfigResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteFieldLevelEncryptionProfile operation.
/// Remove a field-level encryption profile.
/// </summary>
public partial class DeleteFieldLevelEncryptionProfileRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// Request the ID of the profile you want to delete from CloudFront.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The value of the <code>ETag</code> header that you received when retrieving the profile
/// to delete. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteFieldLevelEncryptionProfile operation.
/// </summary>
public partial class DeleteFieldLevelEncryptionProfileResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteFunction operation.
/// Deletes a CloudFront function.
///
///
/// <para>
/// You cannot delete a function if it's associated with a cache behavior. First, update
/// your distributions to remove the function association from all cache behaviors, then
/// delete the function.
/// </para>
///
/// <para>
/// To delete a function, you must provide the function's name and version (<code>ETag</code>
/// value). To get these values, you can use <code>ListFunctions</code> and <code>DescribeFunction</code>.
/// </para>
/// </summary>
public partial class DeleteFunctionRequest : AmazonCloudFrontRequest
{
private string _ifMatch;
private string _name;
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The current version (<code>ETag</code> value) of the function that you are deleting,
/// which you can get using <code>DescribeFunction</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the function that you are deleting.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteFunction operation.
/// </summary>
public partial class DeleteFunctionResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteKeyGroup operation.
/// Deletes a key group.
///
///
/// <para>
/// You cannot delete a key group that is referenced in a cache behavior. First update
/// your distributions to remove the key group from all cache behaviors, then delete the
/// key group.
/// </para>
///
/// <para>
/// To delete a key group, you must provide the key group's identifier and version. To
/// get these values, use <code>ListKeyGroups</code> followed by <code>GetKeyGroup</code>
/// or <code>GetKeyGroupConfig</code>.
/// </para>
/// </summary>
public partial class DeleteKeyGroupRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The identifier of the key group that you are deleting. To get the identifier, use
/// <code>ListKeyGroups</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The version of the key group that you are deleting. The version is the key group's
/// <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code>
/// or <code>GetKeyGroupConfig</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteKeyGroup operation.
/// </summary>
public partial class DeleteKeyGroupResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteMonitoringSubscription operation.
/// Disables additional CloudWatch metrics for the specified CloudFront distribution.
/// </summary>
public partial class DeleteMonitoringSubscriptionRequest : AmazonCloudFrontRequest
{
private string _distributionId;
/// <summary>
/// Gets and sets the property DistributionId.
/// <para>
/// The ID of the distribution that you are disabling metrics for.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DistributionId
{
get { return this._distributionId; }
set { this._distributionId = value; }
}
// Check to see if DistributionId property is set
internal bool IsSetDistributionId()
{
return this._distributionId != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteMonitoringSubscription operation.
/// </summary>
public partial class DeleteMonitoringSubscriptionResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteOriginAccessControl operation.
/// Deletes a CloudFront origin access control.
///
///
/// <para>
/// You cannot delete an origin access control if it's in use. First, update all distributions
/// to remove the origin access control from all origins, then delete the origin access
/// control.
/// </para>
/// </summary>
public partial class DeleteOriginAccessControlRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique identifier of the origin access control that you are deleting.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The current version (<code>ETag</code> value) of the origin access control that you
/// are deleting.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 86 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteOriginAccessControl operation.
/// </summary>
public partial class DeleteOriginAccessControlResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteOriginRequestPolicy operation.
/// Deletes an origin request policy.
///
///
/// <para>
/// You cannot delete an origin request policy if it's attached to any cache behaviors.
/// First update your distributions to remove the origin request policy from all cache
/// behaviors, then delete the origin request policy.
/// </para>
///
/// <para>
/// To delete an origin request policy, you must provide the policy's identifier and version.
/// To get the identifier, you can use <code>ListOriginRequestPolicies</code> or <code>GetOriginRequestPolicy</code>.
/// </para>
/// </summary>
public partial class DeleteOriginRequestPolicyRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique identifier for the origin request policy that you are deleting. To get
/// the identifier, you can use <code>ListOriginRequestPolicies</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The version of the origin request policy that you are deleting. The version is the
/// origin request policy's <code>ETag</code> value, which you can get using <code>ListOriginRequestPolicies</code>,
/// <code>GetOriginRequestPolicy</code>, or <code>GetOriginRequestPolicyConfig</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 93 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteOriginRequestPolicy operation.
/// </summary>
public partial class DeleteOriginRequestPolicyResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeletePublicKey operation.
/// Remove a public key you previously added to CloudFront.
/// </summary>
public partial class DeletePublicKeyRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID of the public key you want to remove from CloudFront.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The value of the <code>ETag</code> header that you received when retrieving the public
/// key identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeletePublicKey operation.
/// </summary>
public partial class DeletePublicKeyResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteRealtimeLogConfig operation.
/// Deletes a real-time log configuration.
///
///
/// <para>
/// You cannot delete a real-time log configuration if it's attached to a cache behavior.
/// First update your distributions to remove the real-time log configuration from all
/// cache behaviors, then delete the real-time log configuration.
/// </para>
///
/// <para>
/// To delete a real-time log configuration, you can provide the configuration's name
/// or its Amazon Resource Name (ARN). You must provide at least one. If you provide both,
/// CloudFront uses the name to identify the real-time log configuration to delete.
/// </para>
/// </summary>
public partial class DeleteRealtimeLogConfigRequest : AmazonCloudFrontRequest
{
private string _arn;
private string _name;
/// <summary>
/// Gets and sets the property ARN.
/// <para>
/// The Amazon Resource Name (ARN) of the real-time log configuration to delete.
/// </para>
/// </summary>
public string ARN
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if ARN property is set
internal bool IsSetARN()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the real-time log configuration to delete.
/// </para>
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}
| 90 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteRealtimeLogConfig operation.
/// </summary>
public partial class DeleteRealtimeLogConfigResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteResponseHeadersPolicy operation.
/// Deletes a response headers policy.
///
///
/// <para>
/// You cannot delete a response headers policy if it's attached to a cache behavior.
/// First update your distributions to remove the response headers policy from all cache
/// behaviors, then delete the response headers policy.
/// </para>
///
/// <para>
/// To delete a response headers policy, you must provide the policy's identifier and
/// version. To get these values, you can use <code>ListResponseHeadersPolicies</code>
/// or <code>GetResponseHeadersPolicy</code>.
/// </para>
/// </summary>
public partial class DeleteResponseHeadersPolicyRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The identifier for the response headers policy that you are deleting.
/// </para>
///
/// <para>
/// To get the identifier, you can use <code>ListResponseHeadersPolicies</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The version of the response headers policy that you are deleting.
/// </para>
///
/// <para>
/// The version is the response headers policy's <code>ETag</code> value, which you can
/// get using <code>ListResponseHeadersPolicies</code>, <code>GetResponseHeadersPolicy</code>,
/// or <code>GetResponseHeadersPolicyConfig</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteResponseHeadersPolicy operation.
/// </summary>
public partial class DeleteResponseHeadersPolicyResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DeleteStreamingDistribution operation.
/// Delete a streaming distribution. To delete an RTMP distribution using the CloudFront
/// API, perform the following steps.
///
///
/// <para>
/// <b>To delete an RTMP distribution using the CloudFront API</b>:
/// </para>
/// <ol> <li>
/// <para>
/// Disable the RTMP distribution.
/// </para>
/// </li> <li>
/// <para>
/// Submit a <code>GET Streaming Distribution Config</code> request to get the current
/// configuration and the <code>Etag</code> header for the distribution.
/// </para>
/// </li> <li>
/// <para>
/// Update the XML document that was returned in the response to your <code>GET Streaming
/// Distribution Config</code> request to change the value of <code>Enabled</code> to
/// <code>false</code>.
/// </para>
/// </li> <li>
/// <para>
/// Submit a <code>PUT Streaming Distribution Config</code> request to update the configuration
/// for your distribution. In the request body, include the XML document that you updated
/// in Step 3. Then set the value of the HTTP <code>If-Match</code> header to the value
/// of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
/// Streaming Distribution Config</code> request in Step 2.
/// </para>
/// </li> <li>
/// <para>
/// Review the response to the <code>PUT Streaming Distribution Config</code> request
/// to confirm that the distribution was successfully disabled.
/// </para>
/// </li> <li>
/// <para>
/// Submit a <code>GET Streaming Distribution Config</code> request to confirm that your
/// changes have propagated. When propagation is complete, the value of <code>Status</code>
/// is <code>Deployed</code>.
/// </para>
/// </li> <li>
/// <para>
/// Submit a <code>DELETE Streaming Distribution</code> request. Set the value of the
/// HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that
/// CloudFront returned when you submitted the <code>GET Streaming Distribution Config</code>
/// request in Step 2.
/// </para>
/// </li> <li>
/// <para>
/// Review the response to your <code>DELETE Streaming Distribution</code> request to
/// confirm that the distribution was successfully deleted.
/// </para>
/// </li> </ol>
/// <para>
/// For information about deleting a distribution using the CloudFront console, see <a
/// href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting
/// a Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.
/// </para>
/// </summary>
public partial class DeleteStreamingDistributionRequest : AmazonCloudFrontRequest
{
private string _id;
private string _ifMatch;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteStreamingDistributionRequest() { }
/// <summary>
/// Instantiates DeleteStreamingDistributionRequest with the parameterized properties
/// </summary>
/// <param name="id">The distribution ID.</param>
/// <param name="ifMatch">The value of the <code>ETag</code> header that you received when you disabled the streaming distribution. For example: <code>E2QWRUHAPOMQZL</code>.</param>
public DeleteStreamingDistributionRequest(string id, string ifMatch)
{
_id = id;
_ifMatch = ifMatch;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The distribution ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property IfMatch.
/// <para>
/// The value of the <code>ETag</code> header that you received when you disabled the
/// streaming distribution. For example: <code>E2QWRUHAPOMQZL</code>.
/// </para>
/// </summary>
public string IfMatch
{
get { return this._ifMatch; }
set { this._ifMatch = value; }
}
// Check to see if IfMatch property is set
internal bool IsSetIfMatch()
{
return this._ifMatch != null;
}
}
}
| 153 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DeleteStreamingDistribution operation.
/// </summary>
public partial class DeleteStreamingDistributionResponse : 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 cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// Container for the parameters to the DescribeFunction operation.
/// Gets configuration information and metadata about a CloudFront function, but not the
/// function's code. To get a function's code, use <code>GetFunction</code>.
///
///
/// <para>
/// To get configuration information and metadata about a function, you must provide the
/// function's name and stage. To get these values, you can use <code>ListFunctions</code>.
/// </para>
/// </summary>
public partial class DescribeFunctionRequest : AmazonCloudFrontRequest
{
private string _name;
private FunctionStage _stage;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the function that you are getting information about.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Stage.
/// <para>
/// The function's stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.
/// </para>
/// </summary>
public FunctionStage Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
}
}
| 85 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Model
{
/// <summary>
/// This is the response object from the DescribeFunction operation.
/// </summary>
public partial class DescribeFunctionResponse : AmazonWebServiceResponse
{
private string _eTag;
private FunctionSummary _functionSummary;
/// <summary>
/// Gets and sets the property ETag.
/// <para>
/// The version identifier for the current version of the CloudFront function.
/// </para>
/// </summary>
public string ETag
{
get { return this._eTag; }
set { this._eTag = value; }
}
// Check to see if ETag property is set
internal bool IsSetETag()
{
return this._eTag != null;
}
/// <summary>
/// Gets and sets the property FunctionSummary.
/// <para>
/// Contains configuration information and metadata about a CloudFront function.
/// </para>
/// </summary>
public FunctionSummary FunctionSummary
{
get { return this._functionSummary; }
set { this._functionSummary = value; }
}
// Check to see if FunctionSummary property is set
internal bool IsSetFunctionSummary()
{
return this._functionSummary != null;
}
}
}
| 76 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.