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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CloudWatchEvidently.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CloudWatchEvidently.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for VariableValue Object
/// </summary>
public class VariableValueUnmarshaller : IUnmarshaller<VariableValue, XmlUnmarshallerContext>, IUnmarshaller<VariableValue, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
VariableValue IUnmarshaller<VariableValue, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public VariableValue Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
VariableValue unmarshalledObject = new VariableValue();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("boolValue", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.BoolValue = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("doubleValue", targetDepth))
{
var unmarshaller = DoubleUnmarshaller.Instance;
unmarshalledObject.DoubleValue = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("longValue", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
unmarshalledObject.LongValue = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stringValue", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StringValue = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static VariableValueUnmarshaller _instance = new VariableValueUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static VariableValueUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 110 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CloudWatchEvidently.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CloudWatchEvidently.Model.Internal.MarshallTransformations
{
/// <summary>
/// VariationConfig Marshaller
/// </summary>
public class VariationConfigMarshaller : IRequestMarshaller<VariationConfig, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(VariationConfig requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(requestObject.Name);
}
if(requestObject.IsSetValue())
{
context.Writer.WritePropertyName("value");
context.Writer.WriteObjectStart();
var marshaller = VariableValueMarshaller.Instance;
marshaller.Marshall(requestObject.Value, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static VariationConfigMarshaller Instance = new VariationConfigMarshaller();
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CloudWatchEvidently.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CloudWatchEvidently.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Variation Object
/// </summary>
public class VariationUnmarshaller : IUnmarshaller<Variation, XmlUnmarshallerContext>, IUnmarshaller<Variation, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Variation IUnmarshaller<Variation, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Variation Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Variation unmarshalledObject = new Variation();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("value", targetDepth))
{
var unmarshaller = VariableValueUnmarshaller.Instance;
unmarshalledObject.Value = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static VariationUnmarshaller _instance = new VariationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static VariationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 98 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginators for the CloudWatchEvidently service
///</summary>
public class CloudWatchEvidentlyPaginatorFactory : ICloudWatchEvidentlyPaginatorFactory
{
private readonly IAmazonCloudWatchEvidently client;
internal CloudWatchEvidentlyPaginatorFactory(IAmazonCloudWatchEvidently client)
{
this.client = client;
}
/// <summary>
/// Paginator for ListExperiments operation
///</summary>
public IListExperimentsPaginator ListExperiments(ListExperimentsRequest request)
{
return new ListExperimentsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListFeatures operation
///</summary>
public IListFeaturesPaginator ListFeatures(ListFeaturesRequest request)
{
return new ListFeaturesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListLaunches operation
///</summary>
public IListLaunchesPaginator ListLaunches(ListLaunchesRequest request)
{
return new ListLaunchesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListProjects operation
///</summary>
public IListProjectsPaginator ListProjects(ListProjectsRequest request)
{
return new ListProjectsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListSegmentReferences operation
///</summary>
public IListSegmentReferencesPaginator ListSegmentReferences(ListSegmentReferencesRequest request)
{
return new ListSegmentReferencesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListSegments operation
///</summary>
public IListSegmentsPaginator ListSegments(ListSegmentsRequest request)
{
return new ListSegmentsPaginator(this.client, request);
}
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginators for the CloudWatchEvidently service
///</summary>
public interface ICloudWatchEvidentlyPaginatorFactory
{
/// <summary>
/// Paginator for ListExperiments operation
///</summary>
IListExperimentsPaginator ListExperiments(ListExperimentsRequest request);
/// <summary>
/// Paginator for ListFeatures operation
///</summary>
IListFeaturesPaginator ListFeatures(ListFeaturesRequest request);
/// <summary>
/// Paginator for ListLaunches operation
///</summary>
IListLaunchesPaginator ListLaunches(ListLaunchesRequest request);
/// <summary>
/// Paginator for ListProjects operation
///</summary>
IListProjectsPaginator ListProjects(ListProjectsRequest request);
/// <summary>
/// Paginator for ListSegmentReferences operation
///</summary>
IListSegmentReferencesPaginator ListSegmentReferences(ListSegmentReferencesRequest request);
/// <summary>
/// Paginator for ListSegments operation
///</summary>
IListSegmentsPaginator ListSegments(ListSegmentsRequest request);
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginator for the ListExperiments operation
///</summary>
public interface IListExperimentsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListExperimentsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Experiments
/// </summary>
IPaginatedEnumerable<Experiment> Experiments { get; }
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginator for the ListFeatures operation
///</summary>
public interface IListFeaturesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListFeaturesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Features
/// </summary>
IPaginatedEnumerable<FeatureSummary> Features { get; }
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginator for the ListLaunches operation
///</summary>
public interface IListLaunchesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListLaunchesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Launches
/// </summary>
IPaginatedEnumerable<Launch> Launches { get; }
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginator for the ListProjects operation
///</summary>
public interface IListProjectsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListProjectsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Projects
/// </summary>
IPaginatedEnumerable<ProjectSummary> Projects { get; }
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginator for the ListSegmentReferences operation
///</summary>
public interface IListSegmentReferencesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListSegmentReferencesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the ReferencedBy
/// </summary>
IPaginatedEnumerable<RefResource> ReferencedBy { get; }
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Paginator for the ListSegments operation
///</summary>
public interface IListSegmentsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListSegmentsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Segments
/// </summary>
IPaginatedEnumerable<Segment> Segments { get; }
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Base class for ListExperiments paginators.
/// </summary>
internal sealed partial class ListExperimentsPaginator : IPaginator<ListExperimentsResponse>, IListExperimentsPaginator
{
private readonly IAmazonCloudWatchEvidently _client;
private readonly ListExperimentsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListExperimentsResponse> Responses => new PaginatedResponse<ListExperimentsResponse>(this);
/// <summary>
/// Enumerable containing all of the Experiments
/// </summary>
public IPaginatedEnumerable<Experiment> Experiments =>
new PaginatedResultKeyResponse<ListExperimentsResponse, Experiment>(this, (i) => i.Experiments);
internal ListExperimentsPaginator(IAmazonCloudWatchEvidently client, ListExperimentsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListExperimentsResponse> IPaginator<ListExperimentsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListExperimentsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListExperiments(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListExperimentsResponse> IPaginator<ListExperimentsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListExperimentsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListExperimentsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Base class for ListFeatures paginators.
/// </summary>
internal sealed partial class ListFeaturesPaginator : IPaginator<ListFeaturesResponse>, IListFeaturesPaginator
{
private readonly IAmazonCloudWatchEvidently _client;
private readonly ListFeaturesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListFeaturesResponse> Responses => new PaginatedResponse<ListFeaturesResponse>(this);
/// <summary>
/// Enumerable containing all of the Features
/// </summary>
public IPaginatedEnumerable<FeatureSummary> Features =>
new PaginatedResultKeyResponse<ListFeaturesResponse, FeatureSummary>(this, (i) => i.Features);
internal ListFeaturesPaginator(IAmazonCloudWatchEvidently client, ListFeaturesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListFeaturesResponse> IPaginator<ListFeaturesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListFeaturesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListFeatures(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListFeaturesResponse> IPaginator<ListFeaturesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListFeaturesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListFeaturesAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Base class for ListLaunches paginators.
/// </summary>
internal sealed partial class ListLaunchesPaginator : IPaginator<ListLaunchesResponse>, IListLaunchesPaginator
{
private readonly IAmazonCloudWatchEvidently _client;
private readonly ListLaunchesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListLaunchesResponse> Responses => new PaginatedResponse<ListLaunchesResponse>(this);
/// <summary>
/// Enumerable containing all of the Launches
/// </summary>
public IPaginatedEnumerable<Launch> Launches =>
new PaginatedResultKeyResponse<ListLaunchesResponse, Launch>(this, (i) => i.Launches);
internal ListLaunchesPaginator(IAmazonCloudWatchEvidently client, ListLaunchesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListLaunchesResponse> IPaginator<ListLaunchesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListLaunchesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListLaunches(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListLaunchesResponse> IPaginator<ListLaunchesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListLaunchesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListLaunchesAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Base class for ListProjects paginators.
/// </summary>
internal sealed partial class ListProjectsPaginator : IPaginator<ListProjectsResponse>, IListProjectsPaginator
{
private readonly IAmazonCloudWatchEvidently _client;
private readonly ListProjectsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListProjectsResponse> Responses => new PaginatedResponse<ListProjectsResponse>(this);
/// <summary>
/// Enumerable containing all of the Projects
/// </summary>
public IPaginatedEnumerable<ProjectSummary> Projects =>
new PaginatedResultKeyResponse<ListProjectsResponse, ProjectSummary>(this, (i) => i.Projects);
internal ListProjectsPaginator(IAmazonCloudWatchEvidently client, ListProjectsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListProjectsResponse> IPaginator<ListProjectsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListProjectsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListProjects(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListProjectsResponse> IPaginator<ListProjectsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListProjectsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListProjectsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Base class for ListSegmentReferences paginators.
/// </summary>
internal sealed partial class ListSegmentReferencesPaginator : IPaginator<ListSegmentReferencesResponse>, IListSegmentReferencesPaginator
{
private readonly IAmazonCloudWatchEvidently _client;
private readonly ListSegmentReferencesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListSegmentReferencesResponse> Responses => new PaginatedResponse<ListSegmentReferencesResponse>(this);
/// <summary>
/// Enumerable containing all of the ReferencedBy
/// </summary>
public IPaginatedEnumerable<RefResource> ReferencedBy =>
new PaginatedResultKeyResponse<ListSegmentReferencesResponse, RefResource>(this, (i) => i.ReferencedBy);
internal ListSegmentReferencesPaginator(IAmazonCloudWatchEvidently client, ListSegmentReferencesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListSegmentReferencesResponse> IPaginator<ListSegmentReferencesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListSegmentReferencesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListSegmentReferences(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListSegmentReferencesResponse> IPaginator<ListSegmentReferencesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListSegmentReferencesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListSegmentReferencesAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CloudWatchEvidently.Model
{
/// <summary>
/// Base class for ListSegments paginators.
/// </summary>
internal sealed partial class ListSegmentsPaginator : IPaginator<ListSegmentsResponse>, IListSegmentsPaginator
{
private readonly IAmazonCloudWatchEvidently _client;
private readonly ListSegmentsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListSegmentsResponse> Responses => new PaginatedResponse<ListSegmentsResponse>(this);
/// <summary>
/// Enumerable containing all of the Segments
/// </summary>
public IPaginatedEnumerable<Segment> Segments =>
new PaginatedResultKeyResponse<ListSegmentsResponse, Segment>(this, (i) => i.Segments);
internal ListSegmentsPaginator(IAmazonCloudWatchEvidently client, ListSegmentsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListSegmentsResponse> IPaginator<ListSegmentsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListSegmentsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListSegments(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListSegmentsResponse> IPaginator<ListSegmentsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListSegmentsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListSegmentsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
} | 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 evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.CloudWatchEvidently.Model;
using Amazon.CloudWatchEvidently.Model.Internal.MarshallTransformations;
using Amazon.CloudWatchEvidently.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CloudWatchEvidently
{
/// <summary>
/// Implementation for accessing CloudWatchEvidently
///
/// You can use Amazon CloudWatch Evidently to safely validate new features by serving
/// them to a specified percentage of your users while you roll out the feature. You can
/// monitor the performance of the new feature to help you decide when to ramp up traffic
/// to your users. This helps you reduce risk and identify unintended consequences before
/// you fully launch the feature.
///
///
/// <para>
/// You can also conduct A/B experiments to make feature design decisions based on evidence
/// and data. An experiment can test as many as five variations at once. Evidently collects
/// experiment data and analyzes it using statistical methods. It also provides clear
/// recommendations about which variations perform better. You can test both user-facing
/// features and backend features.
/// </para>
/// </summary>
public partial class AmazonCloudWatchEvidentlyClient : AmazonServiceClient, IAmazonCloudWatchEvidently
{
private static IServiceMetadata serviceMetadata = new AmazonCloudWatchEvidentlyMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private ICloudWatchEvidentlyPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public ICloudWatchEvidentlyPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CloudWatchEvidentlyPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonCloudWatchEvidentlyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchEvidentlyConfig()) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(AmazonCloudWatchEvidentlyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials)
: this(credentials, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchEvidentlyConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonCloudWatchEvidentlyEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region BatchEvaluateFeature
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
public virtual BatchEvaluateFeatureResponse BatchEvaluateFeature(BatchEvaluateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchEvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchEvaluateFeatureResponseUnmarshaller.Instance;
return Invoke<BatchEvaluateFeatureResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchEvaluateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchEvaluateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
public virtual IAsyncResult BeginBatchEvaluateFeature(BatchEvaluateFeatureRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchEvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchEvaluateFeatureResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchEvaluateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchEvaluateFeature.</param>
///
/// <returns>Returns a BatchEvaluateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
public virtual BatchEvaluateFeatureResponse EndBatchEvaluateFeature(IAsyncResult asyncResult)
{
return EndInvoke<BatchEvaluateFeatureResponse>(asyncResult);
}
#endregion
#region CreateExperiment
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
public virtual CreateExperimentResponse CreateExperiment(CreateExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExperimentResponseUnmarshaller.Instance;
return Invoke<CreateExperimentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
public virtual IAsyncResult BeginCreateExperiment(CreateExperimentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExperimentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateExperiment.</param>
///
/// <returns>Returns a CreateExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
public virtual CreateExperimentResponse EndCreateExperiment(IAsyncResult asyncResult)
{
return EndInvoke<CreateExperimentResponse>(asyncResult);
}
#endregion
#region CreateFeature
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
public virtual CreateFeatureResponse CreateFeature(CreateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFeatureResponseUnmarshaller.Instance;
return Invoke<CreateFeatureResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
public virtual IAsyncResult BeginCreateFeature(CreateFeatureRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFeatureResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateFeature.</param>
///
/// <returns>Returns a CreateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
public virtual CreateFeatureResponse EndCreateFeature(IAsyncResult asyncResult)
{
return EndInvoke<CreateFeatureResponse>(asyncResult);
}
#endregion
#region CreateLaunch
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
public virtual CreateLaunchResponse CreateLaunch(CreateLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchResponseUnmarshaller.Instance;
return Invoke<CreateLaunchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
public virtual IAsyncResult BeginCreateLaunch(CreateLaunchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateLaunch.</param>
///
/// <returns>Returns a CreateLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
public virtual CreateLaunchResponse EndCreateLaunch(IAsyncResult asyncResult)
{
return EndInvoke<CreateLaunchResponse>(asyncResult);
}
#endregion
#region CreateProject
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
public virtual CreateProjectResponse CreateProject(CreateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return Invoke<CreateProjectResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
public virtual IAsyncResult BeginCreateProject(CreateProjectRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateProject.</param>
///
/// <returns>Returns a CreateProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
public virtual CreateProjectResponse EndCreateProject(IAsyncResult asyncResult)
{
return EndInvoke<CreateProjectResponse>(asyncResult);
}
#endregion
#region CreateSegment
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
public virtual CreateSegmentResponse CreateSegment(CreateSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return Invoke<CreateSegmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateSegment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateSegment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSegment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
public virtual IAsyncResult BeginCreateSegment(CreateSegmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateSegment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateSegment.</param>
///
/// <returns>Returns a CreateSegmentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
public virtual CreateSegmentResponse EndCreateSegment(IAsyncResult asyncResult)
{
return EndInvoke<CreateSegmentResponse>(asyncResult);
}
#endregion
#region DeleteExperiment
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
public virtual DeleteExperimentResponse DeleteExperiment(DeleteExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExperimentResponseUnmarshaller.Instance;
return Invoke<DeleteExperimentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
public virtual IAsyncResult BeginDeleteExperiment(DeleteExperimentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExperimentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteExperiment.</param>
///
/// <returns>Returns a DeleteExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
public virtual DeleteExperimentResponse EndDeleteExperiment(IAsyncResult asyncResult)
{
return EndInvoke<DeleteExperimentResponse>(asyncResult);
}
#endregion
#region DeleteFeature
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
public virtual DeleteFeatureResponse DeleteFeature(DeleteFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFeatureResponseUnmarshaller.Instance;
return Invoke<DeleteFeatureResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
public virtual IAsyncResult BeginDeleteFeature(DeleteFeatureRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFeatureResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteFeature.</param>
///
/// <returns>Returns a DeleteFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
public virtual DeleteFeatureResponse EndDeleteFeature(IAsyncResult asyncResult)
{
return EndInvoke<DeleteFeatureResponse>(asyncResult);
}
#endregion
#region DeleteLaunch
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
public virtual DeleteLaunchResponse DeleteLaunch(DeleteLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchResponseUnmarshaller.Instance;
return Invoke<DeleteLaunchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
public virtual IAsyncResult BeginDeleteLaunch(DeleteLaunchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteLaunch.</param>
///
/// <returns>Returns a DeleteLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
public virtual DeleteLaunchResponse EndDeleteLaunch(IAsyncResult asyncResult)
{
return EndInvoke<DeleteLaunchResponse>(asyncResult);
}
#endregion
#region DeleteProject
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
public virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return Invoke<DeleteProjectResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
public virtual IAsyncResult BeginDeleteProject(DeleteProjectRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteProject.</param>
///
/// <returns>Returns a DeleteProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
public virtual DeleteProjectResponse EndDeleteProject(IAsyncResult asyncResult)
{
return EndInvoke<DeleteProjectResponse>(asyncResult);
}
#endregion
#region DeleteSegment
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
public virtual DeleteSegmentResponse DeleteSegment(DeleteSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;
return Invoke<DeleteSegmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteSegment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSegment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
public virtual IAsyncResult BeginDeleteSegment(DeleteSegmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteSegment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteSegment.</param>
///
/// <returns>Returns a DeleteSegmentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
public virtual DeleteSegmentResponse EndDeleteSegment(IAsyncResult asyncResult)
{
return EndInvoke<DeleteSegmentResponse>(asyncResult);
}
#endregion
#region EvaluateFeature
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
public virtual EvaluateFeatureResponse EvaluateFeature(EvaluateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateFeatureResponseUnmarshaller.Instance;
return Invoke<EvaluateFeatureResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the EvaluateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEvaluateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
public virtual IAsyncResult BeginEvaluateFeature(EvaluateFeatureRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateFeatureResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the EvaluateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginEvaluateFeature.</param>
///
/// <returns>Returns a EvaluateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
public virtual EvaluateFeatureResponse EndEvaluateFeature(IAsyncResult asyncResult)
{
return EndInvoke<EvaluateFeatureResponse>(asyncResult);
}
#endregion
#region GetExperiment
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
public virtual GetExperimentResponse GetExperiment(GetExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResponseUnmarshaller.Instance;
return Invoke<GetExperimentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
public virtual IAsyncResult BeginGetExperiment(GetExperimentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExperiment.</param>
///
/// <returns>Returns a GetExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
public virtual GetExperimentResponse EndGetExperiment(IAsyncResult asyncResult)
{
return EndInvoke<GetExperimentResponse>(asyncResult);
}
#endregion
#region GetExperimentResults
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
public virtual GetExperimentResultsResponse GetExperimentResults(GetExperimentResultsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResultsResponseUnmarshaller.Instance;
return Invoke<GetExperimentResultsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetExperimentResults operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExperimentResults
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
public virtual IAsyncResult BeginGetExperimentResults(GetExperimentResultsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResultsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetExperimentResults operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExperimentResults.</param>
///
/// <returns>Returns a GetExperimentResultsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
public virtual GetExperimentResultsResponse EndGetExperimentResults(IAsyncResult asyncResult)
{
return EndInvoke<GetExperimentResultsResponse>(asyncResult);
}
#endregion
#region GetFeature
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
public virtual GetFeatureResponse GetFeature(GetFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFeatureResponseUnmarshaller.Instance;
return Invoke<GetFeatureResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
public virtual IAsyncResult BeginGetFeature(GetFeatureRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFeatureResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetFeature.</param>
///
/// <returns>Returns a GetFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
public virtual GetFeatureResponse EndGetFeature(IAsyncResult asyncResult)
{
return EndInvoke<GetFeatureResponse>(asyncResult);
}
#endregion
#region GetLaunch
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
public virtual GetLaunchResponse GetLaunch(GetLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchResponseUnmarshaller.Instance;
return Invoke<GetLaunchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
public virtual IAsyncResult BeginGetLaunch(GetLaunchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetLaunch.</param>
///
/// <returns>Returns a GetLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
public virtual GetLaunchResponse EndGetLaunch(IAsyncResult asyncResult)
{
return EndInvoke<GetLaunchResponse>(asyncResult);
}
#endregion
#region GetProject
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
public virtual GetProjectResponse GetProject(GetProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return Invoke<GetProjectResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
public virtual IAsyncResult BeginGetProject(GetProjectRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetProject.</param>
///
/// <returns>Returns a GetProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
public virtual GetProjectResponse EndGetProject(IAsyncResult asyncResult)
{
return EndInvoke<GetProjectResponse>(asyncResult);
}
#endregion
#region GetSegment
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
public virtual GetSegmentResponse GetSegment(GetSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;
return Invoke<GetSegmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetSegment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSegment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSegment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
public virtual IAsyncResult BeginGetSegment(GetSegmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetSegment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSegment.</param>
///
/// <returns>Returns a GetSegmentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
public virtual GetSegmentResponse EndGetSegment(IAsyncResult asyncResult)
{
return EndInvoke<GetSegmentResponse>(asyncResult);
}
#endregion
#region ListExperiments
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;
return Invoke<ListExperimentsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListExperiments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListExperiments operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExperiments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
public virtual IAsyncResult BeginListExperiments(ListExperimentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListExperiments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListExperiments.</param>
///
/// <returns>Returns a ListExperimentsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
public virtual ListExperimentsResponse EndListExperiments(IAsyncResult asyncResult)
{
return EndInvoke<ListExperimentsResponse>(asyncResult);
}
#endregion
#region ListFeatures
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
public virtual ListFeaturesResponse ListFeatures(ListFeaturesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFeaturesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFeaturesResponseUnmarshaller.Instance;
return Invoke<ListFeaturesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListFeatures operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListFeatures operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFeatures
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
public virtual IAsyncResult BeginListFeatures(ListFeaturesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFeaturesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFeaturesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListFeatures operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListFeatures.</param>
///
/// <returns>Returns a ListFeaturesResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
public virtual ListFeaturesResponse EndListFeatures(IAsyncResult asyncResult)
{
return EndInvoke<ListFeaturesResponse>(asyncResult);
}
#endregion
#region ListLaunches
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
public virtual ListLaunchesResponse ListLaunches(ListLaunchesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLaunchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLaunchesResponseUnmarshaller.Instance;
return Invoke<ListLaunchesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListLaunches operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListLaunches operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLaunches
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
public virtual IAsyncResult BeginListLaunches(ListLaunchesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLaunchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLaunchesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListLaunches operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListLaunches.</param>
///
/// <returns>Returns a ListLaunchesResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
public virtual ListLaunchesResponse EndListLaunches(IAsyncResult asyncResult)
{
return EndInvoke<ListLaunchesResponse>(asyncResult);
}
#endregion
#region ListProjects
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
public virtual ListProjectsResponse ListProjects(ListProjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return Invoke<ListProjectsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListProjects operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListProjects operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProjects
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
public virtual IAsyncResult BeginListProjects(ListProjectsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListProjects operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListProjects.</param>
///
/// <returns>Returns a ListProjectsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
public virtual ListProjectsResponse EndListProjects(IAsyncResult asyncResult)
{
return EndInvoke<ListProjectsResponse>(asyncResult);
}
#endregion
#region ListSegmentReferences
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
public virtual ListSegmentReferencesResponse ListSegmentReferences(ListSegmentReferencesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentReferencesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentReferencesResponseUnmarshaller.Instance;
return Invoke<ListSegmentReferencesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListSegmentReferences operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSegmentReferences
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
public virtual IAsyncResult BeginListSegmentReferences(ListSegmentReferencesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentReferencesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentReferencesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListSegmentReferences operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSegmentReferences.</param>
///
/// <returns>Returns a ListSegmentReferencesResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
public virtual ListSegmentReferencesResponse EndListSegmentReferences(IAsyncResult asyncResult)
{
return EndInvoke<ListSegmentReferencesResponse>(asyncResult);
}
#endregion
#region ListSegments
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
public virtual ListSegmentsResponse ListSegments(ListSegmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentsResponseUnmarshaller.Instance;
return Invoke<ListSegmentsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListSegments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListSegments operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSegments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
public virtual IAsyncResult BeginListSegments(ListSegmentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListSegments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSegments.</param>
///
/// <returns>Returns a ListSegmentsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
public virtual ListSegmentsResponse EndListSegments(IAsyncResult asyncResult)
{
return EndInvoke<ListSegmentsResponse>(asyncResult);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke<ListTagsForResourceResponse>(asyncResult);
}
#endregion
#region PutProjectEvents
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
public virtual PutProjectEventsResponse PutProjectEvents(PutProjectEventsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutProjectEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutProjectEventsResponseUnmarshaller.Instance;
return Invoke<PutProjectEventsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the PutProjectEvents operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutProjectEvents
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
public virtual IAsyncResult BeginPutProjectEvents(PutProjectEventsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutProjectEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutProjectEventsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the PutProjectEvents operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutProjectEvents.</param>
///
/// <returns>Returns a PutProjectEventsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
public virtual PutProjectEventsResponse EndPutProjectEvents(IAsyncResult asyncResult)
{
return EndInvoke<PutProjectEventsResponse>(asyncResult);
}
#endregion
#region StartExperiment
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
public virtual StartExperimentResponse StartExperiment(StartExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExperimentResponseUnmarshaller.Instance;
return Invoke<StartExperimentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
public virtual IAsyncResult BeginStartExperiment(StartExperimentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExperimentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartExperiment.</param>
///
/// <returns>Returns a StartExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
public virtual StartExperimentResponse EndStartExperiment(IAsyncResult asyncResult)
{
return EndInvoke<StartExperimentResponse>(asyncResult);
}
#endregion
#region StartLaunch
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
public virtual StartLaunchResponse StartLaunch(StartLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartLaunchResponseUnmarshaller.Instance;
return Invoke<StartLaunchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
public virtual IAsyncResult BeginStartLaunch(StartLaunchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartLaunchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartLaunch.</param>
///
/// <returns>Returns a StartLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
public virtual StartLaunchResponse EndStartLaunch(IAsyncResult asyncResult)
{
return EndInvoke<StartLaunchResponse>(asyncResult);
}
#endregion
#region StopExperiment
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
public virtual StopExperimentResponse StopExperiment(StopExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopExperimentResponseUnmarshaller.Instance;
return Invoke<StopExperimentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StopExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
public virtual IAsyncResult BeginStopExperiment(StopExperimentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopExperimentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StopExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopExperiment.</param>
///
/// <returns>Returns a StopExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
public virtual StopExperimentResponse EndStopExperiment(IAsyncResult asyncResult)
{
return EndInvoke<StopExperimentResponse>(asyncResult);
}
#endregion
#region StopLaunch
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
public virtual StopLaunchResponse StopLaunch(StopLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopLaunchResponseUnmarshaller.Instance;
return Invoke<StopLaunchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StopLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
public virtual IAsyncResult BeginStopLaunch(StopLaunchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopLaunchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StopLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopLaunch.</param>
///
/// <returns>Returns a StopLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
public virtual StopLaunchResponse EndStopLaunch(IAsyncResult asyncResult)
{
return EndInvoke<StopLaunchResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region TestSegmentPattern
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
public virtual TestSegmentPatternResponse TestSegmentPattern(TestSegmentPatternRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestSegmentPatternRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestSegmentPatternResponseUnmarshaller.Instance;
return Invoke<TestSegmentPatternResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TestSegmentPattern operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestSegmentPattern
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
public virtual IAsyncResult BeginTestSegmentPattern(TestSegmentPatternRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestSegmentPatternRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestSegmentPatternResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the TestSegmentPattern operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTestSegmentPattern.</param>
///
/// <returns>Returns a TestSegmentPatternResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
public virtual TestSegmentPatternResponse EndTestSegmentPattern(IAsyncResult asyncResult)
{
return EndInvoke<TestSegmentPatternResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateExperiment
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
public virtual UpdateExperimentResponse UpdateExperiment(UpdateExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExperimentResponseUnmarshaller.Instance;
return Invoke<UpdateExperimentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
public virtual IAsyncResult BeginUpdateExperiment(UpdateExperimentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExperimentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateExperiment.</param>
///
/// <returns>Returns a UpdateExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
public virtual UpdateExperimentResponse EndUpdateExperiment(IAsyncResult asyncResult)
{
return EndInvoke<UpdateExperimentResponse>(asyncResult);
}
#endregion
#region UpdateFeature
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
public virtual UpdateFeatureResponse UpdateFeature(UpdateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFeatureResponseUnmarshaller.Instance;
return Invoke<UpdateFeatureResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
public virtual IAsyncResult BeginUpdateFeature(UpdateFeatureRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFeatureResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateFeature.</param>
///
/// <returns>Returns a UpdateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
public virtual UpdateFeatureResponse EndUpdateFeature(IAsyncResult asyncResult)
{
return EndInvoke<UpdateFeatureResponse>(asyncResult);
}
#endregion
#region UpdateLaunch
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
public virtual UpdateLaunchResponse UpdateLaunch(UpdateLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchResponseUnmarshaller.Instance;
return Invoke<UpdateLaunchResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
public virtual IAsyncResult BeginUpdateLaunch(UpdateLaunchRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateLaunch.</param>
///
/// <returns>Returns a UpdateLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
public virtual UpdateLaunchResponse EndUpdateLaunch(IAsyncResult asyncResult)
{
return EndInvoke<UpdateLaunchResponse>(asyncResult);
}
#endregion
#region UpdateProject
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
public virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return Invoke<UpdateProjectResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
public virtual IAsyncResult BeginUpdateProject(UpdateProjectRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateProject.</param>
///
/// <returns>Returns a UpdateProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
public virtual UpdateProjectResponse EndUpdateProject(IAsyncResult asyncResult)
{
return EndInvoke<UpdateProjectResponse>(asyncResult);
}
#endregion
#region UpdateProjectDataDelivery
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
public virtual UpdateProjectDataDeliveryResponse UpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectDataDeliveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectDataDeliveryResponseUnmarshaller.Instance;
return Invoke<UpdateProjectDataDeliveryResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateProjectDataDelivery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProjectDataDelivery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
public virtual IAsyncResult BeginUpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectDataDeliveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectDataDeliveryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateProjectDataDelivery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateProjectDataDelivery.</param>
///
/// <returns>Returns a UpdateProjectDataDeliveryResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
public virtual UpdateProjectDataDeliveryResponse EndUpdateProjectDataDelivery(IAsyncResult asyncResult)
{
return EndInvoke<UpdateProjectDataDeliveryResponse>(asyncResult);
}
#endregion
}
} | 3,080 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CloudWatchEvidently.Model;
namespace Amazon.CloudWatchEvidently
{
/// <summary>
/// Interface for accessing CloudWatchEvidently
///
/// You can use Amazon CloudWatch Evidently to safely validate new features by serving
/// them to a specified percentage of your users while you roll out the feature. You can
/// monitor the performance of the new feature to help you decide when to ramp up traffic
/// to your users. This helps you reduce risk and identify unintended consequences before
/// you fully launch the feature.
///
///
/// <para>
/// You can also conduct A/B experiments to make feature design decisions based on evidence
/// and data. An experiment can test as many as five variations at once. Evidently collects
/// experiment data and analyzes it using statistical methods. It also provides clear
/// recommendations about which variations perform better. You can test both user-facing
/// features and backend features.
/// </para>
/// </summary>
public partial interface IAmazonCloudWatchEvidently : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
ICloudWatchEvidentlyPaginatorFactory Paginators { get; }
#endif
#region BatchEvaluateFeature
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
BatchEvaluateFeatureResponse BatchEvaluateFeature(BatchEvaluateFeatureRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchEvaluateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchEvaluateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
IAsyncResult BeginBatchEvaluateFeature(BatchEvaluateFeatureRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchEvaluateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchEvaluateFeature.</param>
///
/// <returns>Returns a BatchEvaluateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
BatchEvaluateFeatureResponse EndBatchEvaluateFeature(IAsyncResult asyncResult);
#endregion
#region CreateExperiment
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
CreateExperimentResponse CreateExperiment(CreateExperimentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
IAsyncResult BeginCreateExperiment(CreateExperimentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateExperiment.</param>
///
/// <returns>Returns a CreateExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
CreateExperimentResponse EndCreateExperiment(IAsyncResult asyncResult);
#endregion
#region CreateFeature
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
CreateFeatureResponse CreateFeature(CreateFeatureRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
IAsyncResult BeginCreateFeature(CreateFeatureRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateFeature.</param>
///
/// <returns>Returns a CreateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
CreateFeatureResponse EndCreateFeature(IAsyncResult asyncResult);
#endregion
#region CreateLaunch
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
CreateLaunchResponse CreateLaunch(CreateLaunchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
IAsyncResult BeginCreateLaunch(CreateLaunchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateLaunch.</param>
///
/// <returns>Returns a CreateLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
CreateLaunchResponse EndCreateLaunch(IAsyncResult asyncResult);
#endregion
#region CreateProject
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
CreateProjectResponse CreateProject(CreateProjectRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
IAsyncResult BeginCreateProject(CreateProjectRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateProject.</param>
///
/// <returns>Returns a CreateProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
CreateProjectResponse EndCreateProject(IAsyncResult asyncResult);
#endregion
#region CreateSegment
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
CreateSegmentResponse CreateSegment(CreateSegmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateSegment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateSegment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSegment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
IAsyncResult BeginCreateSegment(CreateSegmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateSegment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateSegment.</param>
///
/// <returns>Returns a CreateSegmentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
CreateSegmentResponse EndCreateSegment(IAsyncResult asyncResult);
#endregion
#region DeleteExperiment
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
DeleteExperimentResponse DeleteExperiment(DeleteExperimentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
IAsyncResult BeginDeleteExperiment(DeleteExperimentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteExperiment.</param>
///
/// <returns>Returns a DeleteExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
DeleteExperimentResponse EndDeleteExperiment(IAsyncResult asyncResult);
#endregion
#region DeleteFeature
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
DeleteFeatureResponse DeleteFeature(DeleteFeatureRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
IAsyncResult BeginDeleteFeature(DeleteFeatureRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteFeature.</param>
///
/// <returns>Returns a DeleteFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
DeleteFeatureResponse EndDeleteFeature(IAsyncResult asyncResult);
#endregion
#region DeleteLaunch
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
DeleteLaunchResponse DeleteLaunch(DeleteLaunchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
IAsyncResult BeginDeleteLaunch(DeleteLaunchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteLaunch.</param>
///
/// <returns>Returns a DeleteLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
DeleteLaunchResponse EndDeleteLaunch(IAsyncResult asyncResult);
#endregion
#region DeleteProject
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
DeleteProjectResponse DeleteProject(DeleteProjectRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
IAsyncResult BeginDeleteProject(DeleteProjectRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteProject.</param>
///
/// <returns>Returns a DeleteProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
DeleteProjectResponse EndDeleteProject(IAsyncResult asyncResult);
#endregion
#region DeleteSegment
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
DeleteSegmentResponse DeleteSegment(DeleteSegmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteSegment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSegment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
IAsyncResult BeginDeleteSegment(DeleteSegmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteSegment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteSegment.</param>
///
/// <returns>Returns a DeleteSegmentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
DeleteSegmentResponse EndDeleteSegment(IAsyncResult asyncResult);
#endregion
#region EvaluateFeature
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
EvaluateFeatureResponse EvaluateFeature(EvaluateFeatureRequest request);
/// <summary>
/// Initiates the asynchronous execution of the EvaluateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEvaluateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
IAsyncResult BeginEvaluateFeature(EvaluateFeatureRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the EvaluateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginEvaluateFeature.</param>
///
/// <returns>Returns a EvaluateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
EvaluateFeatureResponse EndEvaluateFeature(IAsyncResult asyncResult);
#endregion
#region GetExperiment
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
GetExperimentResponse GetExperiment(GetExperimentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
IAsyncResult BeginGetExperiment(GetExperimentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExperiment.</param>
///
/// <returns>Returns a GetExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
GetExperimentResponse EndGetExperiment(IAsyncResult asyncResult);
#endregion
#region GetExperimentResults
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
GetExperimentResultsResponse GetExperimentResults(GetExperimentResultsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetExperimentResults operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExperimentResults
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
IAsyncResult BeginGetExperimentResults(GetExperimentResultsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetExperimentResults operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExperimentResults.</param>
///
/// <returns>Returns a GetExperimentResultsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
GetExperimentResultsResponse EndGetExperimentResults(IAsyncResult asyncResult);
#endregion
#region GetFeature
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
GetFeatureResponse GetFeature(GetFeatureRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
IAsyncResult BeginGetFeature(GetFeatureRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetFeature.</param>
///
/// <returns>Returns a GetFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
GetFeatureResponse EndGetFeature(IAsyncResult asyncResult);
#endregion
#region GetLaunch
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
GetLaunchResponse GetLaunch(GetLaunchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
IAsyncResult BeginGetLaunch(GetLaunchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetLaunch.</param>
///
/// <returns>Returns a GetLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
GetLaunchResponse EndGetLaunch(IAsyncResult asyncResult);
#endregion
#region GetProject
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
GetProjectResponse GetProject(GetProjectRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
IAsyncResult BeginGetProject(GetProjectRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetProject.</param>
///
/// <returns>Returns a GetProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
GetProjectResponse EndGetProject(IAsyncResult asyncResult);
#endregion
#region GetSegment
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
GetSegmentResponse GetSegment(GetSegmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSegment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSegment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSegment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
IAsyncResult BeginGetSegment(GetSegmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSegment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSegment.</param>
///
/// <returns>Returns a GetSegmentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
GetSegmentResponse EndGetSegment(IAsyncResult asyncResult);
#endregion
#region ListExperiments
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
ListExperimentsResponse ListExperiments(ListExperimentsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListExperiments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListExperiments operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExperiments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
IAsyncResult BeginListExperiments(ListExperimentsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListExperiments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListExperiments.</param>
///
/// <returns>Returns a ListExperimentsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
ListExperimentsResponse EndListExperiments(IAsyncResult asyncResult);
#endregion
#region ListFeatures
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
ListFeaturesResponse ListFeatures(ListFeaturesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListFeatures operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListFeatures operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFeatures
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
IAsyncResult BeginListFeatures(ListFeaturesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListFeatures operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListFeatures.</param>
///
/// <returns>Returns a ListFeaturesResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
ListFeaturesResponse EndListFeatures(IAsyncResult asyncResult);
#endregion
#region ListLaunches
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
ListLaunchesResponse ListLaunches(ListLaunchesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListLaunches operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListLaunches operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLaunches
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
IAsyncResult BeginListLaunches(ListLaunchesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListLaunches operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListLaunches.</param>
///
/// <returns>Returns a ListLaunchesResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
ListLaunchesResponse EndListLaunches(IAsyncResult asyncResult);
#endregion
#region ListProjects
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
ListProjectsResponse ListProjects(ListProjectsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListProjects operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListProjects operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProjects
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
IAsyncResult BeginListProjects(ListProjectsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListProjects operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListProjects.</param>
///
/// <returns>Returns a ListProjectsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
ListProjectsResponse EndListProjects(IAsyncResult asyncResult);
#endregion
#region ListSegmentReferences
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
ListSegmentReferencesResponse ListSegmentReferences(ListSegmentReferencesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListSegmentReferences operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSegmentReferences
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
IAsyncResult BeginListSegmentReferences(ListSegmentReferencesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListSegmentReferences operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSegmentReferences.</param>
///
/// <returns>Returns a ListSegmentReferencesResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
ListSegmentReferencesResponse EndListSegmentReferences(IAsyncResult asyncResult);
#endregion
#region ListSegments
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
ListSegmentsResponse ListSegments(ListSegmentsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListSegments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListSegments operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSegments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
IAsyncResult BeginListSegments(ListSegmentsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListSegments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSegments.</param>
///
/// <returns>Returns a ListSegmentsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
ListSegmentsResponse EndListSegments(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region PutProjectEvents
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
PutProjectEventsResponse PutProjectEvents(PutProjectEventsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutProjectEvents operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutProjectEvents
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
IAsyncResult BeginPutProjectEvents(PutProjectEventsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutProjectEvents operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutProjectEvents.</param>
///
/// <returns>Returns a PutProjectEventsResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
PutProjectEventsResponse EndPutProjectEvents(IAsyncResult asyncResult);
#endregion
#region StartExperiment
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
StartExperimentResponse StartExperiment(StartExperimentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
IAsyncResult BeginStartExperiment(StartExperimentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartExperiment.</param>
///
/// <returns>Returns a StartExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
StartExperimentResponse EndStartExperiment(IAsyncResult asyncResult);
#endregion
#region StartLaunch
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
StartLaunchResponse StartLaunch(StartLaunchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
IAsyncResult BeginStartLaunch(StartLaunchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartLaunch.</param>
///
/// <returns>Returns a StartLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
StartLaunchResponse EndStartLaunch(IAsyncResult asyncResult);
#endregion
#region StopExperiment
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
StopExperimentResponse StopExperiment(StopExperimentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StopExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
IAsyncResult BeginStopExperiment(StopExperimentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StopExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopExperiment.</param>
///
/// <returns>Returns a StopExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
StopExperimentResponse EndStopExperiment(IAsyncResult asyncResult);
#endregion
#region StopLaunch
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
StopLaunchResponse StopLaunch(StopLaunchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StopLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
IAsyncResult BeginStopLaunch(StopLaunchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StopLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopLaunch.</param>
///
/// <returns>Returns a StopLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
StopLaunchResponse EndStopLaunch(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region TestSegmentPattern
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
TestSegmentPatternResponse TestSegmentPattern(TestSegmentPatternRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TestSegmentPattern operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestSegmentPattern
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
IAsyncResult BeginTestSegmentPattern(TestSegmentPatternRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TestSegmentPattern operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTestSegmentPattern.</param>
///
/// <returns>Returns a TestSegmentPatternResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
TestSegmentPatternResponse EndTestSegmentPattern(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateExperiment
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
UpdateExperimentResponse UpdateExperiment(UpdateExperimentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateExperiment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExperiment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
IAsyncResult BeginUpdateExperiment(UpdateExperimentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateExperiment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateExperiment.</param>
///
/// <returns>Returns a UpdateExperimentResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
UpdateExperimentResponse EndUpdateExperiment(IAsyncResult asyncResult);
#endregion
#region UpdateFeature
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
UpdateFeatureResponse UpdateFeature(UpdateFeatureRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateFeature operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFeature
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
IAsyncResult BeginUpdateFeature(UpdateFeatureRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateFeature operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateFeature.</param>
///
/// <returns>Returns a UpdateFeatureResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
UpdateFeatureResponse EndUpdateFeature(IAsyncResult asyncResult);
#endregion
#region UpdateLaunch
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
UpdateLaunchResponse UpdateLaunch(UpdateLaunchRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateLaunch operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLaunch
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
IAsyncResult BeginUpdateLaunch(UpdateLaunchRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateLaunch operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateLaunch.</param>
///
/// <returns>Returns a UpdateLaunchResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
UpdateLaunchResponse EndUpdateLaunch(IAsyncResult asyncResult);
#endregion
#region UpdateProject
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
UpdateProjectResponse UpdateProject(UpdateProjectRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateProject operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateProject operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProject
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
IAsyncResult BeginUpdateProject(UpdateProjectRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateProject operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateProject.</param>
///
/// <returns>Returns a UpdateProjectResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
UpdateProjectResponse EndUpdateProject(IAsyncResult asyncResult);
#endregion
#region UpdateProjectDataDelivery
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
UpdateProjectDataDeliveryResponse UpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateProjectDataDelivery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery operation on AmazonCloudWatchEvidentlyClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProjectDataDelivery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
IAsyncResult BeginUpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateProjectDataDelivery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateProjectDataDelivery.</param>
///
/// <returns>Returns a UpdateProjectDataDeliveryResult from CloudWatchEvidently.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
UpdateProjectDataDeliveryResponse EndUpdateProjectDataDelivery(IAsyncResult asyncResult);
#endregion
}
} | 2,328 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.CloudWatchEvidently.Model;
using Amazon.CloudWatchEvidently.Model.Internal.MarshallTransformations;
using Amazon.CloudWatchEvidently.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CloudWatchEvidently
{
/// <summary>
/// Implementation for accessing CloudWatchEvidently
///
/// You can use Amazon CloudWatch Evidently to safely validate new features by serving
/// them to a specified percentage of your users while you roll out the feature. You can
/// monitor the performance of the new feature to help you decide when to ramp up traffic
/// to your users. This helps you reduce risk and identify unintended consequences before
/// you fully launch the feature.
///
///
/// <para>
/// You can also conduct A/B experiments to make feature design decisions based on evidence
/// and data. An experiment can test as many as five variations at once. Evidently collects
/// experiment data and analyzes it using statistical methods. It also provides clear
/// recommendations about which variations perform better. You can test both user-facing
/// features and backend features.
/// </para>
/// </summary>
public partial class AmazonCloudWatchEvidentlyClient : AmazonServiceClient, IAmazonCloudWatchEvidently
{
private static IServiceMetadata serviceMetadata = new AmazonCloudWatchEvidentlyMetadata();
private ICloudWatchEvidentlyPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public ICloudWatchEvidentlyPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CloudWatchEvidentlyPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonCloudWatchEvidentlyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchEvidentlyConfig()) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(AmazonCloudWatchEvidentlyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials)
: this(credentials, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchEvidentlyConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonCloudWatchEvidentlyEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region BatchEvaluateFeature
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
public virtual BatchEvaluateFeatureResponse BatchEvaluateFeature(BatchEvaluateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchEvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchEvaluateFeatureResponseUnmarshaller.Instance;
return Invoke<BatchEvaluateFeatureResponse>(request, options);
}
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
public virtual Task<BatchEvaluateFeatureResponse> BatchEvaluateFeatureAsync(BatchEvaluateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchEvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchEvaluateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<BatchEvaluateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region CreateExperiment
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
public virtual CreateExperimentResponse CreateExperiment(CreateExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExperimentResponseUnmarshaller.Instance;
return Invoke<CreateExperimentResponse>(request, options);
}
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
public virtual Task<CreateExperimentResponse> CreateExperimentAsync(CreateExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExperimentResponseUnmarshaller.Instance;
return InvokeAsync<CreateExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateFeature
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
public virtual CreateFeatureResponse CreateFeature(CreateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFeatureResponseUnmarshaller.Instance;
return Invoke<CreateFeatureResponse>(request, options);
}
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
public virtual Task<CreateFeatureResponse> CreateFeatureAsync(CreateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<CreateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region CreateLaunch
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
public virtual CreateLaunchResponse CreateLaunch(CreateLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchResponseUnmarshaller.Instance;
return Invoke<CreateLaunchResponse>(request, options);
}
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
public virtual Task<CreateLaunchResponse> CreateLaunchAsync(CreateLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchResponseUnmarshaller.Instance;
return InvokeAsync<CreateLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region CreateProject
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
public virtual CreateProjectResponse CreateProject(CreateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return Invoke<CreateProjectResponse>(request, options);
}
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
public virtual Task<CreateProjectResponse> CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return InvokeAsync<CreateProjectResponse>(request, options, cancellationToken);
}
#endregion
#region CreateSegment
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
public virtual CreateSegmentResponse CreateSegment(CreateSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return Invoke<CreateSegmentResponse>(request, options);
}
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
public virtual Task<CreateSegmentResponse> CreateSegmentAsync(CreateSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateSegmentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteExperiment
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
public virtual DeleteExperimentResponse DeleteExperiment(DeleteExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExperimentResponseUnmarshaller.Instance;
return Invoke<DeleteExperimentResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
public virtual Task<DeleteExperimentResponse> DeleteExperimentAsync(DeleteExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExperimentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteFeature
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
public virtual DeleteFeatureResponse DeleteFeature(DeleteFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFeatureResponseUnmarshaller.Instance;
return Invoke<DeleteFeatureResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
public virtual Task<DeleteFeatureResponse> DeleteFeatureAsync(DeleteFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFeatureResponseUnmarshaller.Instance;
return InvokeAsync<DeleteFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteLaunch
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
public virtual DeleteLaunchResponse DeleteLaunch(DeleteLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchResponseUnmarshaller.Instance;
return Invoke<DeleteLaunchResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
public virtual Task<DeleteLaunchResponse> DeleteLaunchAsync(DeleteLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchResponseUnmarshaller.Instance;
return InvokeAsync<DeleteLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteProject
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
public virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return Invoke<DeleteProjectResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
public virtual Task<DeleteProjectResponse> DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return InvokeAsync<DeleteProjectResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteSegment
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
public virtual DeleteSegmentResponse DeleteSegment(DeleteSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;
return Invoke<DeleteSegmentResponse>(request, options);
}
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
public virtual Task<DeleteSegmentResponse> DeleteSegmentAsync(DeleteSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteSegmentResponse>(request, options, cancellationToken);
}
#endregion
#region EvaluateFeature
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
public virtual EvaluateFeatureResponse EvaluateFeature(EvaluateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateFeatureResponseUnmarshaller.Instance;
return Invoke<EvaluateFeatureResponse>(request, options);
}
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
public virtual Task<EvaluateFeatureResponse> EvaluateFeatureAsync(EvaluateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<EvaluateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region GetExperiment
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
public virtual GetExperimentResponse GetExperiment(GetExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResponseUnmarshaller.Instance;
return Invoke<GetExperimentResponse>(request, options);
}
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
public virtual Task<GetExperimentResponse> GetExperimentAsync(GetExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResponseUnmarshaller.Instance;
return InvokeAsync<GetExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region GetExperimentResults
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
public virtual GetExperimentResultsResponse GetExperimentResults(GetExperimentResultsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResultsResponseUnmarshaller.Instance;
return Invoke<GetExperimentResultsResponse>(request, options);
}
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
public virtual Task<GetExperimentResultsResponse> GetExperimentResultsAsync(GetExperimentResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResultsResponseUnmarshaller.Instance;
return InvokeAsync<GetExperimentResultsResponse>(request, options, cancellationToken);
}
#endregion
#region GetFeature
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
public virtual GetFeatureResponse GetFeature(GetFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFeatureResponseUnmarshaller.Instance;
return Invoke<GetFeatureResponse>(request, options);
}
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
public virtual Task<GetFeatureResponse> GetFeatureAsync(GetFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFeatureResponseUnmarshaller.Instance;
return InvokeAsync<GetFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region GetLaunch
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
public virtual GetLaunchResponse GetLaunch(GetLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchResponseUnmarshaller.Instance;
return Invoke<GetLaunchResponse>(request, options);
}
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
public virtual Task<GetLaunchResponse> GetLaunchAsync(GetLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchResponseUnmarshaller.Instance;
return InvokeAsync<GetLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region GetProject
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
public virtual GetProjectResponse GetProject(GetProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return Invoke<GetProjectResponse>(request, options);
}
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
public virtual Task<GetProjectResponse> GetProjectAsync(GetProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return InvokeAsync<GetProjectResponse>(request, options, cancellationToken);
}
#endregion
#region GetSegment
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
public virtual GetSegmentResponse GetSegment(GetSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;
return Invoke<GetSegmentResponse>(request, options);
}
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
public virtual Task<GetSegmentResponse> GetSegmentAsync(GetSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;
return InvokeAsync<GetSegmentResponse>(request, options, cancellationToken);
}
#endregion
#region ListExperiments
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;
return Invoke<ListExperimentsResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
public virtual Task<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;
return InvokeAsync<ListExperimentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListFeatures
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
public virtual ListFeaturesResponse ListFeatures(ListFeaturesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFeaturesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFeaturesResponseUnmarshaller.Instance;
return Invoke<ListFeaturesResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
public virtual Task<ListFeaturesResponse> ListFeaturesAsync(ListFeaturesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFeaturesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFeaturesResponseUnmarshaller.Instance;
return InvokeAsync<ListFeaturesResponse>(request, options, cancellationToken);
}
#endregion
#region ListLaunches
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
public virtual ListLaunchesResponse ListLaunches(ListLaunchesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLaunchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLaunchesResponseUnmarshaller.Instance;
return Invoke<ListLaunchesResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
public virtual Task<ListLaunchesResponse> ListLaunchesAsync(ListLaunchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLaunchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLaunchesResponseUnmarshaller.Instance;
return InvokeAsync<ListLaunchesResponse>(request, options, cancellationToken);
}
#endregion
#region ListProjects
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
public virtual ListProjectsResponse ListProjects(ListProjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return Invoke<ListProjectsResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
public virtual Task<ListProjectsResponse> ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return InvokeAsync<ListProjectsResponse>(request, options, cancellationToken);
}
#endregion
#region ListSegmentReferences
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
public virtual ListSegmentReferencesResponse ListSegmentReferences(ListSegmentReferencesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentReferencesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentReferencesResponseUnmarshaller.Instance;
return Invoke<ListSegmentReferencesResponse>(request, options);
}
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
public virtual Task<ListSegmentReferencesResponse> ListSegmentReferencesAsync(ListSegmentReferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentReferencesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentReferencesResponseUnmarshaller.Instance;
return InvokeAsync<ListSegmentReferencesResponse>(request, options, cancellationToken);
}
#endregion
#region ListSegments
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
public virtual ListSegmentsResponse ListSegments(ListSegmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentsResponseUnmarshaller.Instance;
return Invoke<ListSegmentsResponse>(request, options);
}
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
public virtual Task<ListSegmentsResponse> ListSegmentsAsync(ListSegmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentsResponseUnmarshaller.Instance;
return InvokeAsync<ListSegmentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region PutProjectEvents
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
public virtual PutProjectEventsResponse PutProjectEvents(PutProjectEventsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutProjectEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutProjectEventsResponseUnmarshaller.Instance;
return Invoke<PutProjectEventsResponse>(request, options);
}
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
public virtual Task<PutProjectEventsResponse> PutProjectEventsAsync(PutProjectEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutProjectEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutProjectEventsResponseUnmarshaller.Instance;
return InvokeAsync<PutProjectEventsResponse>(request, options, cancellationToken);
}
#endregion
#region StartExperiment
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
public virtual StartExperimentResponse StartExperiment(StartExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExperimentResponseUnmarshaller.Instance;
return Invoke<StartExperimentResponse>(request, options);
}
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
public virtual Task<StartExperimentResponse> StartExperimentAsync(StartExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExperimentResponseUnmarshaller.Instance;
return InvokeAsync<StartExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region StartLaunch
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
public virtual StartLaunchResponse StartLaunch(StartLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartLaunchResponseUnmarshaller.Instance;
return Invoke<StartLaunchResponse>(request, options);
}
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
public virtual Task<StartLaunchResponse> StartLaunchAsync(StartLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartLaunchResponseUnmarshaller.Instance;
return InvokeAsync<StartLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region StopExperiment
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
public virtual StopExperimentResponse StopExperiment(StopExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopExperimentResponseUnmarshaller.Instance;
return Invoke<StopExperimentResponse>(request, options);
}
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
public virtual Task<StopExperimentResponse> StopExperimentAsync(StopExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopExperimentResponseUnmarshaller.Instance;
return InvokeAsync<StopExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region StopLaunch
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
public virtual StopLaunchResponse StopLaunch(StopLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopLaunchResponseUnmarshaller.Instance;
return Invoke<StopLaunchResponse>(request, options);
}
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
public virtual Task<StopLaunchResponse> StopLaunchAsync(StopLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopLaunchResponseUnmarshaller.Instance;
return InvokeAsync<StopLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region TestSegmentPattern
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
public virtual TestSegmentPatternResponse TestSegmentPattern(TestSegmentPatternRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestSegmentPatternRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestSegmentPatternResponseUnmarshaller.Instance;
return Invoke<TestSegmentPatternResponse>(request, options);
}
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
public virtual Task<TestSegmentPatternResponse> TestSegmentPatternAsync(TestSegmentPatternRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TestSegmentPatternRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestSegmentPatternResponseUnmarshaller.Instance;
return InvokeAsync<TestSegmentPatternResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateExperiment
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
public virtual UpdateExperimentResponse UpdateExperiment(UpdateExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExperimentResponseUnmarshaller.Instance;
return Invoke<UpdateExperimentResponse>(request, options);
}
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
public virtual Task<UpdateExperimentResponse> UpdateExperimentAsync(UpdateExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExperimentResponseUnmarshaller.Instance;
return InvokeAsync<UpdateExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateFeature
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
public virtual UpdateFeatureResponse UpdateFeature(UpdateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFeatureResponseUnmarshaller.Instance;
return Invoke<UpdateFeatureResponse>(request, options);
}
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
public virtual Task<UpdateFeatureResponse> UpdateFeatureAsync(UpdateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<UpdateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateLaunch
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
public virtual UpdateLaunchResponse UpdateLaunch(UpdateLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchResponseUnmarshaller.Instance;
return Invoke<UpdateLaunchResponse>(request, options);
}
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
public virtual Task<UpdateLaunchResponse> UpdateLaunchAsync(UpdateLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchResponseUnmarshaller.Instance;
return InvokeAsync<UpdateLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateProject
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
public virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return Invoke<UpdateProjectResponse>(request, options);
}
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
public virtual Task<UpdateProjectResponse> UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return InvokeAsync<UpdateProjectResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateProjectDataDelivery
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
public virtual UpdateProjectDataDeliveryResponse UpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectDataDeliveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectDataDeliveryResponseUnmarshaller.Instance;
return Invoke<UpdateProjectDataDeliveryResponse>(request, options);
}
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
public virtual Task<UpdateProjectDataDeliveryResponse> UpdateProjectDataDeliveryAsync(UpdateProjectDataDeliveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectDataDeliveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectDataDeliveryResponseUnmarshaller.Instance;
return InvokeAsync<UpdateProjectDataDeliveryResponse>(request, options, cancellationToken);
}
#endregion
}
} | 3,332 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CloudWatchEvidently.Model;
namespace Amazon.CloudWatchEvidently
{
/// <summary>
/// Interface for accessing CloudWatchEvidently
///
/// You can use Amazon CloudWatch Evidently to safely validate new features by serving
/// them to a specified percentage of your users while you roll out the feature. You can
/// monitor the performance of the new feature to help you decide when to ramp up traffic
/// to your users. This helps you reduce risk and identify unintended consequences before
/// you fully launch the feature.
///
///
/// <para>
/// You can also conduct A/B experiments to make feature design decisions based on evidence
/// and data. An experiment can test as many as five variations at once. Evidently collects
/// experiment data and analyzes it using statistical methods. It also provides clear
/// recommendations about which variations perform better. You can test both user-facing
/// features and backend features.
/// </para>
/// </summary>
public partial interface IAmazonCloudWatchEvidently : IAmazonService, IDisposable
{
/// <summary>
/// Paginators for the service
/// </summary>
ICloudWatchEvidentlyPaginatorFactory Paginators { get; }
#region BatchEvaluateFeature
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
BatchEvaluateFeatureResponse BatchEvaluateFeature(BatchEvaluateFeatureRequest request);
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
Task<BatchEvaluateFeatureResponse> BatchEvaluateFeatureAsync(BatchEvaluateFeatureRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateExperiment
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
CreateExperimentResponse CreateExperiment(CreateExperimentRequest request);
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
Task<CreateExperimentResponse> CreateExperimentAsync(CreateExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateFeature
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
CreateFeatureResponse CreateFeature(CreateFeatureRequest request);
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
Task<CreateFeatureResponse> CreateFeatureAsync(CreateFeatureRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateLaunch
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
CreateLaunchResponse CreateLaunch(CreateLaunchRequest request);
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
Task<CreateLaunchResponse> CreateLaunchAsync(CreateLaunchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateProject
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
CreateProjectResponse CreateProject(CreateProjectRequest request);
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
Task<CreateProjectResponse> CreateProjectAsync(CreateProjectRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSegment
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
CreateSegmentResponse CreateSegment(CreateSegmentRequest request);
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
Task<CreateSegmentResponse> CreateSegmentAsync(CreateSegmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteExperiment
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
DeleteExperimentResponse DeleteExperiment(DeleteExperimentRequest request);
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
Task<DeleteExperimentResponse> DeleteExperimentAsync(DeleteExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteFeature
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
DeleteFeatureResponse DeleteFeature(DeleteFeatureRequest request);
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
Task<DeleteFeatureResponse> DeleteFeatureAsync(DeleteFeatureRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteLaunch
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
DeleteLaunchResponse DeleteLaunch(DeleteLaunchRequest request);
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
Task<DeleteLaunchResponse> DeleteLaunchAsync(DeleteLaunchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteProject
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
DeleteProjectResponse DeleteProject(DeleteProjectRequest request);
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
Task<DeleteProjectResponse> DeleteProjectAsync(DeleteProjectRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteSegment
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
DeleteSegmentResponse DeleteSegment(DeleteSegmentRequest request);
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
Task<DeleteSegmentResponse> DeleteSegmentAsync(DeleteSegmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region EvaluateFeature
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
EvaluateFeatureResponse EvaluateFeature(EvaluateFeatureRequest request);
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
Task<EvaluateFeatureResponse> EvaluateFeatureAsync(EvaluateFeatureRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExperiment
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
GetExperimentResponse GetExperiment(GetExperimentRequest request);
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
Task<GetExperimentResponse> GetExperimentAsync(GetExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExperimentResults
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
GetExperimentResultsResponse GetExperimentResults(GetExperimentResultsRequest request);
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
Task<GetExperimentResultsResponse> GetExperimentResultsAsync(GetExperimentResultsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetFeature
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
GetFeatureResponse GetFeature(GetFeatureRequest request);
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
Task<GetFeatureResponse> GetFeatureAsync(GetFeatureRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLaunch
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
GetLaunchResponse GetLaunch(GetLaunchRequest request);
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
Task<GetLaunchResponse> GetLaunchAsync(GetLaunchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetProject
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
GetProjectResponse GetProject(GetProjectRequest request);
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
Task<GetProjectResponse> GetProjectAsync(GetProjectRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSegment
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
GetSegmentResponse GetSegment(GetSegmentRequest request);
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
Task<GetSegmentResponse> GetSegmentAsync(GetSegmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListExperiments
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
ListExperimentsResponse ListExperiments(ListExperimentsRequest request);
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
Task<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListFeatures
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
ListFeaturesResponse ListFeatures(ListFeaturesRequest request);
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
Task<ListFeaturesResponse> ListFeaturesAsync(ListFeaturesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListLaunches
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
ListLaunchesResponse ListLaunches(ListLaunchesRequest request);
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
Task<ListLaunchesResponse> ListLaunchesAsync(ListLaunchesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListProjects
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
ListProjectsResponse ListProjects(ListProjectsRequest request);
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
Task<ListProjectsResponse> ListProjectsAsync(ListProjectsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSegmentReferences
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
ListSegmentReferencesResponse ListSegmentReferences(ListSegmentReferencesRequest request);
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
Task<ListSegmentReferencesResponse> ListSegmentReferencesAsync(ListSegmentReferencesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSegments
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
ListSegmentsResponse ListSegments(ListSegmentsRequest request);
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
Task<ListSegmentsResponse> ListSegmentsAsync(ListSegmentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutProjectEvents
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
PutProjectEventsResponse PutProjectEvents(PutProjectEventsRequest request);
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
Task<PutProjectEventsResponse> PutProjectEventsAsync(PutProjectEventsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartExperiment
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
StartExperimentResponse StartExperiment(StartExperimentRequest request);
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
Task<StartExperimentResponse> StartExperimentAsync(StartExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartLaunch
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
StartLaunchResponse StartLaunch(StartLaunchRequest request);
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
Task<StartLaunchResponse> StartLaunchAsync(StartLaunchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopExperiment
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
StopExperimentResponse StopExperiment(StopExperimentRequest request);
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
Task<StopExperimentResponse> StopExperimentAsync(StopExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopLaunch
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
StopLaunchResponse StopLaunch(StopLaunchRequest request);
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
Task<StopLaunchResponse> StopLaunchAsync(StopLaunchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestSegmentPattern
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
TestSegmentPatternResponse TestSegmentPattern(TestSegmentPatternRequest request);
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
Task<TestSegmentPatternResponse> TestSegmentPatternAsync(TestSegmentPatternRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateExperiment
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
UpdateExperimentResponse UpdateExperiment(UpdateExperimentRequest request);
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
Task<UpdateExperimentResponse> UpdateExperimentAsync(UpdateExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateFeature
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
UpdateFeatureResponse UpdateFeature(UpdateFeatureRequest request);
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
Task<UpdateFeatureResponse> UpdateFeatureAsync(UpdateFeatureRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateLaunch
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
UpdateLaunchResponse UpdateLaunch(UpdateLaunchRequest request);
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
Task<UpdateLaunchResponse> UpdateLaunchAsync(UpdateLaunchRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProject
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
UpdateProjectResponse UpdateProject(UpdateProjectRequest request);
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
Task<UpdateProjectResponse> UpdateProjectAsync(UpdateProjectRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProjectDataDelivery
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
UpdateProjectDataDeliveryResponse UpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request);
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
Task<UpdateProjectDataDeliveryResponse> UpdateProjectDataDeliveryAsync(UpdateProjectDataDeliveryRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 2,617 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.CloudWatchEvidently.Model;
using Amazon.CloudWatchEvidently.Model.Internal.MarshallTransformations;
using Amazon.CloudWatchEvidently.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CloudWatchEvidently
{
/// <summary>
/// Implementation for accessing CloudWatchEvidently
///
/// You can use Amazon CloudWatch Evidently to safely validate new features by serving
/// them to a specified percentage of your users while you roll out the feature. You can
/// monitor the performance of the new feature to help you decide when to ramp up traffic
/// to your users. This helps you reduce risk and identify unintended consequences before
/// you fully launch the feature.
///
///
/// <para>
/// You can also conduct A/B experiments to make feature design decisions based on evidence
/// and data. An experiment can test as many as five variations at once. Evidently collects
/// experiment data and analyzes it using statistical methods. It also provides clear
/// recommendations about which variations perform better. You can test both user-facing
/// features and backend features.
/// </para>
/// </summary>
public partial class AmazonCloudWatchEvidentlyClient : AmazonServiceClient, IAmazonCloudWatchEvidently
{
private static IServiceMetadata serviceMetadata = new AmazonCloudWatchEvidentlyMetadata();
#region Constructors
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonCloudWatchEvidentlyClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchEvidentlyConfig()) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(AmazonCloudWatchEvidentlyConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials)
: this(credentials, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Credentials and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(AWSCredentials credentials, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchEvidentlyConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchEvidentlyConfig())
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchEvidentlyConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCloudWatchEvidentlyClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchEvidentlyClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonCloudWatchEvidentlyClient Configuration Object</param>
public AmazonCloudWatchEvidentlyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudWatchEvidentlyConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private ICloudWatchEvidentlyPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public ICloudWatchEvidentlyPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CloudWatchEvidentlyPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customizes the runtime pipeline.
/// </summary>
/// <param name="pipeline">Runtime pipeline for the current client.</param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonCloudWatchEvidentlyEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region BatchEvaluateFeature
internal virtual BatchEvaluateFeatureResponse BatchEvaluateFeature(BatchEvaluateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchEvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchEvaluateFeatureResponseUnmarshaller.Instance;
return Invoke<BatchEvaluateFeatureResponse>(request, options);
}
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
public virtual Task<BatchEvaluateFeatureResponse> BatchEvaluateFeatureAsync(BatchEvaluateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchEvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchEvaluateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<BatchEvaluateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region CreateExperiment
internal virtual CreateExperimentResponse CreateExperiment(CreateExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExperimentResponseUnmarshaller.Instance;
return Invoke<CreateExperimentResponse>(request, options);
}
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
public virtual Task<CreateExperimentResponse> CreateExperimentAsync(CreateExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExperimentResponseUnmarshaller.Instance;
return InvokeAsync<CreateExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateFeature
internal virtual CreateFeatureResponse CreateFeature(CreateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFeatureResponseUnmarshaller.Instance;
return Invoke<CreateFeatureResponse>(request, options);
}
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
public virtual Task<CreateFeatureResponse> CreateFeatureAsync(CreateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<CreateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region CreateLaunch
internal virtual CreateLaunchResponse CreateLaunch(CreateLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchResponseUnmarshaller.Instance;
return Invoke<CreateLaunchResponse>(request, options);
}
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
public virtual Task<CreateLaunchResponse> CreateLaunchAsync(CreateLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchResponseUnmarshaller.Instance;
return InvokeAsync<CreateLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region CreateProject
internal virtual CreateProjectResponse CreateProject(CreateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return Invoke<CreateProjectResponse>(request, options);
}
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
public virtual Task<CreateProjectResponse> CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return InvokeAsync<CreateProjectResponse>(request, options, cancellationToken);
}
#endregion
#region CreateSegment
internal virtual CreateSegmentResponse CreateSegment(CreateSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return Invoke<CreateSegmentResponse>(request, options);
}
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
public virtual Task<CreateSegmentResponse> CreateSegmentAsync(CreateSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateSegmentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteExperiment
internal virtual DeleteExperimentResponse DeleteExperiment(DeleteExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExperimentResponseUnmarshaller.Instance;
return Invoke<DeleteExperimentResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
public virtual Task<DeleteExperimentResponse> DeleteExperimentAsync(DeleteExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExperimentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteFeature
internal virtual DeleteFeatureResponse DeleteFeature(DeleteFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFeatureResponseUnmarshaller.Instance;
return Invoke<DeleteFeatureResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
public virtual Task<DeleteFeatureResponse> DeleteFeatureAsync(DeleteFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFeatureResponseUnmarshaller.Instance;
return InvokeAsync<DeleteFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteLaunch
internal virtual DeleteLaunchResponse DeleteLaunch(DeleteLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchResponseUnmarshaller.Instance;
return Invoke<DeleteLaunchResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
public virtual Task<DeleteLaunchResponse> DeleteLaunchAsync(DeleteLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchResponseUnmarshaller.Instance;
return InvokeAsync<DeleteLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteProject
internal virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return Invoke<DeleteProjectResponse>(request, options);
}
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
public virtual Task<DeleteProjectResponse> DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return InvokeAsync<DeleteProjectResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteSegment
internal virtual DeleteSegmentResponse DeleteSegment(DeleteSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;
return Invoke<DeleteSegmentResponse>(request, options);
}
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
public virtual Task<DeleteSegmentResponse> DeleteSegmentAsync(DeleteSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteSegmentResponse>(request, options, cancellationToken);
}
#endregion
#region EvaluateFeature
internal virtual EvaluateFeatureResponse EvaluateFeature(EvaluateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateFeatureResponseUnmarshaller.Instance;
return Invoke<EvaluateFeatureResponse>(request, options);
}
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
public virtual Task<EvaluateFeatureResponse> EvaluateFeatureAsync(EvaluateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<EvaluateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region GetExperiment
internal virtual GetExperimentResponse GetExperiment(GetExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResponseUnmarshaller.Instance;
return Invoke<GetExperimentResponse>(request, options);
}
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
public virtual Task<GetExperimentResponse> GetExperimentAsync(GetExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResponseUnmarshaller.Instance;
return InvokeAsync<GetExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region GetExperimentResults
internal virtual GetExperimentResultsResponse GetExperimentResults(GetExperimentResultsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResultsResponseUnmarshaller.Instance;
return Invoke<GetExperimentResultsResponse>(request, options);
}
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
public virtual Task<GetExperimentResultsResponse> GetExperimentResultsAsync(GetExperimentResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExperimentResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExperimentResultsResponseUnmarshaller.Instance;
return InvokeAsync<GetExperimentResultsResponse>(request, options, cancellationToken);
}
#endregion
#region GetFeature
internal virtual GetFeatureResponse GetFeature(GetFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFeatureResponseUnmarshaller.Instance;
return Invoke<GetFeatureResponse>(request, options);
}
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
public virtual Task<GetFeatureResponse> GetFeatureAsync(GetFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFeatureResponseUnmarshaller.Instance;
return InvokeAsync<GetFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region GetLaunch
internal virtual GetLaunchResponse GetLaunch(GetLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchResponseUnmarshaller.Instance;
return Invoke<GetLaunchResponse>(request, options);
}
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
public virtual Task<GetLaunchResponse> GetLaunchAsync(GetLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchResponseUnmarshaller.Instance;
return InvokeAsync<GetLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region GetProject
internal virtual GetProjectResponse GetProject(GetProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return Invoke<GetProjectResponse>(request, options);
}
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
public virtual Task<GetProjectResponse> GetProjectAsync(GetProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return InvokeAsync<GetProjectResponse>(request, options, cancellationToken);
}
#endregion
#region GetSegment
internal virtual GetSegmentResponse GetSegment(GetSegmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;
return Invoke<GetSegmentResponse>(request, options);
}
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
public virtual Task<GetSegmentResponse> GetSegmentAsync(GetSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;
return InvokeAsync<GetSegmentResponse>(request, options, cancellationToken);
}
#endregion
#region ListExperiments
internal virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;
return Invoke<ListExperimentsResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
public virtual Task<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;
return InvokeAsync<ListExperimentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListFeatures
internal virtual ListFeaturesResponse ListFeatures(ListFeaturesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFeaturesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFeaturesResponseUnmarshaller.Instance;
return Invoke<ListFeaturesResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
public virtual Task<ListFeaturesResponse> ListFeaturesAsync(ListFeaturesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFeaturesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFeaturesResponseUnmarshaller.Instance;
return InvokeAsync<ListFeaturesResponse>(request, options, cancellationToken);
}
#endregion
#region ListLaunches
internal virtual ListLaunchesResponse ListLaunches(ListLaunchesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLaunchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLaunchesResponseUnmarshaller.Instance;
return Invoke<ListLaunchesResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
public virtual Task<ListLaunchesResponse> ListLaunchesAsync(ListLaunchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLaunchesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLaunchesResponseUnmarshaller.Instance;
return InvokeAsync<ListLaunchesResponse>(request, options, cancellationToken);
}
#endregion
#region ListProjects
internal virtual ListProjectsResponse ListProjects(ListProjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return Invoke<ListProjectsResponse>(request, options);
}
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
public virtual Task<ListProjectsResponse> ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return InvokeAsync<ListProjectsResponse>(request, options, cancellationToken);
}
#endregion
#region ListSegmentReferences
internal virtual ListSegmentReferencesResponse ListSegmentReferences(ListSegmentReferencesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentReferencesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentReferencesResponseUnmarshaller.Instance;
return Invoke<ListSegmentReferencesResponse>(request, options);
}
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
public virtual Task<ListSegmentReferencesResponse> ListSegmentReferencesAsync(ListSegmentReferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentReferencesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentReferencesResponseUnmarshaller.Instance;
return InvokeAsync<ListSegmentReferencesResponse>(request, options, cancellationToken);
}
#endregion
#region ListSegments
internal virtual ListSegmentsResponse ListSegments(ListSegmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentsResponseUnmarshaller.Instance;
return Invoke<ListSegmentsResponse>(request, options);
}
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
public virtual Task<ListSegmentsResponse> ListSegmentsAsync(ListSegmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSegmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSegmentsResponseUnmarshaller.Instance;
return InvokeAsync<ListSegmentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region PutProjectEvents
internal virtual PutProjectEventsResponse PutProjectEvents(PutProjectEventsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutProjectEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutProjectEventsResponseUnmarshaller.Instance;
return Invoke<PutProjectEventsResponse>(request, options);
}
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
public virtual Task<PutProjectEventsResponse> PutProjectEventsAsync(PutProjectEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutProjectEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutProjectEventsResponseUnmarshaller.Instance;
return InvokeAsync<PutProjectEventsResponse>(request, options, cancellationToken);
}
#endregion
#region StartExperiment
internal virtual StartExperimentResponse StartExperiment(StartExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExperimentResponseUnmarshaller.Instance;
return Invoke<StartExperimentResponse>(request, options);
}
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
public virtual Task<StartExperimentResponse> StartExperimentAsync(StartExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExperimentResponseUnmarshaller.Instance;
return InvokeAsync<StartExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region StartLaunch
internal virtual StartLaunchResponse StartLaunch(StartLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartLaunchResponseUnmarshaller.Instance;
return Invoke<StartLaunchResponse>(request, options);
}
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
public virtual Task<StartLaunchResponse> StartLaunchAsync(StartLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartLaunchResponseUnmarshaller.Instance;
return InvokeAsync<StartLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region StopExperiment
internal virtual StopExperimentResponse StopExperiment(StopExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopExperimentResponseUnmarshaller.Instance;
return Invoke<StopExperimentResponse>(request, options);
}
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
public virtual Task<StopExperimentResponse> StopExperimentAsync(StopExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopExperimentResponseUnmarshaller.Instance;
return InvokeAsync<StopExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region StopLaunch
internal virtual StopLaunchResponse StopLaunch(StopLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopLaunchResponseUnmarshaller.Instance;
return Invoke<StopLaunchResponse>(request, options);
}
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
public virtual Task<StopLaunchResponse> StopLaunchAsync(StopLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopLaunchResponseUnmarshaller.Instance;
return InvokeAsync<StopLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region TestSegmentPattern
internal virtual TestSegmentPatternResponse TestSegmentPattern(TestSegmentPatternRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestSegmentPatternRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestSegmentPatternResponseUnmarshaller.Instance;
return Invoke<TestSegmentPatternResponse>(request, options);
}
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
public virtual Task<TestSegmentPatternResponse> TestSegmentPatternAsync(TestSegmentPatternRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TestSegmentPatternRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestSegmentPatternResponseUnmarshaller.Instance;
return InvokeAsync<TestSegmentPatternResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateExperiment
internal virtual UpdateExperimentResponse UpdateExperiment(UpdateExperimentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExperimentResponseUnmarshaller.Instance;
return Invoke<UpdateExperimentResponse>(request, options);
}
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
public virtual Task<UpdateExperimentResponse> UpdateExperimentAsync(UpdateExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExperimentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExperimentResponseUnmarshaller.Instance;
return InvokeAsync<UpdateExperimentResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateFeature
internal virtual UpdateFeatureResponse UpdateFeature(UpdateFeatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFeatureResponseUnmarshaller.Instance;
return Invoke<UpdateFeatureResponse>(request, options);
}
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
public virtual Task<UpdateFeatureResponse> UpdateFeatureAsync(UpdateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFeatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFeatureResponseUnmarshaller.Instance;
return InvokeAsync<UpdateFeatureResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateLaunch
internal virtual UpdateLaunchResponse UpdateLaunch(UpdateLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchResponseUnmarshaller.Instance;
return Invoke<UpdateLaunchResponse>(request, options);
}
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
public virtual Task<UpdateLaunchResponse> UpdateLaunchAsync(UpdateLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchResponseUnmarshaller.Instance;
return InvokeAsync<UpdateLaunchResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateProject
internal virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return Invoke<UpdateProjectResponse>(request, options);
}
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
public virtual Task<UpdateProjectResponse> UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return InvokeAsync<UpdateProjectResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateProjectDataDelivery
internal virtual UpdateProjectDataDeliveryResponse UpdateProjectDataDelivery(UpdateProjectDataDeliveryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectDataDeliveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectDataDeliveryResponseUnmarshaller.Instance;
return Invoke<UpdateProjectDataDeliveryResponse>(request, options);
}
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
public virtual Task<UpdateProjectDataDeliveryResponse> UpdateProjectDataDeliveryAsync(UpdateProjectDataDeliveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectDataDeliveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectDataDeliveryResponseUnmarshaller.Instance;
return InvokeAsync<UpdateProjectDataDeliveryResponse>(request, options, cancellationToken);
}
#endregion
}
} | 2,323 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CloudWatchEvidently.Model;
namespace Amazon.CloudWatchEvidently
{
/// <summary>
/// Interface for accessing CloudWatchEvidently
///
/// You can use Amazon CloudWatch Evidently to safely validate new features by serving
/// them to a specified percentage of your users while you roll out the feature. You can
/// monitor the performance of the new feature to help you decide when to ramp up traffic
/// to your users. This helps you reduce risk and identify unintended consequences before
/// you fully launch the feature.
///
///
/// <para>
/// You can also conduct A/B experiments to make feature design decisions based on evidence
/// and data. An experiment can test as many as five variations at once. Evidently collects
/// experiment data and analyzes it using statistical methods. It also provides clear
/// recommendations about which variations perform better. You can test both user-facing
/// features and backend features.
/// </para>
/// </summary>
public partial interface IAmazonCloudWatchEvidently : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
ICloudWatchEvidentlyPaginatorFactory Paginators { get; }
#endif
#region BatchEvaluateFeature
/// <summary>
/// This operation assigns feature variation to user sessions. For each user session,
/// you pass in an <code>entityID</code> that represents the user. Evidently then checks
/// the evaluation rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// Next, if there is a launch of the feature, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment. If
/// the user is enrolled in the experiment, the variation they are served depends on the
/// allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchEvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchEvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature">REST API Reference for BatchEvaluateFeature Operation</seealso>
Task<BatchEvaluateFeatureResponse> BatchEvaluateFeatureAsync(BatchEvaluateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateExperiment
/// <summary>
/// Creates an Evidently <i>experiment</i>. Before you create an experiment, you must
/// create the feature to use for the experiment.
///
///
/// <para>
/// An experiment helps you make feature design decisions based on evidence and data.
/// An experiment can test as many as five variations at once. Evidently collects experiment
/// data and analyzes it by statistical methods, and provides clear recommendations about
/// which variations perform better.
/// </para>
///
/// <para>
/// You can optionally specify a <code>segment</code> to have the experiment consider
/// only certain audience types in the experiment, such as using only user sessions from
/// a certain location or who use a certain internet browser.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing experiment. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html">UpdateExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment">REST API Reference for CreateExperiment Operation</seealso>
Task<CreateExperimentResponse> CreateExperimentAsync(CreateExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateFeature
/// <summary>
/// Creates an Evidently <i>feature</i> that you want to launch or test. You can define
/// up to five variations of a feature, and use these variations in your launches and
/// experiments. A feature must be created in a project. For information about creating
/// a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
///
///
/// <para>
/// Don't use this operation to update an existing feature. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateFeature.html">UpdateFeature</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature">REST API Reference for CreateFeature Operation</seealso>
Task<CreateFeatureResponse> CreateFeatureAsync(CreateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateLaunch
/// <summary>
/// Creates a <i>launch</i> of a given feature. Before you create a launch, you must create
/// the feature to use for the launch.
///
///
/// <para>
/// You can use a launch to safely validate new features by serving them to a specified
/// percentage of your users while you roll out the feature. You can monitor the performance
/// of the new feature to help you decide when to ramp up traffic to more users. This
/// helps you reduce risk and identify unintended consequences before you fully launch
/// the feature.
/// </para>
///
/// <para>
/// Don't use this operation to update an existing launch. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateLaunch.html">UpdateLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch">REST API Reference for CreateLaunch Operation</seealso>
Task<CreateLaunchResponse> CreateLaunchAsync(CreateLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateProject
/// <summary>
/// Creates a project, which is the logical object in Evidently that can contain features,
/// launches, and experiments. Use projects to group similar features together.
///
///
/// <para>
/// To update an existing project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html">UpdateProject</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject">REST API Reference for CreateProject Operation</seealso>
Task<CreateProjectResponse> CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSegment
/// <summary>
/// Use this operation to define a <i>segment</i> of your audience. A segment is a portion
/// of your audience that share one or more characteristics. Examples could be Chrome
/// browser users, users in Europe, or Firefox browser users in Europe who also fit other
/// criteria that your application collects, such as age.
///
///
/// <para>
/// Using a segment in an experiment limits that experiment to evaluate only the users
/// who match the segment criteria. Using one or more segments in a launch allows you
/// to define different traffic splits for the different audience segments.
/// </para>
///
/// <para>
/// For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html">
/// Segment rule pattern syntax</a>.
/// </para>
///
/// <para>
/// The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>,
/// which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a>
/// operation, when Evidently assigns a feature variation to a user.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegment">REST API Reference for CreateSegment Operation</seealso>
Task<CreateSegmentResponse> CreateSegmentAsync(CreateSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteExperiment
/// <summary>
/// Deletes an Evidently experiment. The feature used for the experiment is not deleted.
///
///
/// <para>
/// To stop an experiment without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopExperiment.html">StopExperiment</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.InternalServerException">
/// Unexpected error while processing the request. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceUnavailableException">
/// The service was unavailable. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment">REST API Reference for DeleteExperiment Operation</seealso>
Task<DeleteExperimentResponse> DeleteExperimentAsync(DeleteExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteFeature
/// <summary>
/// Deletes an Evidently feature.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature">REST API Reference for DeleteFeature Operation</seealso>
Task<DeleteFeatureResponse> DeleteFeatureAsync(DeleteFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteLaunch
/// <summary>
/// Deletes an Evidently launch. The feature used for the launch is not deleted.
///
///
/// <para>
/// To stop a launch without deleting it, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_StopLaunch.html">StopLaunch</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch">REST API Reference for DeleteLaunch Operation</seealso>
Task<DeleteLaunchResponse> DeleteLaunchAsync(DeleteLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteProject
/// <summary>
/// Deletes an Evidently project. Before you can delete a project, you must delete all
/// the features that the project contains. To delete a feature, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_DeleteFeature.html">DeleteFeature</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject">REST API Reference for DeleteProject Operation</seealso>
Task<DeleteProjectResponse> DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteSegment
/// <summary>
/// Deletes a segment. You can't delete a segment that is being used in a launch or experiment,
/// even if that launch or experiment is not currently running.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteSegment">REST API Reference for DeleteSegment Operation</seealso>
Task<DeleteSegmentResponse> DeleteSegmentAsync(DeleteSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region EvaluateFeature
/// <summary>
/// This operation assigns a feature variation to one given user session. You pass in
/// an <code>entityID</code> that represents the user. Evidently then checks the evaluation
/// rules and assigns the variation.
///
///
/// <para>
/// The first rules that are evaluated are the override rules. If the user's <code>entityID</code>
/// matches an override rule, the user is served the variation specified by that rule.
/// </para>
///
/// <para>
/// If there is a current launch with this feature that uses segment overrides, and if
/// the user session's <code>evaluationContext</code> matches a segment rule defined in
/// a segment override, the configuration in the segment overrides is used. For more information
/// about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>
/// and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use
/// segments to focus your audience</a>.
/// </para>
///
/// <para>
/// If there is a launch with no segment overrides, the user might be assigned to a variation
/// in the launch. The chance of this depends on the percentage of users that are allocated
/// to that launch. If the user is enrolled in the launch, the variation they are served
/// depends on the allocation of the various feature variations used for the launch.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch, and there is an ongoing experiment for this
/// feature, the user might be assigned to a variation in the experiment. The chance of
/// this depends on the percentage of users that are allocated to that experiment.
/// </para>
///
/// <para>
/// If the experiment uses a segment, then only user sessions with <code>evaluationContext</code>
/// values that match the segment rule are used in the experiment.
/// </para>
///
/// <para>
/// If the user is enrolled in the experiment, the variation they are served depends on
/// the allocation of the various feature variations used for the experiment.
/// </para>
///
/// <para>
/// If the user is not assigned to a launch or experiment, they are served the default
/// variation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the EvaluateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the EvaluateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature">REST API Reference for EvaluateFeature Operation</seealso>
Task<EvaluateFeatureResponse> EvaluateFeatureAsync(EvaluateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExperiment
/// <summary>
/// Returns the details about one experiment. You must already know the experiment name.
/// To retrieve a list of experiments in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListExperiments.html">ListExperiments</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment">REST API Reference for GetExperiment Operation</seealso>
Task<GetExperimentResponse> GetExperimentAsync(GetExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExperimentResults
/// <summary>
/// Retrieves the results of a running or completed experiment. No results are available
/// until there have been 100 events for each variation and at least 10 minutes have passed
/// since the start of the experiment. To increase the statistical power, Evidently performs
/// an additional offline p-value analysis at the end of the experiment. Offline p-value
/// analysis can detect statistical significance in some cases where the anytime p-values
/// used during the experiment do not find statistical significance.
///
///
/// <para>
/// Experiment results are available up to 63 days after the start of the experiment.
/// They are not available after that because of CloudWatch data retention policies.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExperimentResults service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExperimentResults service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults">REST API Reference for GetExperimentResults Operation</seealso>
Task<GetExperimentResultsResponse> GetExperimentResultsAsync(GetExperimentResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetFeature
/// <summary>
/// Returns the details about one feature. You must already know the feature name. To
/// retrieve a list of features in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListFeatures.html">ListFeatures</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature">REST API Reference for GetFeature Operation</seealso>
Task<GetFeatureResponse> GetFeatureAsync(GetFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLaunch
/// <summary>
/// Returns the details about one launch. You must already know the launch name. To retrieve
/// a list of launches in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListLaunches.html">ListLaunches</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch">REST API Reference for GetLaunch Operation</seealso>
Task<GetLaunchResponse> GetLaunchAsync(GetLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetProject
/// <summary>
/// Returns the details about one launch. You must already know the project name. To retrieve
/// a list of projects in your account, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_ListProjects.html">ListProjects</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject">REST API Reference for GetProject Operation</seealso>
Task<GetProjectResponse> GetProjectAsync(GetProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSegment
/// <summary>
/// Returns information about the specified segment. Specify the segment you want to view
/// by specifying its ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSegment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSegment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetSegment">REST API Reference for GetSegment Operation</seealso>
Task<GetSegmentResponse> GetSegmentAsync(GetSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListExperiments
/// <summary>
/// Returns configuration details about all the experiments in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListExperiments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListExperiments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments">REST API Reference for ListExperiments Operation</seealso>
Task<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListFeatures
/// <summary>
/// Returns configuration details about all the features in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListFeatures service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListFeatures service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures">REST API Reference for ListFeatures Operation</seealso>
Task<ListFeaturesResponse> ListFeaturesAsync(ListFeaturesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListLaunches
/// <summary>
/// Returns configuration details about all the launches in the specified project.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListLaunches service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListLaunches service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches">REST API Reference for ListLaunches Operation</seealso>
Task<ListLaunchesResponse> ListLaunchesAsync(ListLaunchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListProjects
/// <summary>
/// Returns configuration details about all the projects in the current Region in your
/// account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProjects service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProjects service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects">REST API Reference for ListProjects Operation</seealso>
Task<ListProjectsResponse> ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSegmentReferences
/// <summary>
/// Use this operation to find which experiments or launches are using a specified segment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegmentReferences service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegmentReferences service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegmentReferences">REST API Reference for ListSegmentReferences Operation</seealso>
Task<ListSegmentReferencesResponse> ListSegmentReferencesAsync(ListSegmentReferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSegments
/// <summary>
/// Returns a list of audience segments that you have created in your account in this
/// Region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSegments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSegments service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListSegments">REST API Reference for ListSegments Operation</seealso>
Task<ListSegmentsResponse> ListSegmentsAsync(ListSegmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Displays the tags associated with an Evidently resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutProjectEvents
/// <summary>
/// Sends performance events to Evidently. These events can be used to evaluate a launch
/// or an experiment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutProjectEvents service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutProjectEvents service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents">REST API Reference for PutProjectEvents Operation</seealso>
Task<PutProjectEventsResponse> PutProjectEventsAsync(PutProjectEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartExperiment
/// <summary>
/// Starts an existing experiment. To create an experiment, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html">CreateExperiment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment">REST API Reference for StartExperiment Operation</seealso>
Task<StartExperimentResponse> StartExperimentAsync(StartExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartLaunch
/// <summary>
/// Starts an existing launch. To create a launch, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateLaunch.html">CreateLaunch</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch">REST API Reference for StartLaunch Operation</seealso>
Task<StartLaunchResponse> StartLaunchAsync(StartLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopExperiment
/// <summary>
/// Stops an experiment that is currently running. If you stop an experiment, you can't
/// resume it or restart it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment">REST API Reference for StopExperiment Operation</seealso>
Task<StopExperimentResponse> StopExperimentAsync(StopExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopLaunch
/// <summary>
/// Stops a launch that is currently running. After you stop a launch, you will not be
/// able to resume it or restart it. Also, it will not be evaluated as a rule for traffic
/// allocation, and the traffic that was allocated to the launch will instead be available
/// to the feature's experiment, if there is one. Otherwise, all traffic will be served
/// the default variation after the launch is stopped.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch">REST API Reference for StopLaunch Operation</seealso>
Task<StopLaunchResponse> StopLaunchAsync(StopLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.
/// Projects, features, launches, and experiments can be tagged.
///
///
/// <para>
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
/// </para>
///
/// <para>
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
/// </para>
///
/// <para>
/// You can use the <code>TagResource</code> action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
/// </para>
///
/// <para>
/// You can associate as many as 50 tags with a resource.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
/// Amazon Web Services resources</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestSegmentPattern
/// <summary>
/// Use this operation to test a rules pattern that you plan to use to create an audience
/// segment. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestSegmentPattern service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestSegmentPattern service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ThrottlingException">
/// The request was denied because of request throttling. Retry the request.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TestSegmentPattern">REST API Reference for TestSegmentPattern Operation</seealso>
Task<TestSegmentPatternResponse> TestSegmentPatternAsync(TestSegmentPatternRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes one or more tags from the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateExperiment
/// <summary>
/// Updates an Evidently experiment.
///
///
/// <para>
/// Don't use this operation to update an experiment's tag. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateExperiment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateExperiment service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment">REST API Reference for UpdateExperiment Operation</seealso>
Task<UpdateExperimentResponse> UpdateExperimentAsync(UpdateExperimentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateFeature
/// <summary>
/// Updates an existing feature.
///
///
/// <para>
/// You can't use this operation to update the tags of an existing feature. Instead, use
/// <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateFeature service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateFeature service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature">REST API Reference for UpdateFeature Operation</seealso>
Task<UpdateFeatureResponse> UpdateFeatureAsync(UpdateFeatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateLaunch
/// <summary>
/// Updates a launch of a given feature.
///
///
/// <para>
/// Don't use this operation to update the tags of an existing launch. Instead, use <a
/// href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateLaunch service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateLaunch service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch">REST API Reference for UpdateLaunch Operation</seealso>
Task<UpdateLaunchResponse> UpdateLaunchAsync(UpdateLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProject
/// <summary>
/// Updates the description of an existing project.
///
///
/// <para>
/// To create a new project, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
/// </para>
///
/// <para>
/// Don't use this operation to update the data storage options of a project. Instead,
/// use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html">UpdateProjectDataDelivery</a>.
///
/// </para>
///
/// <para>
/// Don't use this operation to update the tags of a project. Instead, use <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html">TagResource</a>.
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProject service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProject service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject">REST API Reference for UpdateProject Operation</seealso>
Task<UpdateProjectResponse> UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProjectDataDelivery
/// <summary>
/// Updates the data storage options for this project. If you store evaluation events,
/// you an keep them and analyze them on your own. If you choose not to store evaluation
/// events, Evidently deletes them after using them to produce metrics and other experiment
/// results that you can view.
///
///
/// <para>
/// You can't specify both <code>cloudWatchLogs</code> and <code>s3Destination</code>
/// in the same operation.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProjectDataDelivery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProjectDataDelivery service method, as returned by CloudWatchEvidently.</returns>
/// <exception cref="Amazon.CloudWatchEvidently.Model.AccessDeniedException">
/// You do not have sufficient permissions to perform this action.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ConflictException">
/// A resource was in an inconsistent state during an update or a deletion.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ResourceNotFoundException">
/// The request references a resource that does not exist.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ServiceQuotaExceededException">
/// The request would cause a service quota to be exceeded.
/// </exception>
/// <exception cref="Amazon.CloudWatchEvidently.Model.ValidationException">
/// The value of a parameter in the request caused an error.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery">REST API Reference for UpdateProjectDataDelivery Operation</seealso>
Task<UpdateProjectDataDeliveryResponse> UpdateProjectDataDeliveryAsync(UpdateProjectDataDeliveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 1,490 |
aws-sdk-net | aws | C# | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.CloudWatchEvidently")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon CloudWatch Evidently. Introducing Amazon CloudWatch Evidently. This is the first public release of Amazon CloudWatch Evidently.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - Amazon CloudWatch Evidently. Introducing Amazon CloudWatch Evidently. This is the first public release of Amazon CloudWatch Evidently.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - Amazon CloudWatch Evidently. Introducing Amazon CloudWatch Evidently. This is the first public release of Amazon CloudWatch Evidently.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - Amazon CloudWatch Evidently. Introducing Amazon CloudWatch Evidently. This is the first public release of Amazon CloudWatch Evidently.")]
#else
#error Unknown platform constant - unable to set correct AssemblyDescription
#endif
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.60")]
[assembly: System.CLSCompliant(true)]
#if BCL
[assembly: System.Security.AllowPartiallyTrustedCallers]
#endif | 51 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.CloudWatchLogs.Internal;
namespace Amazon.CloudWatchLogs
{
/// <summary>
/// Configuration for accessing Amazon CloudWatchLogs service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonCloudWatchLogsConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.105.5");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonCloudWatchLogsConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonCloudWatchLogsDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "logs";
this.EndpointProvider = new AmazonCloudWatchLogsEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "logs";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2014-03-28";
}
}
/// <summary>
/// Gets the value of UserAgent property.
/// </summary>
public override string UserAgent
{
get
{
return _userAgent;
}
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.CloudWatchLogs
{
/// <summary>
/// Configuration for accessing Amazon CloudWatchLogs service
/// </summary>
public static class AmazonCloudWatchLogsDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// CloudWatchLogs
/// </summary>
public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations()
{
return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration>
{
Standard,
InRegion,
CrossRegion,
Mobile,
Auto,
Legacy
});
}
/// <summary>
/// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Standard,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.InRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.CrossRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Mobile,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:30
ConnectTimeout = TimeSpan.FromMilliseconds(30000L),
// 0:00:30
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p>
/// </summary>
public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Auto,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p>
/// </summary>
public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Legacy,
RetryMode = RequestRetryMode.Legacy,
StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy,
ConnectTimeout = null,
TlsNegotiationTimeout = null,
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
}
} | 146 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.CloudWatchLogs.Endpoints
{
/// <summary>
/// Contains parameters used for resolving CloudWatchLogs endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal CloudWatchLogsEndpointProvider and CloudWatchLogsEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class CloudWatchLogsEndpointParameters : EndpointParameters
{
/// <summary>
/// CloudWatchLogsEndpointParameters constructor
/// </summary>
public CloudWatchLogsEndpointParameters()
{
UseDualStack = false;
UseFIPS = false;
}
/// <summary>
/// Region parameter
/// </summary>
public string Region
{
get { return (string)this["Region"]; }
set { this["Region"] = value; }
}
/// <summary>
/// UseDualStack parameter
/// </summary>
public bool? UseDualStack
{
get { return (bool?)this["UseDualStack"]; }
set { this["UseDualStack"] = value; }
}
/// <summary>
/// UseFIPS parameter
/// </summary>
public bool? UseFIPS
{
get { return (bool?)this["UseFIPS"]; }
set { this["UseFIPS"] = value; }
}
/// <summary>
/// Endpoint parameter
/// </summary>
public string Endpoint
{
get { return (string)this["Endpoint"]; }
set { this["Endpoint"] = value; }
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.CloudWatchLogs
{
///<summary>
/// Common exception for the CloudWatchLogs service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonCloudWatchLogsException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonCloudWatchLogsException
/// </summary>
/// <param name="message"></param>
public AmazonCloudWatchLogsException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonCloudWatchLogsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonCloudWatchLogsException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonCloudWatchLogsException
/// </summary>
/// <param name="innerException"></param>
public AmazonCloudWatchLogsException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonCloudWatchLogsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonCloudWatchLogsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonCloudWatchLogsException
/// </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 AmazonCloudWatchLogsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode)
{
}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the AmazonCloudWatchLogsException 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 AmazonCloudWatchLogsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
#endif
}
} | 105 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CloudWatchLogs
{
/// <summary>
/// Constants used for properties of type DataProtectionStatus.
/// </summary>
public class DataProtectionStatus : ConstantClass
{
/// <summary>
/// Constant ACTIVATED for DataProtectionStatus
/// </summary>
public static readonly DataProtectionStatus ACTIVATED = new DataProtectionStatus("ACTIVATED");
/// <summary>
/// Constant ARCHIVED for DataProtectionStatus
/// </summary>
public static readonly DataProtectionStatus ARCHIVED = new DataProtectionStatus("ARCHIVED");
/// <summary>
/// Constant DELETED for DataProtectionStatus
/// </summary>
public static readonly DataProtectionStatus DELETED = new DataProtectionStatus("DELETED");
/// <summary>
/// Constant DISABLED for DataProtectionStatus
/// </summary>
public static readonly DataProtectionStatus DISABLED = new DataProtectionStatus("DISABLED");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public DataProtectionStatus(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static DataProtectionStatus FindValue(string value)
{
return FindValue<DataProtectionStatus>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator DataProtectionStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Distribution.
/// </summary>
public class Distribution : ConstantClass
{
/// <summary>
/// Constant ByLogStream for Distribution
/// </summary>
public static readonly Distribution ByLogStream = new Distribution("ByLogStream");
/// <summary>
/// Constant Random for Distribution
/// </summary>
public static readonly Distribution Random = new Distribution("Random");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public Distribution(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static Distribution FindValue(string value)
{
return FindValue<Distribution>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator Distribution(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ExportTaskStatusCode.
/// </summary>
public class ExportTaskStatusCode : ConstantClass
{
/// <summary>
/// Constant CANCELLED for ExportTaskStatusCode
/// </summary>
public static readonly ExportTaskStatusCode CANCELLED = new ExportTaskStatusCode("CANCELLED");
/// <summary>
/// Constant COMPLETED for ExportTaskStatusCode
/// </summary>
public static readonly ExportTaskStatusCode COMPLETED = new ExportTaskStatusCode("COMPLETED");
/// <summary>
/// Constant FAILED for ExportTaskStatusCode
/// </summary>
public static readonly ExportTaskStatusCode FAILED = new ExportTaskStatusCode("FAILED");
/// <summary>
/// Constant PENDING for ExportTaskStatusCode
/// </summary>
public static readonly ExportTaskStatusCode PENDING = new ExportTaskStatusCode("PENDING");
/// <summary>
/// Constant PENDING_CANCEL for ExportTaskStatusCode
/// </summary>
public static readonly ExportTaskStatusCode PENDING_CANCEL = new ExportTaskStatusCode("PENDING_CANCEL");
/// <summary>
/// Constant RUNNING for ExportTaskStatusCode
/// </summary>
public static readonly ExportTaskStatusCode RUNNING = new ExportTaskStatusCode("RUNNING");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ExportTaskStatusCode(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ExportTaskStatusCode FindValue(string value)
{
return FindValue<ExportTaskStatusCode>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ExportTaskStatusCode(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type InheritedProperty.
/// </summary>
public class InheritedProperty : ConstantClass
{
/// <summary>
/// Constant ACCOUNT_DATA_PROTECTION for InheritedProperty
/// </summary>
public static readonly InheritedProperty ACCOUNT_DATA_PROTECTION = new InheritedProperty("ACCOUNT_DATA_PROTECTION");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public InheritedProperty(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static InheritedProperty FindValue(string value)
{
return FindValue<InheritedProperty>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator InheritedProperty(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OrderBy.
/// </summary>
public class OrderBy : ConstantClass
{
/// <summary>
/// Constant LastEventTime for OrderBy
/// </summary>
public static readonly OrderBy LastEventTime = new OrderBy("LastEventTime");
/// <summary>
/// Constant LogStreamName for OrderBy
/// </summary>
public static readonly OrderBy LogStreamName = new OrderBy("LogStreamName");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public OrderBy(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static OrderBy FindValue(string value)
{
return FindValue<OrderBy>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator OrderBy(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PolicyType.
/// </summary>
public class PolicyType : ConstantClass
{
/// <summary>
/// Constant DATA_PROTECTION_POLICY for PolicyType
/// </summary>
public static readonly PolicyType DATA_PROTECTION_POLICY = new PolicyType("DATA_PROTECTION_POLICY");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public PolicyType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static PolicyType FindValue(string value)
{
return FindValue<PolicyType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator PolicyType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type QueryStatus.
/// </summary>
public class QueryStatus : ConstantClass
{
/// <summary>
/// Constant Cancelled for QueryStatus
/// </summary>
public static readonly QueryStatus Cancelled = new QueryStatus("Cancelled");
/// <summary>
/// Constant Complete for QueryStatus
/// </summary>
public static readonly QueryStatus Complete = new QueryStatus("Complete");
/// <summary>
/// Constant Failed for QueryStatus
/// </summary>
public static readonly QueryStatus Failed = new QueryStatus("Failed");
/// <summary>
/// Constant Running for QueryStatus
/// </summary>
public static readonly QueryStatus Running = new QueryStatus("Running");
/// <summary>
/// Constant Scheduled for QueryStatus
/// </summary>
public static readonly QueryStatus Scheduled = new QueryStatus("Scheduled");
/// <summary>
/// Constant Timeout for QueryStatus
/// </summary>
public static readonly QueryStatus Timeout = new QueryStatus("Timeout");
/// <summary>
/// Constant Unknown for QueryStatus
/// </summary>
public static readonly QueryStatus Unknown = new QueryStatus("Unknown");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public QueryStatus(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static QueryStatus FindValue(string value)
{
return FindValue<QueryStatus>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator QueryStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Scope.
/// </summary>
public class Scope : ConstantClass
{
/// <summary>
/// Constant ALL for Scope
/// </summary>
public static readonly Scope ALL = new Scope("ALL");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public Scope(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static Scope FindValue(string value)
{
return FindValue<Scope>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator Scope(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type StandardUnit.
/// </summary>
public class StandardUnit : ConstantClass
{
/// <summary>
/// Constant Bits for StandardUnit
/// </summary>
public static readonly StandardUnit Bits = new StandardUnit("Bits");
/// <summary>
/// Constant BitsSecond for StandardUnit
/// </summary>
public static readonly StandardUnit BitsSecond = new StandardUnit("Bits/Second");
/// <summary>
/// Constant Bytes for StandardUnit
/// </summary>
public static readonly StandardUnit Bytes = new StandardUnit("Bytes");
/// <summary>
/// Constant BytesSecond for StandardUnit
/// </summary>
public static readonly StandardUnit BytesSecond = new StandardUnit("Bytes/Second");
/// <summary>
/// Constant Count for StandardUnit
/// </summary>
public static readonly StandardUnit Count = new StandardUnit("Count");
/// <summary>
/// Constant CountSecond for StandardUnit
/// </summary>
public static readonly StandardUnit CountSecond = new StandardUnit("Count/Second");
/// <summary>
/// Constant Gigabits for StandardUnit
/// </summary>
public static readonly StandardUnit Gigabits = new StandardUnit("Gigabits");
/// <summary>
/// Constant GigabitsSecond for StandardUnit
/// </summary>
public static readonly StandardUnit GigabitsSecond = new StandardUnit("Gigabits/Second");
/// <summary>
/// Constant Gigabytes for StandardUnit
/// </summary>
public static readonly StandardUnit Gigabytes = new StandardUnit("Gigabytes");
/// <summary>
/// Constant GigabytesSecond for StandardUnit
/// </summary>
public static readonly StandardUnit GigabytesSecond = new StandardUnit("Gigabytes/Second");
/// <summary>
/// Constant Kilobits for StandardUnit
/// </summary>
public static readonly StandardUnit Kilobits = new StandardUnit("Kilobits");
/// <summary>
/// Constant KilobitsSecond for StandardUnit
/// </summary>
public static readonly StandardUnit KilobitsSecond = new StandardUnit("Kilobits/Second");
/// <summary>
/// Constant Kilobytes for StandardUnit
/// </summary>
public static readonly StandardUnit Kilobytes = new StandardUnit("Kilobytes");
/// <summary>
/// Constant KilobytesSecond for StandardUnit
/// </summary>
public static readonly StandardUnit KilobytesSecond = new StandardUnit("Kilobytes/Second");
/// <summary>
/// Constant Megabits for StandardUnit
/// </summary>
public static readonly StandardUnit Megabits = new StandardUnit("Megabits");
/// <summary>
/// Constant MegabitsSecond for StandardUnit
/// </summary>
public static readonly StandardUnit MegabitsSecond = new StandardUnit("Megabits/Second");
/// <summary>
/// Constant Megabytes for StandardUnit
/// </summary>
public static readonly StandardUnit Megabytes = new StandardUnit("Megabytes");
/// <summary>
/// Constant MegabytesSecond for StandardUnit
/// </summary>
public static readonly StandardUnit MegabytesSecond = new StandardUnit("Megabytes/Second");
/// <summary>
/// Constant Microseconds for StandardUnit
/// </summary>
public static readonly StandardUnit Microseconds = new StandardUnit("Microseconds");
/// <summary>
/// Constant Milliseconds for StandardUnit
/// </summary>
public static readonly StandardUnit Milliseconds = new StandardUnit("Milliseconds");
/// <summary>
/// Constant None for StandardUnit
/// </summary>
public static readonly StandardUnit None = new StandardUnit("None");
/// <summary>
/// Constant Percent for StandardUnit
/// </summary>
public static readonly StandardUnit Percent = new StandardUnit("Percent");
/// <summary>
/// Constant Seconds for StandardUnit
/// </summary>
public static readonly StandardUnit Seconds = new StandardUnit("Seconds");
/// <summary>
/// Constant Terabits for StandardUnit
/// </summary>
public static readonly StandardUnit Terabits = new StandardUnit("Terabits");
/// <summary>
/// Constant TerabitsSecond for StandardUnit
/// </summary>
public static readonly StandardUnit TerabitsSecond = new StandardUnit("Terabits/Second");
/// <summary>
/// Constant Terabytes for StandardUnit
/// </summary>
public static readonly StandardUnit Terabytes = new StandardUnit("Terabytes");
/// <summary>
/// Constant TerabytesSecond for StandardUnit
/// </summary>
public static readonly StandardUnit TerabytesSecond = new StandardUnit("Terabytes/Second");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public StandardUnit(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static StandardUnit FindValue(string value)
{
return FindValue<StandardUnit>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator StandardUnit(string value)
{
return FindValue(value);
}
}
} | 608 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn;
namespace Amazon.CloudWatchLogs.Internal
{
/// <summary>
/// Amazon CloudWatchLogs endpoint provider.
/// Resolves endpoint for given set of CloudWatchLogsEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonCloudWatchLogsEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for CloudWatchLogsEndpointParameters
/// </summary>
public Endpoint ResolveEndpoint(EndpointParameters parameters)
{
if (parameters == null)
throw new ArgumentNullException("parameters");
if (parameters["UseDualStack"] == null)
throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution");
if (parameters["UseFIPS"] == null)
throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution");
var refs = new Dictionary<string, object>()
{
["Region"] = parameters["Region"],
["UseDualStack"] = parameters["UseDualStack"],
["UseFIPS"] = parameters["UseFIPS"],
["Endpoint"] = parameters["Endpoint"],
};
if (IsSet(refs["Endpoint"]))
{
if (Equals(refs["UseFIPS"], true))
{
throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported");
}
if (Equals(refs["UseDualStack"], true))
{
throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported");
}
return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
if (IsSet(refs["Region"]))
{
if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://logs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both");
}
if (Equals(refs["UseFIPS"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")))
{
if (Equals(refs["Region"], "us-gov-east-1"))
{
return new Endpoint("https://logs.us-gov-east-1.amazonaws.com", InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
if (Equals(refs["Region"], "us-gov-west-1"))
{
return new Endpoint("https://logs.us-gov-west-1.amazonaws.com", InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
return new Endpoint(Interpolate(@"https://logs-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS");
}
if (Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://logs.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack");
}
return new Endpoint(Interpolate(@"https://logs.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
}
throw new AmazonClientException("Invalid Configuration: Missing Region");
throw new AmazonClientException("Cannot resolve endpoint");
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using Amazon.CloudWatchLogs.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.CloudWatchLogs.Endpoints;
#pragma warning disable 1591
namespace Amazon.CloudWatchLogs.Internal
{
/// <summary>
/// Amazon CloudWatchLogs endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for CloudWatchLogs service requests.
/// Collects values for CloudWatchLogsEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses CloudWatchLogsEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonCloudWatchLogsEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonCloudWatchLogsConfig)requestContext.ClientConfig;
var result = new CloudWatchLogsEndpointParameters();
result.Region = config.RegionEndpoint?.SystemName;
result.UseDualStack = config.UseDualstackEndpoint;
result.UseFIPS = config.UseFIPSEndpoint;
result.Endpoint = config.ServiceURL;
// The region needs to be determined from the ServiceURL if not set.
var regionEndpoint = config.RegionEndpoint;
if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL))
{
var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL);
result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName;
}
// To support legacy endpoint overridding rules in the endpoints.json
if (result.Region == "us-east-1-regional")
{
result.Region = "us-east-1";
}
// Use AlternateEndpoint region override if set
if (requestContext.Request.AlternateEndpoint != null)
{
result.Region = requestContext.Request.AlternateEndpoint.SystemName;
}
// Assign staticContextParams and contextParam per operation
return result;
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Internal
{
/// <summary>
/// Service metadata for Amazon CloudWatchLogs service
/// </summary>
public partial class AmazonCloudWatchLogsMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "CloudWatch Logs";
}
}
/// <summary>
/// Gets the dictionary that gives mapping of renamed operations
/// </summary>
public System.Collections.Generic.IDictionary<string, string> OperationNameMapping
{
get
{
return new System.Collections.Generic.Dictionary<string, string>(0)
{
};
}
}
}
} | 55 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// A structure that contains information about one CloudWatch Logs account policy.
/// </summary>
public partial class AccountPolicy
{
private string _accountId;
private long? _lastUpdatedTime;
private string _policyDocument;
private string _policyName;
private PolicyType _policyType;
private Scope _scope;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Web Services account ID that the policy applies to.
/// </para>
/// </summary>
[AWSProperty(Min=12, Max=12)]
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 LastUpdatedTime.
/// <para>
/// The date and time that this policy was most recently updated.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
/// <summary>
/// Gets and sets the property PolicyDocument.
/// <para>
/// The policy document for this account policy.
/// </para>
///
/// <para>
/// The JSON specified in <code>policyDocument</code> can be up to 30,720 characters.
/// </para>
/// </summary>
public string PolicyDocument
{
get { return this._policyDocument; }
set { this._policyDocument = value; }
}
// Check to see if PolicyDocument property is set
internal bool IsSetPolicyDocument()
{
return this._policyDocument != null;
}
/// <summary>
/// Gets and sets the property PolicyName.
/// <para>
/// The name of the account policy.
/// </para>
/// </summary>
public string PolicyName
{
get { return this._policyName; }
set { this._policyName = value; }
}
// Check to see if PolicyName property is set
internal bool IsSetPolicyName()
{
return this._policyName != null;
}
/// <summary>
/// Gets and sets the property PolicyType.
/// <para>
/// The type of policy for this account policy.
/// </para>
/// </summary>
public PolicyType PolicyType
{
get { return this._policyType; }
set { this._policyType = value; }
}
// Check to see if PolicyType property is set
internal bool IsSetPolicyType()
{
return this._policyType != null;
}
/// <summary>
/// Gets and sets the property Scope.
/// <para>
/// The scope of the account policy.
/// </para>
/// </summary>
public Scope Scope
{
get { return this._scope; }
set { this._scope = value; }
}
// Check to see if Scope property is set
internal bool IsSetScope()
{
return this._scope != null;
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CloudWatchLogs
{
/// <summary>
/// Base class for CloudWatchLogs operation requests.
/// </summary>
public partial class AmazonCloudWatchLogsRequest : AmazonWebServiceRequest
{
}
} | 30 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the AssociateKmsKey operation.
/// Associates the specified KMS key with the specified log group.
///
///
/// <para>
/// Associating a KMS key with a log group overrides any existing associations between
/// the log group and a KMS key. After a KMS key is associated with a log group, all newly
/// ingested data for the log group is encrypted using the KMS key. This association is
/// stored as long as the data encrypted with the KMS keyis still within CloudWatch Logs.
/// This enables CloudWatch Logs to decrypt this data whenever it is requested.
/// </para>
/// <important>
/// <para>
/// CloudWatch Logs supports only symmetric KMS keys. Do not use an associate an asymmetric
/// KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
/// Symmetric and Asymmetric Keys</a>.
/// </para>
/// </important>
/// <para>
/// It can take up to 5 minutes for this operation to take effect.
/// </para>
///
/// <para>
/// If you attempt to associate a KMS key with a log group but the KMS key does not exist
/// or the KMS key is disabled, you receive an <code>InvalidParameterException</code>
/// error.
/// </para>
/// </summary>
public partial class AssociateKmsKeyRequest : AmazonCloudWatchLogsRequest
{
private string _kmsKeyId;
private string _logGroupName;
/// <summary>
/// Gets and sets the property KmsKeyId.
/// <para>
/// The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. This
/// must be a symmetric KMS key. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms">Amazon
/// Resource Names</a> and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
/// Symmetric and Asymmetric Keys</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the AssociateKmsKey operation.
/// </summary>
public partial class AssociateKmsKeyResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the CancelExportTask operation.
/// Cancels the specified export task.
///
///
/// <para>
/// The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.
/// </para>
/// </summary>
public partial class CancelExportTaskRequest : AmazonCloudWatchLogsRequest
{
private string _taskId;
/// <summary>
/// Gets and sets the property TaskId.
/// <para>
/// The ID of the export task.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string TaskId
{
get { return this._taskId; }
set { this._taskId = value; }
}
// Check to see if TaskId property is set
internal bool IsSetTaskId()
{
return this._taskId != null;
}
}
} | 64 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the CancelExportTask operation.
/// </summary>
public partial class CancelExportTaskResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the CreateExportTask operation.
/// Creates an export task so that you can efficiently export data from a log group to
/// an Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you
/// must use credentials that have permission to write to the S3 bucket that you specify
/// as the destination.
///
///
/// <para>
/// Exporting log data to S3 buckets that are encrypted by KMS is supported. Exporting
/// log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period
/// is also supported.
/// </para>
///
/// <para>
/// Exporting to S3 buckets that are encrypted with AES-256 is supported.
/// </para>
///
/// <para>
/// This is an asynchronous call. If all the required information is provided, this operation
/// initiates an export task and responds with the ID of the task. After the task has
/// started, you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a>
/// to get the status of the export task. Each account can only have one active (<code>RUNNING</code>
/// or <code>PENDING</code>) export task at a time. To cancel an export task, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html">CancelExportTask</a>.
/// </para>
///
/// <para>
/// You can export logs from multiple log groups or multiple time ranges to the same S3
/// bucket. To separate log data for each export task, specify a prefix to be used as
/// the Amazon S3 key prefix for all exported objects.
/// </para>
/// <note>
/// <para>
/// Time-based sorting on chunks of log data inside an exported file is not guaranteed.
/// You can sort the exported log field data by using Linux utilities.
/// </para>
/// </note>
/// </summary>
public partial class CreateExportTaskRequest : AmazonCloudWatchLogsRequest
{
private string _destination;
private string _destinationPrefix;
private long? _from;
private string _logGroupName;
private string _logStreamNamePrefix;
private string _taskName;
private long? _to;
/// <summary>
/// Gets and sets the property Destination.
/// <para>
/// The name of S3 bucket for the exported log data. The bucket must be in the same Amazon
/// Web Services Region.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string Destination
{
get { return this._destination; }
set { this._destination = value; }
}
// Check to see if Destination property is set
internal bool IsSetDestination()
{
return this._destination != null;
}
/// <summary>
/// Gets and sets the property DestinationPrefix.
/// <para>
/// The prefix used as the start of the key for every object exported. If you don't specify
/// a value, the default is <code>exportedlogs</code>.
/// </para>
/// </summary>
public string DestinationPrefix
{
get { return this._destinationPrefix; }
set { this._destinationPrefix = value; }
}
// Check to see if DestinationPrefix property is set
internal bool IsSetDestinationPrefix()
{
return this._destinationPrefix != null;
}
/// <summary>
/// Gets and sets the property From.
/// <para>
/// The start time of the range for the request, expressed as the number of milliseconds
/// after <code>Jan 1, 1970 00:00:00 UTC</code>. Events with a timestamp earlier than
/// this time are not exported.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0)]
public long From
{
get { return this._from.GetValueOrDefault(); }
set { this._from = value; }
}
// Check to see if From property is set
internal bool IsSetFrom()
{
return this._from.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property LogStreamNamePrefix.
/// <para>
/// Export only log streams that match the provided prefix. If you don't specify a value,
/// no prefix filter is applied.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogStreamNamePrefix
{
get { return this._logStreamNamePrefix; }
set { this._logStreamNamePrefix = value; }
}
// Check to see if LogStreamNamePrefix property is set
internal bool IsSetLogStreamNamePrefix()
{
return this._logStreamNamePrefix != null;
}
/// <summary>
/// Gets and sets the property TaskName.
/// <para>
/// The name of the export task.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string TaskName
{
get { return this._taskName; }
set { this._taskName = value; }
}
// Check to see if TaskName property is set
internal bool IsSetTaskName()
{
return this._taskName != null;
}
/// <summary>
/// Gets and sets the property To.
/// <para>
/// The end time of the range for the request, expressed as the number of milliseconds
/// after <code>Jan 1, 1970 00:00:00 UTC</code>. Events with a timestamp later than this
/// time are not exported.
/// </para>
///
/// <para>
/// You must specify a time that is not earlier than when this log group was created.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0)]
public long To
{
get { return this._to.GetValueOrDefault(); }
set { this._to = value; }
}
// Check to see if To property is set
internal bool IsSetTo()
{
return this._to.HasValue;
}
}
} | 223 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the CreateExportTask operation.
/// </summary>
public partial class CreateExportTaskResponse : AmazonWebServiceResponse
{
private string _taskId;
/// <summary>
/// Gets and sets the property TaskId.
/// <para>
/// The ID of the export task.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string TaskId
{
get { return this._taskId; }
set { this._taskId = value; }
}
// Check to see if TaskId property is set
internal bool IsSetTaskId()
{
return this._taskId != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the CreateLogGroup operation.
/// Creates a log group with the specified name. You can create up to 20,000 log groups
/// per account.
///
///
/// <para>
/// You must use the following guidelines when naming a log group:
/// </para>
/// <ul> <li>
/// <para>
/// Log group names must be unique within a Region for an Amazon Web Services account.
/// </para>
/// </li> <li>
/// <para>
/// Log group names can be between 1 and 512 characters long.
/// </para>
/// </li> <li>
/// <para>
/// Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore),
/// '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
/// </para>
/// </li> </ul>
/// <para>
/// When you create a log group, by default the log events in the log group do not expire.
/// To set a retention policy so that events expire and are deleted after a specified
/// time, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html">PutRetentionPolicy</a>.
/// </para>
///
/// <para>
/// If you associate an KMS key with the log group, ingested data is encrypted using the
/// KMS key. This association is stored as long as the data encrypted with the KMS key
/// is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data
/// whenever it is requested.
/// </para>
///
/// <para>
/// If you attempt to associate a KMS key with the log group but the KMS key does not
/// exist or the KMS key is disabled, you receive an <code>InvalidParameterException</code>
/// error.
/// </para>
/// <important>
/// <para>
/// CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS
/// key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
/// Symmetric and Asymmetric Keys</a>.
/// </para>
/// </important>
/// </summary>
public partial class CreateLogGroupRequest : AmazonCloudWatchLogsRequest
{
private string _kmsKeyId;
private string _logGroupName;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CreateLogGroupRequest() { }
/// <summary>
/// Instantiates CreateLogGroupRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
public CreateLogGroupRequest(string logGroupName)
{
_logGroupName = logGroupName;
}
/// <summary>
/// Gets and sets the property KmsKeyId.
/// <para>
/// The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. For
/// more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms">Amazon
/// Resource Names</a>.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The key-value pairs to use for the tags.
/// </para>
///
/// <para>
/// You can grant users access to certain log groups while preventing them from accessing
/// other log groups. To do so, tag your groups and use IAM policies that refer to those
/// tags. To assign tags when you create a log group, you must have either the <code>logs:TagResource</code>
/// or <code>logs:TagLogGroup</code> permission. For more information about tagging, see
/// <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon
/// Web Services resources</a>. For more information about using tags to control access,
/// see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling
/// access to Amazon Web Services resources using tags</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 171 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the CreateLogGroup operation.
/// </summary>
public partial class CreateLogGroupResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the CreateLogStream operation.
/// Creates a log stream for the specified log group. A log stream is a sequence of log
/// events that originate from a single source, such as an application instance or a resource
/// that is being monitored.
///
///
/// <para>
/// There is no limit on the number of log streams that you can create for a log group.
/// There is a limit of 50 TPS on <code>CreateLogStream</code> operations, after which
/// transactions are throttled.
/// </para>
///
/// <para>
/// You must use the following guidelines when naming a log stream:
/// </para>
/// <ul> <li>
/// <para>
/// Log stream names must be unique within the log group.
/// </para>
/// </li> <li>
/// <para>
/// Log stream names can be between 1 and 512 characters long.
/// </para>
/// </li> <li>
/// <para>
/// Don't use ':' (colon) or '*' (asterisk) characters.
/// </para>
/// </li> </ul>
/// </summary>
public partial class CreateLogStreamRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupName;
private string _logStreamName;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public CreateLogStreamRequest() { }
/// <summary>
/// Instantiates CreateLogStreamRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
/// <param name="logStreamName">The name of the log stream.</param>
public CreateLogStreamRequest(string logGroupName, string logStreamName)
{
_logGroupName = logGroupName;
_logStreamName = logStreamName;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property LogStreamName.
/// <para>
/// The name of the log stream.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogStreamName
{
get { return this._logStreamName; }
set { this._logStreamName = value; }
}
// Check to see if LogStreamName property is set
internal bool IsSetLogStreamName()
{
return this._logStreamName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the CreateLogStream operation.
/// </summary>
public partial class CreateLogStreamResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// The event was already logged.
///
/// <important>
/// <para>
/// <code>PutLogEvents</code> actions are now always accepted and never return <code>DataAlreadyAcceptedException</code>
/// regardless of whether a given batch of log events has already been accepted.
/// </para>
/// </important>
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class DataAlreadyAcceptedException : AmazonCloudWatchLogsException
{
private string _expectedSequenceToken;
/// <summary>
/// Constructs a new DataAlreadyAcceptedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public DataAlreadyAcceptedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of DataAlreadyAcceptedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public DataAlreadyAcceptedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of DataAlreadyAcceptedException
/// </summary>
/// <param name="innerException"></param>
public DataAlreadyAcceptedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of DataAlreadyAcceptedException
/// </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 DataAlreadyAcceptedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of DataAlreadyAcceptedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DataAlreadyAcceptedException(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 DataAlreadyAcceptedException 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 DataAlreadyAcceptedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.ExpectedSequenceToken = (string)info.GetValue("ExpectedSequenceToken", typeof(string));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("ExpectedSequenceToken", this.ExpectedSequenceToken);
}
#endif
/// <summary>
/// Gets and sets the property ExpectedSequenceToken.
/// </summary>
[AWSProperty(Min=1)]
public string ExpectedSequenceToken
{
get { return this._expectedSequenceToken; }
set { this._expectedSequenceToken = value; }
}
// Check to see if ExpectedSequenceToken property is set
internal bool IsSetExpectedSequenceToken()
{
return this._expectedSequenceToken != null;
}
}
} | 150 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteAccountPolicy operation.
/// Deletes a CloudWatch Logs account policy.
///
///
/// <para>
/// To use this operation, you must be signed on with the <code>logs:DeleteDataProtectionPolicy</code>
/// and <code>logs:DeleteAccountPolicy</code> permissions.
/// </para>
/// </summary>
public partial class DeleteAccountPolicyRequest : AmazonCloudWatchLogsRequest
{
private string _policyName;
private PolicyType _policyType;
/// <summary>
/// Gets and sets the property PolicyName.
/// <para>
/// The name of the policy to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string PolicyName
{
get { return this._policyName; }
set { this._policyName = value; }
}
// Check to see if PolicyName property is set
internal bool IsSetPolicyName()
{
return this._policyName != null;
}
/// <summary>
/// Gets and sets the property PolicyType.
/// <para>
/// The type of policy to delete. Currently, the only valid value is <code>DATA_PROTECTION_POLICY</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public PolicyType PolicyType
{
get { return this._policyType; }
set { this._policyType = value; }
}
// Check to see if PolicyType property is set
internal bool IsSetPolicyType()
{
return this._policyType != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteAccountPolicy operation.
/// </summary>
public partial class DeleteAccountPolicyResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteDataProtectionPolicy operation.
/// Deletes the data protection policy from the specified log group.
///
///
/// <para>
/// For more information about data protection policies, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html">PutDataProtectionPolicy</a>.
/// </para>
/// </summary>
public partial class DeleteDataProtectionPolicyRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupIdentifier;
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// The name or ARN of the log group that you want to delete the data protection policy
/// for.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
}
} | 65 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteDataProtectionPolicy operation.
/// </summary>
public partial class DeleteDataProtectionPolicyResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteDestination operation.
/// Deletes the specified destination, and eventually disables all the subscription filters
/// that publish to it. This operation does not delete the physical resource encapsulated
/// by the destination.
/// </summary>
public partial class DeleteDestinationRequest : AmazonCloudWatchLogsRequest
{
private string _destinationName;
/// <summary>
/// Gets and sets the property DestinationName.
/// <para>
/// The name of the destination.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string DestinationName
{
get { return this._destinationName; }
set { this._destinationName = value; }
}
// Check to see if DestinationName property is set
internal bool IsSetDestinationName()
{
return this._destinationName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteDestination operation.
/// </summary>
public partial class DeleteDestinationResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteLogGroup operation.
/// Deletes the specified log group and permanently deletes all the archived log events
/// associated with the log group.
/// </summary>
public partial class DeleteLogGroupRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupName;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteLogGroupRequest() { }
/// <summary>
/// Instantiates DeleteLogGroupRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
public DeleteLogGroupRequest(string logGroupName)
{
_logGroupName = logGroupName;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteLogGroup operation.
/// </summary>
public partial class DeleteLogGroupResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteLogStream operation.
/// Deletes the specified log stream and permanently deletes all the archived log events
/// associated with the log stream.
/// </summary>
public partial class DeleteLogStreamRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupName;
private string _logStreamName;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteLogStreamRequest() { }
/// <summary>
/// Instantiates DeleteLogStreamRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
/// <param name="logStreamName">The name of the log stream.</param>
public DeleteLogStreamRequest(string logGroupName, string logStreamName)
{
_logGroupName = logGroupName;
_logStreamName = logStreamName;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property LogStreamName.
/// <para>
/// The name of the log stream.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogStreamName
{
get { return this._logStreamName; }
set { this._logStreamName = value; }
}
// Check to see if LogStreamName property is set
internal bool IsSetLogStreamName()
{
return this._logStreamName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteLogStream operation.
/// </summary>
public partial class DeleteLogStreamResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteMetricFilter operation.
/// Deletes the specified metric filter.
/// </summary>
public partial class DeleteMetricFilterRequest : AmazonCloudWatchLogsRequest
{
private string _filterName;
private string _logGroupName;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteMetricFilterRequest() { }
/// <summary>
/// Instantiates DeleteMetricFilterRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
/// <param name="filterName">The name of the metric filter.</param>
public DeleteMetricFilterRequest(string logGroupName, string filterName)
{
_logGroupName = logGroupName;
_filterName = filterName;
}
/// <summary>
/// Gets and sets the property FilterName.
/// <para>
/// The name of the metric filter.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string FilterName
{
get { return this._filterName; }
set { this._filterName = value; }
}
// Check to see if FilterName property is set
internal bool IsSetFilterName()
{
return this._filterName != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteMetricFilter operation.
/// </summary>
public partial class DeleteMetricFilterResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteQueryDefinition operation.
/// Deletes a saved CloudWatch Logs Insights query definition. A query definition contains
/// details about a saved CloudWatch Logs Insights query.
///
///
/// <para>
/// Each <code>DeleteQueryDefinition</code> operation can delete one query definition.
/// </para>
///
/// <para>
/// You must have the <code>logs:DeleteQueryDefinition</code> permission to be able to
/// perform this operation.
/// </para>
/// </summary>
public partial class DeleteQueryDefinitionRequest : AmazonCloudWatchLogsRequest
{
private string _queryDefinitionId;
/// <summary>
/// Gets and sets the property QueryDefinitionId.
/// <para>
/// The ID of the query definition that you want to delete. You can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html">DescribeQueryDefinitions</a>
/// to retrieve the IDs of your saved query definitions.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=256)]
public string QueryDefinitionId
{
get { return this._queryDefinitionId; }
set { this._queryDefinitionId = value; }
}
// Check to see if QueryDefinitionId property is set
internal bool IsSetQueryDefinitionId()
{
return this._queryDefinitionId != null;
}
}
} | 71 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteQueryDefinition operation.
/// </summary>
public partial class DeleteQueryDefinitionResponse : AmazonWebServiceResponse
{
private bool? _success;
/// <summary>
/// Gets and sets the property Success.
/// <para>
/// A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation
/// failed.
/// </para>
/// </summary>
public bool Success
{
get { return this._success.GetValueOrDefault(); }
set { this._success = value; }
}
// Check to see if Success property is set
internal bool IsSetSuccess()
{
return this._success.HasValue;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteResourcePolicy operation.
/// Deletes a resource policy from this account. This revokes the access of the identities
/// in that policy to put log events to this account.
/// </summary>
public partial class DeleteResourcePolicyRequest : AmazonCloudWatchLogsRequest
{
private string _policyName;
/// <summary>
/// Gets and sets the property PolicyName.
/// <para>
/// The name of the policy to be revoked. This parameter is required.
/// </para>
/// </summary>
public string PolicyName
{
get { return this._policyName; }
set { this._policyName = value; }
}
// Check to see if PolicyName property is set
internal bool IsSetPolicyName()
{
return this._policyName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteResourcePolicy operation.
/// </summary>
public partial class DeleteResourcePolicyResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteRetentionPolicy operation.
/// Deletes the specified retention policy.
///
///
/// <para>
/// Log events do not expire if they belong to log groups without a retention policy.
/// </para>
/// </summary>
public partial class DeleteRetentionPolicyRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupName;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DeleteRetentionPolicyRequest() { }
/// <summary>
/// Instantiates DeleteRetentionPolicyRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
public DeleteRetentionPolicyRequest(string logGroupName)
{
_logGroupName = logGroupName;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteRetentionPolicy operation.
/// </summary>
public partial class DeleteRetentionPolicyResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DeleteSubscriptionFilter operation.
/// Deletes the specified subscription filter.
/// </summary>
public partial class DeleteSubscriptionFilterRequest : AmazonCloudWatchLogsRequest
{
private string _filterName;
private string _logGroupName;
/// <summary>
/// Gets and sets the property FilterName.
/// <para>
/// The name of the subscription filter.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string FilterName
{
get { return this._filterName; }
set { this._filterName = value; }
}
// Check to see if FilterName property is set
internal bool IsSetFilterName()
{
return this._filterName != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DeleteSubscriptionFilter operation.
/// </summary>
public partial class DeleteSubscriptionFilterResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeAccountPolicies operation.
/// Returns a list of all CloudWatch Logs account policies in the account.
/// </summary>
public partial class DescribeAccountPoliciesRequest : AmazonCloudWatchLogsRequest
{
private List<string> _accountIdentifiers = new List<string>();
private string _policyName;
private PolicyType _policyType;
/// <summary>
/// Gets and sets the property AccountIdentifiers.
/// <para>
/// If you are using an account that is set up as a monitoring account for CloudWatch
/// unified cross-account observability, you can use this to specify the account ID of
/// a source account. If you do, the operation returns the account policy for the specified
/// account. Currently, you can specify only one account ID in this parameter.
/// </para>
///
/// <para>
/// If you omit this parameter, only the policy in the current account is returned.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=20)]
public List<string> AccountIdentifiers
{
get { return this._accountIdentifiers; }
set { this._accountIdentifiers = value; }
}
// Check to see if AccountIdentifiers property is set
internal bool IsSetAccountIdentifiers()
{
return this._accountIdentifiers != null && this._accountIdentifiers.Count > 0;
}
/// <summary>
/// Gets and sets the property PolicyName.
/// <para>
/// Use this parameter to limit the returned policies to only the policy with the name
/// that you specify.
/// </para>
/// </summary>
public string PolicyName
{
get { return this._policyName; }
set { this._policyName = value; }
}
// Check to see if PolicyName property is set
internal bool IsSetPolicyName()
{
return this._policyName != null;
}
/// <summary>
/// Gets and sets the property PolicyType.
/// <para>
/// Use this parameter to limit the returned policies to only the policies that match
/// the policy type that you specify. Currently, the only valid value is <code>DATA_PROTECTION_POLICY</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public PolicyType PolicyType
{
get { return this._policyType; }
set { this._policyType = value; }
}
// Check to see if PolicyType property is set
internal bool IsSetPolicyType()
{
return this._policyType != null;
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeAccountPolicies operation.
/// </summary>
public partial class DescribeAccountPoliciesResponse : AmazonWebServiceResponse
{
private List<AccountPolicy> _accountPolicies = new List<AccountPolicy>();
/// <summary>
/// Gets and sets the property AccountPolicies.
/// <para>
/// An array of structures that contain information about the CloudWatch Logs account
/// policies that match the specified filters.
/// </para>
/// </summary>
public List<AccountPolicy> AccountPolicies
{
get { return this._accountPolicies; }
set { this._accountPolicies = value; }
}
// Check to see if AccountPolicies property is set
internal bool IsSetAccountPolicies()
{
return this._accountPolicies != null && this._accountPolicies.Count > 0;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeDestinations operation.
/// Lists all your destinations. The results are ASCII-sorted by destination name.
/// </summary>
public partial class DescribeDestinationsRequest : AmazonCloudWatchLogsRequest
{
private string _destinationNamePrefix;
private int? _limit;
private string _nextToken;
/// <summary>
/// Gets and sets the property DestinationNamePrefix.
/// <para>
/// The prefix to match. If you don't specify a value, no prefix filter is applied.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string DestinationNamePrefix
{
get { return this._destinationNamePrefix; }
set { this._destinationNamePrefix = value; }
}
// Check to see if DestinationNamePrefix property is set
internal bool IsSetDestinationNamePrefix()
{
return this._destinationNamePrefix != null;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of items returned. If you don't specify a value, the default maximum
/// value of 50 items is used.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 101 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeDestinations operation.
/// </summary>
public partial class DescribeDestinationsResponse : AmazonWebServiceResponse
{
private List<Destination> _destinations = new List<Destination>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Destinations.
/// <para>
/// The destinations.
/// </para>
/// </summary>
public List<Destination> Destinations
{
get { return this._destinations; }
set { this._destinations = value; }
}
// Check to see if Destinations property is set
internal bool IsSetDestinations()
{
return this._destinations != null && this._destinations.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeExportTasks operation.
/// Lists the specified export tasks. You can list all your export tasks or filter the
/// results based on task ID or task status.
/// </summary>
public partial class DescribeExportTasksRequest : AmazonCloudWatchLogsRequest
{
private int? _limit;
private string _nextToken;
private ExportTaskStatusCode _statusCode;
private string _taskId;
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of items returned. If you don't specify a value, the default is
/// up to 50 items.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StatusCode.
/// <para>
/// The status code of the export task. Specifying a status code filters the results to
/// zero or more export tasks.
/// </para>
/// </summary>
public ExportTaskStatusCode StatusCode
{
get { return this._statusCode; }
set { this._statusCode = value; }
}
// Check to see if StatusCode property is set
internal bool IsSetStatusCode()
{
return this._statusCode != null;
}
/// <summary>
/// Gets and sets the property TaskId.
/// <para>
/// The ID of the export task. Specifying a task ID filters the results to one or zero
/// export tasks.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string TaskId
{
get { return this._taskId; }
set { this._taskId = value; }
}
// Check to see if TaskId property is set
internal bool IsSetTaskId()
{
return this._taskId != null;
}
}
} | 123 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeExportTasks operation.
/// </summary>
public partial class DescribeExportTasksResponse : AmazonWebServiceResponse
{
private List<ExportTask> _exportTasks = new List<ExportTask>();
private string _nextToken;
/// <summary>
/// Gets and sets the property ExportTasks.
/// <para>
/// The export tasks.
/// </para>
/// </summary>
public List<ExportTask> ExportTasks
{
get { return this._exportTasks; }
set { this._exportTasks = value; }
}
// Check to see if ExportTasks property is set
internal bool IsSetExportTasks()
{
return this._exportTasks != null && this._exportTasks.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeLogGroups operation.
/// Lists the specified log groups. You can list all your log groups or filter the results
/// by prefix. The results are ASCII-sorted by log group name.
///
///
/// <para>
/// CloudWatch Logs doesn’t support IAM policies that control access to the <code>DescribeLogGroups</code>
/// action by using the <code>aws:ResourceTag/<i>key-name</i> </code> condition key. Other
/// CloudWatch Logs actions do support the use of the <code>aws:ResourceTag/<i>key-name</i>
/// </code> condition key to control access. For more information about using tags to
/// control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling
/// access to Amazon Web Services resources using tags</a>.
/// </para>
///
/// <para>
/// If you are using CloudWatch cross-account observability, you can use this operation
/// in a monitoring account and view data from the linked source accounts. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
/// cross-account observability</a>.
/// </para>
/// </summary>
public partial class DescribeLogGroupsRequest : AmazonCloudWatchLogsRequest
{
private List<string> _accountIdentifiers = new List<string>();
private bool? _includeLinkedAccounts;
private int? _limit;
private string _logGroupNamePattern;
private string _logGroupNamePrefix;
private string _nextToken;
/// <summary>
/// Gets and sets the property AccountIdentifiers.
/// <para>
/// When <code>includeLinkedAccounts</code> is set to <code>True</code>, use this parameter
/// to specify the list of accounts to search. You can specify as many as 20 account IDs
/// in the array.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=20)]
public List<string> AccountIdentifiers
{
get { return this._accountIdentifiers; }
set { this._accountIdentifiers = value; }
}
// Check to see if AccountIdentifiers property is set
internal bool IsSetAccountIdentifiers()
{
return this._accountIdentifiers != null && this._accountIdentifiers.Count > 0;
}
/// <summary>
/// Gets and sets the property IncludeLinkedAccounts.
/// <para>
/// If you are using a monitoring account, set this to <code>True</code> to have the operation
/// return log groups in the accounts listed in <code>accountIdentifiers</code>.
/// </para>
///
/// <para>
/// If this parameter is set to <code>true</code> and <code>accountIdentifiers</code>
/// contains a null value, the operation returns all log groups in the monitoring account
/// and all log groups in all source accounts that are linked to the monitoring account.
///
/// </para>
/// </summary>
public bool IncludeLinkedAccounts
{
get { return this._includeLinkedAccounts.GetValueOrDefault(); }
set { this._includeLinkedAccounts = value; }
}
// Check to see if IncludeLinkedAccounts property is set
internal bool IsSetIncludeLinkedAccounts()
{
return this._includeLinkedAccounts.HasValue;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of items returned. If you don't specify a value, the default is
/// up to 50 items.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupNamePattern.
/// <para>
/// If you specify a string for this parameter, the operation returns only log groups
/// that have names that match the string based on a case-sensitive substring search.
/// For example, if you specify <code>Foo</code>, log groups named <code>FooBar</code>,
/// <code>aws/Foo</code>, and <code>GroupFoo</code> would match, but <code>foo</code>,
/// <code>F/o/o</code> and <code>Froo</code> would not match.
/// </para>
///
/// <para>
/// If you specify <code>logGroupNamePattern</code> in your request, then only <code>arn</code>,
/// <code>creationTime</code>, and <code>logGroupName</code> are included in the response.
///
/// </para>
/// <note>
/// <para>
/// <code>logGroupNamePattern</code> and <code>logGroupNamePrefix</code> are mutually
/// exclusive. Only one of these parameters can be passed.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=0, Max=512)]
public string LogGroupNamePattern
{
get { return this._logGroupNamePattern; }
set { this._logGroupNamePattern = value; }
}
// Check to see if LogGroupNamePattern property is set
internal bool IsSetLogGroupNamePattern()
{
return this._logGroupNamePattern != null;
}
/// <summary>
/// Gets and sets the property LogGroupNamePrefix.
/// <para>
/// The prefix to match.
/// </para>
/// <note>
/// <para>
/// <code>logGroupNamePrefix</code> and <code>logGroupNamePattern</code> are mutually
/// exclusive. Only one of these parameters can be passed.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupNamePrefix
{
get { return this._logGroupNamePrefix; }
set { this._logGroupNamePrefix = value; }
}
// Check to see if LogGroupNamePrefix property is set
internal bool IsSetLogGroupNamePrefix()
{
return this._logGroupNamePrefix != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 210 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeLogGroups operation.
/// </summary>
public partial class DescribeLogGroupsResponse : AmazonWebServiceResponse
{
private List<LogGroup> _logGroups = new List<LogGroup>();
private string _nextToken;
/// <summary>
/// Gets and sets the property LogGroups.
/// <para>
/// The log groups.
/// </para>
///
/// <para>
/// If the <code>retentionInDays</code> value is not included for a log group, then that
/// log group's events do not expire.
/// </para>
/// </summary>
public List<LogGroup> LogGroups
{
get { return this._logGroups; }
set { this._logGroups = value; }
}
// Check to see if LogGroups property is set
internal bool IsSetLogGroups()
{
return this._logGroups != null && this._logGroups.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeLogStreams operation.
/// Lists the log streams for the specified log group. You can list all the log streams
/// or filter the results by prefix. You can also control how the results are ordered.
///
///
/// <para>
/// You can specify the log group to search by using either <code>logGroupIdentifier</code>
/// or <code>logGroupName</code>. You must include one of these two parameters, but you
/// can't include both.
/// </para>
///
/// <para>
/// This operation has a limit of five transactions per second, after which transactions
/// are throttled.
/// </para>
///
/// <para>
/// If you are using CloudWatch cross-account observability, you can use this operation
/// in a monitoring account and view data from the linked source accounts. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
/// cross-account observability</a>.
/// </para>
/// </summary>
public partial class DescribeLogStreamsRequest : AmazonCloudWatchLogsRequest
{
private bool? _descending;
private int? _limit;
private string _logGroupIdentifier;
private string _logGroupName;
private string _logStreamNamePrefix;
private string _nextToken;
private OrderBy _orderBy;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DescribeLogStreamsRequest() { }
/// <summary>
/// Instantiates DescribeLogStreamsRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group. <note> You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not both. </note></param>
public DescribeLogStreamsRequest(string logGroupName)
{
_logGroupName = logGroupName;
}
/// <summary>
/// Gets and sets the property Descending.
/// <para>
/// If the value is true, results are returned in descending order. If the value is to
/// false, results are returned in ascending order. The default value is false.
/// </para>
/// </summary>
public bool Descending
{
get { return this._descending.GetValueOrDefault(); }
set { this._descending = value; }
}
// Check to see if Descending property is set
internal bool IsSetDescending()
{
return this._descending.HasValue;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of items returned. If you don't specify a value, the default is
/// up to 50 items.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// Specify either the name or ARN of the log group to view. If the log group is in a
/// source account and you are using a monitoring account, you must use the log group
/// ARN.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property LogStreamNamePrefix.
/// <para>
/// The prefix to match.
/// </para>
///
/// <para>
/// If <code>orderBy</code> is <code>LastEventTime</code>, you cannot specify this parameter.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogStreamNamePrefix
{
get { return this._logStreamNamePrefix; }
set { this._logStreamNamePrefix = value; }
}
// Check to see if LogStreamNamePrefix property is set
internal bool IsSetLogStreamNamePrefix()
{
return this._logStreamNamePrefix != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property OrderBy.
/// <para>
/// If the value is <code>LogStreamName</code>, the results are ordered by log stream
/// name. If the value is <code>LastEventTime</code>, the results are ordered by the event
/// time. The default value is <code>LogStreamName</code>.
/// </para>
///
/// <para>
/// If you order the results by event time, you cannot specify the <code>logStreamNamePrefix</code>
/// parameter.
/// </para>
///
/// <para>
/// <code>lastEventTimestamp</code> represents the time of the most recent log event
/// in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds
/// after <code>Jan 1, 1970 00:00:00 UTC</code>. <code>lastEventTimestamp</code> updates
/// on an eventual consistency basis. It typically updates in less than an hour from ingestion,
/// but in rare situations might take longer.
/// </para>
/// </summary>
public OrderBy OrderBy
{
get { return this._orderBy; }
set { this._orderBy = value; }
}
// Check to see if OrderBy property is set
internal bool IsSetOrderBy()
{
return this._orderBy != null;
}
}
} | 247 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeLogStreams operation.
/// </summary>
public partial class DescribeLogStreamsResponse : AmazonWebServiceResponse
{
private List<LogStream> _logStreams = new List<LogStream>();
private string _nextToken;
/// <summary>
/// Gets and sets the property LogStreams.
/// <para>
/// The log streams.
/// </para>
/// </summary>
public List<LogStream> LogStreams
{
get { return this._logStreams; }
set { this._logStreams = value; }
}
// Check to see if LogStreams property is set
internal bool IsSetLogStreams()
{
return this._logStreams != null && this._logStreams.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeMetricFilters operation.
/// Lists the specified metric filters. You can list all of the metric filters or filter
/// the results by log name, prefix, metric name, or metric namespace. The results are
/// ASCII-sorted by filter name.
/// </summary>
public partial class DescribeMetricFiltersRequest : AmazonCloudWatchLogsRequest
{
private string _filterNamePrefix;
private int? _limit;
private string _logGroupName;
private string _metricName;
private string _metricNamespace;
private string _nextToken;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public DescribeMetricFiltersRequest() { }
/// <summary>
/// Instantiates DescribeMetricFiltersRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group.</param>
public DescribeMetricFiltersRequest(string logGroupName)
{
_logGroupName = logGroupName;
}
/// <summary>
/// Gets and sets the property FilterNamePrefix.
/// <para>
/// The prefix to match. CloudWatch Logs uses the value that you set here only if you
/// also include the <code>logGroupName</code> parameter in your request.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string FilterNamePrefix
{
get { return this._filterNamePrefix; }
set { this._filterNamePrefix = value; }
}
// Check to see if FilterNamePrefix property is set
internal bool IsSetFilterNamePrefix()
{
return this._filterNamePrefix != null;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of items returned. If you don't specify a value, the default is
/// up to 50 items.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property MetricName.
/// <para>
/// Filters results to include only those with the specified metric name. If you include
/// this parameter in your request, you must also include the <code>metricNamespace</code>
/// parameter.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string MetricName
{
get { return this._metricName; }
set { this._metricName = value; }
}
// Check to see if MetricName property is set
internal bool IsSetMetricName()
{
return this._metricName != null;
}
/// <summary>
/// Gets and sets the property MetricNamespace.
/// <para>
/// Filters results to include only those in the specified namespace. If you include this
/// parameter in your request, you must also include the <code>metricName</code> parameter.
/// </para>
/// </summary>
[AWSProperty(Max=255)]
public string MetricNamespace
{
get { return this._metricNamespace; }
set { this._metricNamespace = value; }
}
// Check to see if MetricNamespace property is set
internal bool IsSetMetricNamespace()
{
return this._metricNamespace != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 181 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeMetricFilters operation.
/// </summary>
public partial class DescribeMetricFiltersResponse : AmazonWebServiceResponse
{
private List<MetricFilter> _metricFilters = new List<MetricFilter>();
private string _nextToken;
/// <summary>
/// Gets and sets the property MetricFilters.
/// <para>
/// The metric filters.
/// </para>
/// </summary>
public List<MetricFilter> MetricFilters
{
get { return this._metricFilters; }
set { this._metricFilters = value; }
}
// Check to see if MetricFilters property is set
internal bool IsSetMetricFilters()
{
return this._metricFilters != null && this._metricFilters.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeQueries operation.
/// Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or
/// have been run recently in this account. You can request all queries or limit it to
/// queries of a specific log group or queries with a certain status.
/// </summary>
public partial class DescribeQueriesRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupName;
private int? _maxResults;
private string _nextToken;
private QueryStatus _status;
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// Limits the returned queries to only those for the specified log group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// Limits the number of returned queries to the specified number.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1000)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// Limits the returned queries to only those that have the specified status. Valid values
/// are <code>Cancelled</code>, <code>Complete</code>, <code>Failed</code>, <code>Running</code>,
/// and <code>Scheduled</code>.
/// </para>
/// </summary>
public QueryStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeQueries operation.
/// </summary>
public partial class DescribeQueriesResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<QueryInfo> _queries = new List<QueryInfo>();
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Queries.
/// <para>
/// The list of queries that match the request.
/// </para>
/// </summary>
public List<QueryInfo> Queries
{
get { return this._queries; }
set { this._queries = value; }
}
// Check to see if Queries property is set
internal bool IsSetQueries()
{
return this._queries != null && this._queries.Count > 0;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeQueryDefinitions operation.
/// This operation returns a paginated list of your saved CloudWatch Logs Insights query
/// definitions.
///
///
/// <para>
/// You can use the <code>queryDefinitionNamePrefix</code> parameter to limit the results
/// to only the query definitions that have names that start with a certain string.
/// </para>
/// </summary>
public partial class DescribeQueryDefinitionsRequest : AmazonCloudWatchLogsRequest
{
private int? _maxResults;
private string _nextToken;
private string _queryDefinitionNamePrefix;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// Limits the number of returned query definitions to the specified number.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1000)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property QueryDefinitionNamePrefix.
/// <para>
/// Use this parameter to filter your results to only the query definitions that have
/// names that start with the prefix you specify.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string QueryDefinitionNamePrefix
{
get { return this._queryDefinitionNamePrefix; }
set { this._queryDefinitionNamePrefix = value; }
}
// Check to see if QueryDefinitionNamePrefix property is set
internal bool IsSetQueryDefinitionNamePrefix()
{
return this._queryDefinitionNamePrefix != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeQueryDefinitions operation.
/// </summary>
public partial class DescribeQueryDefinitionsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<QueryDefinition> _queryDefinitions = new List<QueryDefinition>();
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property QueryDefinitions.
/// <para>
/// The list of query definitions that match your request.
/// </para>
/// </summary>
public List<QueryDefinition> QueryDefinitions
{
get { return this._queryDefinitions; }
set { this._queryDefinitions = value; }
}
// Check to see if QueryDefinitions property is set
internal bool IsSetQueryDefinitions()
{
return this._queryDefinitions != null && this._queryDefinitions.Count > 0;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeResourcePolicies operation.
/// Lists the resource policies in this account.
/// </summary>
public partial class DescribeResourcePoliciesRequest : AmazonCloudWatchLogsRequest
{
private int? _limit;
private string _nextToken;
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of resource policies to be displayed with one call of this API.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeResourcePolicies operation.
/// </summary>
public partial class DescribeResourcePoliciesResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<ResourcePolicy> _resourcePolicies = new List<ResourcePolicy>();
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ResourcePolicies.
/// <para>
/// The resource policies that exist in this account.
/// </para>
/// </summary>
public List<ResourcePolicy> ResourcePolicies
{
get { return this._resourcePolicies; }
set { this._resourcePolicies = value; }
}
// Check to see if ResourcePolicies property is set
internal bool IsSetResourcePolicies()
{
return this._resourcePolicies != null && this._resourcePolicies.Count > 0;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DescribeSubscriptionFilters operation.
/// Lists the subscription filters for the specified log group. You can list all the subscription
/// filters or filter the results by prefix. The results are ASCII-sorted by filter name.
/// </summary>
public partial class DescribeSubscriptionFiltersRequest : AmazonCloudWatchLogsRequest
{
private string _filterNamePrefix;
private int? _limit;
private string _logGroupName;
private string _nextToken;
/// <summary>
/// Gets and sets the property FilterNamePrefix.
/// <para>
/// The prefix to match. If you don't specify a value, no prefix filter is applied.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string FilterNamePrefix
{
get { return this._filterNamePrefix; }
set { this._filterNamePrefix = value; }
}
// Check to see if FilterNamePrefix property is set
internal bool IsSetFilterNamePrefix()
{
return this._filterNamePrefix != null;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of items returned. If you don't specify a value, the default is
/// up to 50 items.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DescribeSubscriptionFilters operation.
/// </summary>
public partial class DescribeSubscriptionFiltersResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<SubscriptionFilter> _subscriptionFilters = new List<SubscriptionFilter>();
/// <summary>
/// Gets and sets the property NextToken.
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SubscriptionFilters.
/// <para>
/// The subscription filters.
/// </para>
/// </summary>
public List<SubscriptionFilter> SubscriptionFilters
{
get { return this._subscriptionFilters; }
set { this._subscriptionFilters = value; }
}
// Check to see if SubscriptionFilters property is set
internal bool IsSetSubscriptionFilters()
{
return this._subscriptionFilters != null && this._subscriptionFilters.Count > 0;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Represents a cross-account destination that receives subscription log events.
/// </summary>
public partial class Destination
{
private string _accessPolicy;
private string _arn;
private long? _creationTime;
private string _destinationName;
private string _roleArn;
private string _targetArn;
/// <summary>
/// Gets and sets the property AccessPolicy.
/// <para>
/// An IAM policy document that governs which Amazon Web Services accounts can create
/// subscription filters against this destination.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string AccessPolicy
{
get { return this._accessPolicy; }
set { this._accessPolicy = value; }
}
// Check to see if AccessPolicy property is set
internal bool IsSetAccessPolicy()
{
return this._accessPolicy != null;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The ARN of this destination.
/// </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 CreationTime.
/// <para>
/// The creation time of the destination, expressed as the number of milliseconds after
/// Jan 1, 1970 00:00:00 UTC.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
/// <summary>
/// Gets and sets the property DestinationName.
/// <para>
/// The name of the destination.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string DestinationName
{
get { return this._destinationName; }
set { this._destinationName = value; }
}
// Check to see if DestinationName property is set
internal bool IsSetDestinationName()
{
return this._destinationName != null;
}
/// <summary>
/// Gets and sets the property RoleArn.
/// <para>
/// A role for impersonation, used when delivering log events to the target.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
/// <summary>
/// Gets and sets the property TargetArn.
/// <para>
/// The Amazon Resource Name (ARN) of the physical target where the log events are delivered
/// (for example, a Kinesis stream).
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TargetArn
{
get { return this._targetArn; }
set { this._targetArn = value; }
}
// Check to see if TargetArn property is set
internal bool IsSetTargetArn()
{
return this._targetArn != null;
}
}
} | 160 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the DisassociateKmsKey operation.
/// Disassociates the associated KMS key from the specified log group.
///
///
/// <para>
/// After the KMS key is disassociated from the log group, CloudWatch Logs stops encrypting
/// newly ingested data for the log group. All previously ingested data remains encrypted,
/// and CloudWatch Logs requires permissions for the KMS key whenever the encrypted data
/// is requested.
/// </para>
///
/// <para>
/// Note that it can take up to 5 minutes for this operation to take effect.
/// </para>
/// </summary>
public partial class DisassociateKmsKeyRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupName;
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
}
} | 71 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the DisassociateKmsKey operation.
/// </summary>
public partial class DisassociateKmsKeyResponse : 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Represents an export task.
/// </summary>
public partial class ExportTask
{
private string _destination;
private string _destinationPrefix;
private ExportTaskExecutionInfo _executionInfo;
private long? _from;
private string _logGroupName;
private ExportTaskStatus _status;
private string _taskId;
private string _taskName;
private long? _to;
/// <summary>
/// Gets and sets the property Destination.
/// <para>
/// The name of the S3 bucket to which the log data was exported.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string Destination
{
get { return this._destination; }
set { this._destination = value; }
}
// Check to see if Destination property is set
internal bool IsSetDestination()
{
return this._destination != null;
}
/// <summary>
/// Gets and sets the property DestinationPrefix.
/// <para>
/// The prefix that was used as the start of Amazon S3 key for every object exported.
/// </para>
/// </summary>
public string DestinationPrefix
{
get { return this._destinationPrefix; }
set { this._destinationPrefix = value; }
}
// Check to see if DestinationPrefix property is set
internal bool IsSetDestinationPrefix()
{
return this._destinationPrefix != null;
}
/// <summary>
/// Gets and sets the property ExecutionInfo.
/// <para>
/// Execution information about the export task.
/// </para>
/// </summary>
public ExportTaskExecutionInfo ExecutionInfo
{
get { return this._executionInfo; }
set { this._executionInfo = value; }
}
// Check to see if ExecutionInfo property is set
internal bool IsSetExecutionInfo()
{
return this._executionInfo != null;
}
/// <summary>
/// Gets and sets the property From.
/// <para>
/// The start time, expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00
/// UTC</code>. Events with a timestamp before this time are not exported.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long From
{
get { return this._from.GetValueOrDefault(); }
set { this._from = value; }
}
// Check to see if From property is set
internal bool IsSetFrom()
{
return this._from.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group from which logs data was exported.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The status of the export task.
/// </para>
/// </summary>
public ExportTaskStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
/// <summary>
/// Gets and sets the property TaskId.
/// <para>
/// The ID of the export task.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string TaskId
{
get { return this._taskId; }
set { this._taskId = value; }
}
// Check to see if TaskId property is set
internal bool IsSetTaskId()
{
return this._taskId != null;
}
/// <summary>
/// Gets and sets the property TaskName.
/// <para>
/// The name of the export task.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string TaskName
{
get { return this._taskName; }
set { this._taskName = value; }
}
// Check to see if TaskName property is set
internal bool IsSetTaskName()
{
return this._taskName != null;
}
/// <summary>
/// Gets and sets the property To.
/// <para>
/// The end time, expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00
/// UTC</code>. Events with a timestamp later than this time are not exported.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long To
{
get { return this._to.GetValueOrDefault(); }
set { this._to = value; }
}
// Check to see if To property is set
internal bool IsSetTo()
{
return this._to.HasValue;
}
}
} | 217 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Represents the status of an export task.
/// </summary>
public partial class ExportTaskExecutionInfo
{
private long? _completionTime;
private long? _creationTime;
/// <summary>
/// Gets and sets the property CompletionTime.
/// <para>
/// The completion time of the export task, expressed as the number of milliseconds after
/// <code>Jan 1, 1970 00:00:00 UTC</code>.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long CompletionTime
{
get { return this._completionTime.GetValueOrDefault(); }
set { this._completionTime = value; }
}
// Check to see if CompletionTime property is set
internal bool IsSetCompletionTime()
{
return this._completionTime.HasValue;
}
/// <summary>
/// Gets and sets the property CreationTime.
/// <para>
/// The creation time of the export task, expressed as the number of milliseconds after
/// <code>Jan 1, 1970 00:00:00 UTC</code>.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
}
} | 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Represents the status of an export task.
/// </summary>
public partial class ExportTaskStatus
{
private ExportTaskStatusCode _code;
private string _message;
/// <summary>
/// Gets and sets the property Code.
/// <para>
/// The status code of the export task.
/// </para>
/// </summary>
public ExportTaskStatusCode Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// The status message related to the status code.
/// </para>
/// </summary>
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Represents a matched event.
/// </summary>
public partial class FilteredLogEvent
{
private string _eventId;
private long? _ingestionTime;
private string _logStreamName;
private string _message;
private long? _timestamp;
/// <summary>
/// Gets and sets the property EventId.
/// <para>
/// The ID of the event.
/// </para>
/// </summary>
public string EventId
{
get { return this._eventId; }
set { this._eventId = value; }
}
// Check to see if EventId property is set
internal bool IsSetEventId()
{
return this._eventId != null;
}
/// <summary>
/// Gets and sets the property IngestionTime.
/// <para>
/// The time the event was ingested, expressed as the number of milliseconds after <code>Jan
/// 1, 1970 00:00:00 UTC</code>.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long IngestionTime
{
get { return this._ingestionTime.GetValueOrDefault(); }
set { this._ingestionTime = value; }
}
// Check to see if IngestionTime property is set
internal bool IsSetIngestionTime()
{
return this._ingestionTime.HasValue;
}
/// <summary>
/// Gets and sets the property LogStreamName.
/// <para>
/// The name of the log stream to which this event belongs.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogStreamName
{
get { return this._logStreamName; }
set { this._logStreamName = value; }
}
// Check to see if LogStreamName property is set
internal bool IsSetLogStreamName()
{
return this._logStreamName != null;
}
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// The data contained in the log event.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
/// <summary>
/// Gets and sets the property Timestamp.
/// <para>
/// The time the event occurred, expressed as the number of milliseconds after <code>Jan
/// 1, 1970 00:00:00 UTC</code>.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long Timestamp
{
get { return this._timestamp.GetValueOrDefault(); }
set { this._timestamp = value; }
}
// Check to see if Timestamp property is set
internal bool IsSetTimestamp()
{
return this._timestamp.HasValue;
}
}
} | 139 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the FilterLogEvents operation.
/// Lists log events from the specified log group. You can list all the log events or
/// filter the results using a filter pattern, a time range, and the name of the log stream.
///
///
/// <para>
/// You must have the <code>logs:FilterLogEvents</code> permission to perform this operation.
/// </para>
///
/// <para>
/// You can specify the log group to search by using either <code>logGroupIdentifier</code>
/// or <code>logGroupName</code>. You must include one of these two parameters, but you
/// can't include both.
/// </para>
///
/// <para>
/// By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
/// log events) or all the events found within the specified time range. If the results
/// include a token, that means there are more log events available. You can get additional
/// results by specifying the token in a subsequent call. This operation can return empty
/// results while there are more log events available through the token.
/// </para>
///
/// <para>
/// The returned log events are sorted by event timestamp, the timestamp when the event
/// was ingested by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request.
/// </para>
///
/// <para>
/// If you are using CloudWatch cross-account observability, you can use this operation
/// in a monitoring account and view data from the linked source accounts. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
/// cross-account observability</a>.
/// </para>
/// </summary>
public partial class FilterLogEventsRequest : AmazonCloudWatchLogsRequest
{
private long? _endTime;
private string _filterPattern;
private bool? _interleaved;
private int? _limit;
private string _logGroupIdentifier;
private string _logGroupName;
private string _logStreamNamePrefix;
private List<string> _logStreamNames = new List<string>();
private string _nextToken;
private long? _startTime;
private bool? _unmask;
/// <summary>
/// Gets and sets the property EndTime.
/// <para>
/// The end of the time range, expressed as the number of milliseconds after <code>Jan
/// 1, 1970 00:00:00 UTC</code>. Events with a timestamp later than this time are not
/// returned.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
/// <summary>
/// Gets and sets the property FilterPattern.
/// <para>
/// The filter pattern to use. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter
/// and Pattern Syntax</a>.
/// </para>
///
/// <para>
/// If not provided, all the events are matched.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string FilterPattern
{
get { return this._filterPattern; }
set { this._filterPattern = value; }
}
// Check to see if FilterPattern property is set
internal bool IsSetFilterPattern()
{
return this._filterPattern != null;
}
/// <summary>
/// Gets and sets the property Interleaved.
/// <para>
/// If the value is true, the operation attempts to provide responses that contain events
/// from multiple log streams within the log group, interleaved in a single response.
/// If the value is false, all the matched log events in the first log stream are searched
/// first, then those in the next log stream, and so on.
/// </para>
///
/// <para>
/// <b>Important</b> As of June 17, 2019, this parameter is ignored and the value is
/// assumed to be true. The response from this operation always interleaves events from
/// multiple log streams within a log group.
/// </para>
/// </summary>
[Obsolete("Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group.")]
public bool Interleaved
{
get { return this._interleaved.GetValueOrDefault(); }
set { this._interleaved = value; }
}
// Check to see if Interleaved property is set
internal bool IsSetInterleaved()
{
return this._interleaved.HasValue;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of events to return. The default is 10,000 events.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=10000)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// Specify either the name or ARN of the log group to view log events from. If the log
/// group is in a source account and you are using a monitoring account, you must use
/// the log group ARN.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group to search.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property LogStreamNamePrefix.
/// <para>
/// Filters the results to include only events from log streams that have names starting
/// with this prefix.
/// </para>
///
/// <para>
/// If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>,
/// but the value for <code>logStreamNamePrefix</code> does not match any log stream names
/// specified in <code>logStreamNames</code>, the action returns an <code>InvalidParameterException</code>
/// error.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogStreamNamePrefix
{
get { return this._logStreamNamePrefix; }
set { this._logStreamNamePrefix = value; }
}
// Check to see if LogStreamNamePrefix property is set
internal bool IsSetLogStreamNamePrefix()
{
return this._logStreamNamePrefix != null;
}
/// <summary>
/// Gets and sets the property LogStreamNames.
/// <para>
/// Filters the results to only logs from the log streams in this list.
/// </para>
///
/// <para>
/// If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>,
/// the action returns an <code>InvalidParameterException</code> error.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public List<string> LogStreamNames
{
get { return this._logStreamNames; }
set { this._logStreamNames = value; }
}
// Check to see if LogStreamNames property is set
internal bool IsSetLogStreamNames()
{
return this._logStreamNames != null && this._logStreamNames.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of events to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StartTime.
/// <para>
/// The start of the time range, expressed as the number of milliseconds after <code>Jan
/// 1, 1970 00:00:00 UTC</code>. Events with a timestamp before this time are not returned.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
/// <summary>
/// Gets and sets the property Unmask.
/// <para>
/// Specify <code>true</code> to display the log event fields with all sensitive data
/// unmasked and visible. The default is <code>false</code>.
/// </para>
///
/// <para>
/// To use this operation with this parameter, you must be signed into an account with
/// the <code>logs:Unmask</code> permission.
/// </para>
/// </summary>
public bool Unmask
{
get { return this._unmask.GetValueOrDefault(); }
set { this._unmask = value; }
}
// Check to see if Unmask property is set
internal bool IsSetUnmask()
{
return this._unmask.HasValue;
}
}
} | 341 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the FilterLogEvents operation.
/// </summary>
public partial class FilterLogEventsResponse : AmazonWebServiceResponse
{
private List<FilteredLogEvent> _events = new List<FilteredLogEvent>();
private string _nextToken;
private List<SearchedLogStream> _searchedLogStreams = new List<SearchedLogStream>();
/// <summary>
/// Gets and sets the property Events.
/// <para>
/// The matched events.
/// </para>
/// </summary>
public List<FilteredLogEvent> Events
{
get { return this._events; }
set { this._events = value; }
}
// Check to see if Events property is set
internal bool IsSetEvents()
{
return this._events != null && this._events.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token to use when requesting the next set of items. The token expires after 24
/// hours.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SearchedLogStreams.
/// <para>
/// <b>Important</b> As of May 15, 2020, this parameter is no longer supported. This
/// parameter returns an empty list.
/// </para>
///
/// <para>
/// Indicates which log streams have been searched and whether each has been searched
/// completely.
/// </para>
/// </summary>
public List<SearchedLogStream> SearchedLogStreams
{
get { return this._searchedLogStreams; }
set { this._searchedLogStreams = value; }
}
// Check to see if SearchedLogStreams property is set
internal bool IsSetSearchedLogStreams()
{
return this._searchedLogStreams != null && this._searchedLogStreams.Count > 0;
}
}
} | 103 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the GetDataProtectionPolicy operation.
/// Returns information about a log group data protection policy.
/// </summary>
public partial class GetDataProtectionPolicyRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupIdentifier;
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// The name or ARN of the log group that contains the data protection policy that you
/// want to see.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the GetDataProtectionPolicy operation.
/// </summary>
public partial class GetDataProtectionPolicyResponse : AmazonWebServiceResponse
{
private long? _lastUpdatedTime;
private string _logGroupIdentifier;
private string _policyDocument;
/// <summary>
/// Gets and sets the property LastUpdatedTime.
/// <para>
/// The date and time that this policy was most recently updated.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// The log group name or ARN that you specified in your request.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
/// <summary>
/// Gets and sets the property PolicyDocument.
/// <para>
/// The data protection policy document for this log group.
/// </para>
/// </summary>
public string PolicyDocument
{
get { return this._policyDocument; }
set { this._policyDocument = value; }
}
// Check to see if PolicyDocument property is set
internal bool IsSetPolicyDocument()
{
return this._policyDocument != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the GetLogEvents operation.
/// Lists log events from the specified log stream. You can list all of the log events
/// or filter using a time range.
///
///
/// <para>
/// By default, this operation returns as many log events as can fit in a response size
/// of 1MB (up to 10,000 log events). You can get additional log events by specifying
/// one of the tokens in a subsequent call. This operation can return empty results while
/// there are more log events available through the token.
/// </para>
///
/// <para>
/// If you are using CloudWatch cross-account observability, you can use this operation
/// in a monitoring account and view data from the linked source accounts. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
/// cross-account observability</a>.
/// </para>
///
/// <para>
/// You can specify the log group to search by using either <code>logGroupIdentifier</code>
/// or <code>logGroupName</code>. You must include one of these two parameters, but you
/// can't include both.
/// </para>
/// </summary>
public partial class GetLogEventsRequest : AmazonCloudWatchLogsRequest
{
private DateTime? _endTime;
private int? _limit;
private string _logGroupIdentifier;
private string _logGroupName;
private string _logStreamName;
private string _nextToken;
private bool? _startFromHead;
private DateTime? _startTime;
private bool? _unmask;
/// <summary>
/// Empty constructor used to set properties independently even when a simple constructor is available
/// </summary>
public GetLogEventsRequest() { }
/// <summary>
/// Instantiates GetLogEventsRequest with the parameterized properties
/// </summary>
/// <param name="logGroupName">The name of the log group. <note> You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not both. </note></param>
/// <param name="logStreamName">The name of the log stream.</param>
public GetLogEventsRequest(string logGroupName, string logStreamName)
{
_logGroupName = logGroupName;
_logStreamName = logStreamName;
}
/// <summary>
/// Gets and sets the property EndTime.
/// <para>
/// The end of the time range, expressed as the number of milliseconds after <code>Jan
/// 1, 1970 00:00:00 UTC</code>. Events with a timestamp equal to or later than this time
/// are not included.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
/// <summary>
/// Gets and sets the property Limit.
/// <para>
/// The maximum number of log events returned. If you don't specify a limit, the default
/// is as many log events as can fit in a response size of 1 MB (up to 10,000 log events).
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=10000)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// Specify either the name or ARN of the log group to view events from. If the log group
/// is in a source account and you are using a monitoring account, you must use the log
/// group ARN.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property LogStreamName.
/// <para>
/// The name of the log stream.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=512)]
public string LogStreamName
{
get { return this._logStreamName; }
set { this._logStreamName = value; }
}
// Check to see if LogStreamName property is set
internal bool IsSetLogStreamName()
{
return this._logStreamName != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token for the next set of items to return. (You received this token from a previous
/// call.)
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StartFromHead.
/// <para>
/// If the value is true, the earliest log events are returned first. If the value is
/// false, the latest log events are returned first. The default value is false.
/// </para>
///
/// <para>
/// If you are using a previous <code>nextForwardToken</code> value as the <code>nextToken</code>
/// in this operation, you must specify <code>true</code> for <code>startFromHead</code>.
/// </para>
/// </summary>
public bool StartFromHead
{
get { return this._startFromHead.GetValueOrDefault(); }
set { this._startFromHead = value; }
}
// Check to see if StartFromHead property is set
internal bool IsSetStartFromHead()
{
return this._startFromHead.HasValue;
}
/// <summary>
/// Gets and sets the property StartTime.
/// <para>
/// The start of the time range, expressed as the number of milliseconds after <code>Jan
/// 1, 1970 00:00:00 UTC</code>. Events with a timestamp equal to this time or later than
/// this time are included. Events with a timestamp earlier than this time are not included.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
/// <summary>
/// Gets and sets the property Unmask.
/// <para>
/// Specify <code>true</code> to display the log event fields with all sensitive data
/// unmasked and visible. The default is <code>false</code>.
/// </para>
///
/// <para>
/// To use this operation with this parameter, you must be signed into an account with
/// the <code>logs:Unmask</code> permission.
/// </para>
/// </summary>
public bool Unmask
{
get { return this._unmask.GetValueOrDefault(); }
set { this._unmask = value; }
}
// Check to see if Unmask property is set
internal bool IsSetUnmask()
{
return this._unmask.HasValue;
}
}
} | 287 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the GetLogEvents operation.
/// </summary>
public partial class GetLogEventsResponse : AmazonWebServiceResponse
{
private List<OutputLogEvent> _events = new List<OutputLogEvent>();
private string _nextBackwardToken;
private string _nextForwardToken;
/// <summary>
/// Gets and sets the property Events.
/// <para>
/// The events.
/// </para>
/// </summary>
public List<OutputLogEvent> Events
{
get { return this._events; }
set { this._events = value; }
}
// Check to see if Events property is set
internal bool IsSetEvents()
{
return this._events != null && this._events.Count > 0;
}
/// <summary>
/// Gets and sets the property NextBackwardToken.
/// <para>
/// The token for the next set of items in the backward direction. The token expires after
/// 24 hours. This token is not null. If you have reached the end of the stream, it returns
/// the same token you passed in.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextBackwardToken
{
get { return this._nextBackwardToken; }
set { this._nextBackwardToken = value; }
}
// Check to see if NextBackwardToken property is set
internal bool IsSetNextBackwardToken()
{
return this._nextBackwardToken != null;
}
/// <summary>
/// Gets and sets the property NextForwardToken.
/// <para>
/// The token for the next set of items in the forward direction. The token expires after
/// 24 hours. If you have reached the end of the stream, it returns the same token you
/// passed in.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string NextForwardToken
{
get { return this._nextForwardToken; }
set { this._nextForwardToken = value; }
}
// Check to see if NextForwardToken property is set
internal bool IsSetNextForwardToken()
{
return this._nextForwardToken != 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 logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// Container for the parameters to the GetLogGroupFields operation.
/// Returns a list of the fields that are included in log events in the specified log
/// group. Includes the percentage of log events that contain each field. The search is
/// limited to a time period that you specify.
///
///
/// <para>
/// You can specify the log group to search by using either <code>logGroupIdentifier</code>
/// or <code>logGroupName</code>. You must specify one of these parameters, but you can't
/// specify both.
/// </para>
///
/// <para>
/// In the results, fields that start with <code>@</code> are fields generated by CloudWatch
/// Logs. For example, <code>@timestamp</code> is the timestamp of each log event. For
/// more information about the fields that are generated by CloudWatch logs, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported
/// Logs and Discovered Fields</a>.
/// </para>
///
/// <para>
/// The response results are sorted by the frequency percentage, starting with the highest
/// percentage.
/// </para>
///
/// <para>
/// If you are using CloudWatch cross-account observability, you can use this operation
/// in a monitoring account and view data from the linked source accounts. For more information,
/// see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
/// cross-account observability</a>.
/// </para>
/// </summary>
public partial class GetLogGroupFieldsRequest : AmazonCloudWatchLogsRequest
{
private string _logGroupIdentifier;
private string _logGroupName;
private long? _time;
/// <summary>
/// Gets and sets the property LogGroupIdentifier.
/// <para>
/// Specify either the name or ARN of the log group to view. If the log group is in a
/// source account and you are using a monitoring account, you must specify the ARN.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LogGroupIdentifier
{
get { return this._logGroupIdentifier; }
set { this._logGroupIdentifier = value; }
}
// Check to see if LogGroupIdentifier property is set
internal bool IsSetLogGroupIdentifier()
{
return this._logGroupIdentifier != null;
}
/// <summary>
/// Gets and sets the property LogGroupName.
/// <para>
/// The name of the log group to search.
/// </para>
/// <note>
/// <para>
/// You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>,
/// but not both.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Min=1, Max=512)]
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
/// <summary>
/// Gets and sets the property Time.
/// <para>
/// The time to set as the center of the query. If you specify <code>time</code>, the
/// 15 minutes before this time are queries. If you omit <code>time</code>, the 8 minutes
/// before and 8 minutes after this time are searched.
/// </para>
///
/// <para>
/// The <code>time</code> value is specified as epoch time, which is the number of seconds
/// since <code>January 1, 1970, 00:00:00 UTC</code>.
/// </para>
/// </summary>
[AWSProperty(Min=0)]
public long Time
{
get { return this._time.GetValueOrDefault(); }
set { this._time = value; }
}
// Check to see if Time property is set
internal bool IsSetTime()
{
return this._time.HasValue;
}
}
} | 147 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the logs-2014-03-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudWatchLogs.Model
{
/// <summary>
/// This is the response object from the GetLogGroupFields operation.
/// </summary>
public partial class GetLogGroupFieldsResponse : AmazonWebServiceResponse
{
private List<LogGroupField> _logGroupFields = new List<LogGroupField>();
/// <summary>
/// Gets and sets the property LogGroupFields.
/// <para>
/// The array of fields found in the query. Each object in the array contains the name
/// of the field, along with the percentage of time it appeared in the log events that
/// were queried.
/// </para>
/// </summary>
public List<LogGroupField> LogGroupFields
{
get { return this._logGroupFields; }
set { this._logGroupFields = value; }
}
// Check to see if LogGroupFields property is set
internal bool IsSetLogGroupFields()
{
return this._logGroupFields != null && this._logGroupFields.Count > 0;
}
}
} | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.