/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the fis-2020-12-01.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.FIS.Model; namespace Amazon.FIS { /// /// Interface for accessing FIS /// /// Fault Injection Simulator is a managed service that enables you to perform fault injection /// experiments on your Amazon Web Services workloads. For more information, see the Fault Injection Simulator /// User Guide. /// public partial interface IAmazonFIS : IAmazonService, IDisposable { /// /// Paginators for the service /// IFISPaginatorFactory Paginators { get; } #region CreateExperimentTemplate /// /// Creates an experiment template. /// /// /// /// An experiment template includes the following components: /// /// /// /// For more information, see Experiment /// templates in the Fault Injection Simulator User Guide. /// /// /// Container for the necessary parameters to execute the CreateExperimentTemplate service method. /// /// The response from the CreateExperimentTemplate service method, as returned by FIS. /// /// The request could not be processed because of a conflict. /// /// /// The specified resource cannot be found. /// /// /// You have exceeded your service quota. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for CreateExperimentTemplate Operation CreateExperimentTemplateResponse CreateExperimentTemplate(CreateExperimentTemplateRequest request); /// /// Creates an experiment template. /// /// /// /// An experiment template includes the following components: /// /// /// /// For more information, see Experiment /// templates in the Fault Injection Simulator User Guide. /// /// /// Container for the necessary parameters to execute the CreateExperimentTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateExperimentTemplate service method, as returned by FIS. /// /// The request could not be processed because of a conflict. /// /// /// The specified resource cannot be found. /// /// /// You have exceeded your service quota. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for CreateExperimentTemplate Operation Task CreateExperimentTemplateAsync(CreateExperimentTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteExperimentTemplate /// /// Deletes the specified experiment template. /// /// Container for the necessary parameters to execute the DeleteExperimentTemplate service method. /// /// The response from the DeleteExperimentTemplate service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for DeleteExperimentTemplate Operation DeleteExperimentTemplateResponse DeleteExperimentTemplate(DeleteExperimentTemplateRequest request); /// /// Deletes the specified experiment template. /// /// Container for the necessary parameters to execute the DeleteExperimentTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteExperimentTemplate service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for DeleteExperimentTemplate Operation Task DeleteExperimentTemplateAsync(DeleteExperimentTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAction /// /// Gets information about the specified FIS action. /// /// Container for the necessary parameters to execute the GetAction service method. /// /// The response from the GetAction service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetAction Operation GetActionResponse GetAction(GetActionRequest request); /// /// Gets information about the specified FIS action. /// /// Container for the necessary parameters to execute the GetAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAction service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetAction Operation Task GetActionAsync(GetActionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetExperiment /// /// Gets information about the specified experiment. /// /// Container for the necessary parameters to execute the GetExperiment service method. /// /// The response from the GetExperiment service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetExperiment Operation GetExperimentResponse GetExperiment(GetExperimentRequest request); /// /// Gets information about the specified experiment. /// /// Container for the necessary parameters to execute the GetExperiment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetExperiment service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetExperiment Operation Task GetExperimentAsync(GetExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetExperimentTemplate /// /// Gets information about the specified experiment template. /// /// Container for the necessary parameters to execute the GetExperimentTemplate service method. /// /// The response from the GetExperimentTemplate service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetExperimentTemplate Operation GetExperimentTemplateResponse GetExperimentTemplate(GetExperimentTemplateRequest request); /// /// Gets information about the specified experiment template. /// /// Container for the necessary parameters to execute the GetExperimentTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetExperimentTemplate service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetExperimentTemplate Operation Task GetExperimentTemplateAsync(GetExperimentTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTargetResourceType /// /// Gets information about the specified resource type. /// /// Container for the necessary parameters to execute the GetTargetResourceType service method. /// /// The response from the GetTargetResourceType service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetTargetResourceType Operation GetTargetResourceTypeResponse GetTargetResourceType(GetTargetResourceTypeRequest request); /// /// Gets information about the specified resource type. /// /// Container for the necessary parameters to execute the GetTargetResourceType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTargetResourceType service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for GetTargetResourceType Operation Task GetTargetResourceTypeAsync(GetTargetResourceTypeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListActions /// /// Lists the available FIS actions. /// /// Container for the necessary parameters to execute the ListActions service method. /// /// The response from the ListActions service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListActions Operation ListActionsResponse ListActions(ListActionsRequest request); /// /// Lists the available FIS actions. /// /// Container for the necessary parameters to execute the ListActions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListActions service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListActions Operation Task ListActionsAsync(ListActionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListExperiments /// /// Lists your experiments. /// /// Container for the necessary parameters to execute the ListExperiments service method. /// /// The response from the ListExperiments service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListExperiments Operation ListExperimentsResponse ListExperiments(ListExperimentsRequest request); /// /// Lists your experiments. /// /// Container for the necessary parameters to execute the ListExperiments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListExperiments service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListExperiments Operation Task ListExperimentsAsync(ListExperimentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListExperimentTemplates /// /// Lists your experiment templates. /// /// Container for the necessary parameters to execute the ListExperimentTemplates service method. /// /// The response from the ListExperimentTemplates service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListExperimentTemplates Operation ListExperimentTemplatesResponse ListExperimentTemplates(ListExperimentTemplatesRequest request); /// /// Lists your experiment templates. /// /// Container for the necessary parameters to execute the ListExperimentTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListExperimentTemplates service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListExperimentTemplates Operation Task ListExperimentTemplatesAsync(ListExperimentTemplatesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by FIS. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by FIS. /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTargetResourceTypes /// /// Lists the target resource types. /// /// Container for the necessary parameters to execute the ListTargetResourceTypes service method. /// /// The response from the ListTargetResourceTypes service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListTargetResourceTypes Operation ListTargetResourceTypesResponse ListTargetResourceTypes(ListTargetResourceTypesRequest request); /// /// Lists the target resource types. /// /// Container for the necessary parameters to execute the ListTargetResourceTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTargetResourceTypes service method, as returned by FIS. /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for ListTargetResourceTypes Operation Task ListTargetResourceTypesAsync(ListTargetResourceTypesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartExperiment /// /// Starts running an experiment from the specified experiment template. /// /// Container for the necessary parameters to execute the StartExperiment service method. /// /// The response from the StartExperiment service method, as returned by FIS. /// /// The request could not be processed because of a conflict. /// /// /// The specified resource cannot be found. /// /// /// You have exceeded your service quota. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for StartExperiment Operation StartExperimentResponse StartExperiment(StartExperimentRequest request); /// /// Starts running an experiment from the specified experiment template. /// /// Container for the necessary parameters to execute the StartExperiment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartExperiment service method, as returned by FIS. /// /// The request could not be processed because of a conflict. /// /// /// The specified resource cannot be found. /// /// /// You have exceeded your service quota. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for StartExperiment Operation Task StartExperimentAsync(StartExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopExperiment /// /// Stops the specified experiment. /// /// Container for the necessary parameters to execute the StopExperiment service method. /// /// The response from the StopExperiment service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for StopExperiment Operation StopExperimentResponse StopExperiment(StopExperimentRequest request); /// /// Stops the specified experiment. /// /// Container for the necessary parameters to execute the StopExperiment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopExperiment service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for StopExperiment Operation Task StopExperimentAsync(StopExperimentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Applies the specified tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by FIS. /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Applies the specified tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by FIS. /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes the specified tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by FIS. /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Removes the specified tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by FIS. /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateExperimentTemplate /// /// Updates the specified experiment template. /// /// Container for the necessary parameters to execute the UpdateExperimentTemplate service method. /// /// The response from the UpdateExperimentTemplate service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// You have exceeded your service quota. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for UpdateExperimentTemplate Operation UpdateExperimentTemplateResponse UpdateExperimentTemplate(UpdateExperimentTemplateRequest request); /// /// Updates the specified experiment template. /// /// Container for the necessary parameters to execute the UpdateExperimentTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateExperimentTemplate service method, as returned by FIS. /// /// The specified resource cannot be found. /// /// /// You have exceeded your service quota. /// /// /// The specified input is not valid, or fails to satisfy the constraints for the request. /// /// REST API Reference for UpdateExperimentTemplate Operation Task UpdateExperimentTemplateAsync(UpdateExperimentTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }