/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.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 { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IFISPaginatorFactory Paginators { get; } #endif #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); /// /// Initiates the asynchronous execution of the CreateExperimentTemplate operation. /// /// /// Container for the necessary parameters to execute the CreateExperimentTemplate operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExperimentTemplate /// operation. /// REST API Reference for CreateExperimentTemplate Operation IAsyncResult BeginCreateExperimentTemplate(CreateExperimentTemplateRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateExperimentTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateExperimentTemplate. /// /// Returns a CreateExperimentTemplateResult from FIS. /// REST API Reference for CreateExperimentTemplate Operation CreateExperimentTemplateResponse EndCreateExperimentTemplate(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the DeleteExperimentTemplate operation. /// /// /// Container for the necessary parameters to execute the DeleteExperimentTemplate operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExperimentTemplate /// operation. /// REST API Reference for DeleteExperimentTemplate Operation IAsyncResult BeginDeleteExperimentTemplate(DeleteExperimentTemplateRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteExperimentTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteExperimentTemplate. /// /// Returns a DeleteExperimentTemplateResult from FIS. /// REST API Reference for DeleteExperimentTemplate Operation DeleteExperimentTemplateResponse EndDeleteExperimentTemplate(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the GetAction operation. /// /// /// Container for the necessary parameters to execute the GetAction operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAction /// operation. /// REST API Reference for GetAction Operation IAsyncResult BeginGetAction(GetActionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetAction operation. /// /// /// The IAsyncResult returned by the call to BeginGetAction. /// /// Returns a GetActionResult from FIS. /// REST API Reference for GetAction Operation GetActionResponse EndGetAction(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the GetExperiment operation. /// /// /// Container for the necessary parameters to execute the GetExperiment operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExperiment /// operation. /// REST API Reference for GetExperiment Operation IAsyncResult BeginGetExperiment(GetExperimentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetExperiment operation. /// /// /// The IAsyncResult returned by the call to BeginGetExperiment. /// /// Returns a GetExperimentResult from FIS. /// REST API Reference for GetExperiment Operation GetExperimentResponse EndGetExperiment(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the GetExperimentTemplate operation. /// /// /// Container for the necessary parameters to execute the GetExperimentTemplate operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExperimentTemplate /// operation. /// REST API Reference for GetExperimentTemplate Operation IAsyncResult BeginGetExperimentTemplate(GetExperimentTemplateRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetExperimentTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginGetExperimentTemplate. /// /// Returns a GetExperimentTemplateResult from FIS. /// REST API Reference for GetExperimentTemplate Operation GetExperimentTemplateResponse EndGetExperimentTemplate(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the GetTargetResourceType operation. /// /// /// Container for the necessary parameters to execute the GetTargetResourceType operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTargetResourceType /// operation. /// REST API Reference for GetTargetResourceType Operation IAsyncResult BeginGetTargetResourceType(GetTargetResourceTypeRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetTargetResourceType operation. /// /// /// The IAsyncResult returned by the call to BeginGetTargetResourceType. /// /// Returns a GetTargetResourceTypeResult from FIS. /// REST API Reference for GetTargetResourceType Operation GetTargetResourceTypeResponse EndGetTargetResourceType(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the ListActions operation. /// /// /// Container for the necessary parameters to execute the ListActions operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListActions /// operation. /// REST API Reference for ListActions Operation IAsyncResult BeginListActions(ListActionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListActions operation. /// /// /// The IAsyncResult returned by the call to BeginListActions. /// /// Returns a ListActionsResult from FIS. /// REST API Reference for ListActions Operation ListActionsResponse EndListActions(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the ListExperiments operation. /// /// /// Container for the necessary parameters to execute the ListExperiments operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExperiments /// operation. /// REST API Reference for ListExperiments Operation IAsyncResult BeginListExperiments(ListExperimentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListExperiments operation. /// /// /// The IAsyncResult returned by the call to BeginListExperiments. /// /// Returns a ListExperimentsResult from FIS. /// REST API Reference for ListExperiments Operation ListExperimentsResponse EndListExperiments(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the ListExperimentTemplates operation. /// /// /// Container for the necessary parameters to execute the ListExperimentTemplates operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExperimentTemplates /// operation. /// REST API Reference for ListExperimentTemplates Operation IAsyncResult BeginListExperimentTemplates(ListExperimentTemplatesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListExperimentTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListExperimentTemplates. /// /// Returns a ListExperimentTemplatesResult from FIS. /// REST API Reference for ListExperimentTemplates Operation ListExperimentTemplatesResponse EndListExperimentTemplates(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from FIS. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the ListTargetResourceTypes operation. /// /// /// Container for the necessary parameters to execute the ListTargetResourceTypes operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTargetResourceTypes /// operation. /// REST API Reference for ListTargetResourceTypes Operation IAsyncResult BeginListTargetResourceTypes(ListTargetResourceTypesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTargetResourceTypes operation. /// /// /// The IAsyncResult returned by the call to BeginListTargetResourceTypes. /// /// Returns a ListTargetResourceTypesResult from FIS. /// REST API Reference for ListTargetResourceTypes Operation ListTargetResourceTypesResponse EndListTargetResourceTypes(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the StartExperiment operation. /// /// /// Container for the necessary parameters to execute the StartExperiment operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartExperiment /// operation. /// REST API Reference for StartExperiment Operation IAsyncResult BeginStartExperiment(StartExperimentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StartExperiment operation. /// /// /// The IAsyncResult returned by the call to BeginStartExperiment. /// /// Returns a StartExperimentResult from FIS. /// REST API Reference for StartExperiment Operation StartExperimentResponse EndStartExperiment(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the StopExperiment operation. /// /// /// Container for the necessary parameters to execute the StopExperiment operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopExperiment /// operation. /// REST API Reference for StopExperiment Operation IAsyncResult BeginStopExperiment(StopExperimentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StopExperiment operation. /// /// /// The IAsyncResult returned by the call to BeginStopExperiment. /// /// Returns a StopExperimentResult from FIS. /// REST API Reference for StopExperiment Operation StopExperimentResponse EndStopExperiment(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from FIS. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from FIS. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #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); /// /// Initiates the asynchronous execution of the UpdateExperimentTemplate operation. /// /// /// Container for the necessary parameters to execute the UpdateExperimentTemplate operation on AmazonFISClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExperimentTemplate /// operation. /// REST API Reference for UpdateExperimentTemplate Operation IAsyncResult BeginUpdateExperimentTemplate(UpdateExperimentTemplateRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateExperimentTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateExperimentTemplate. /// /// Returns a UpdateExperimentTemplateResult from FIS. /// REST API Reference for UpdateExperimentTemplate Operation UpdateExperimentTemplateResponse EndUpdateExperimentTemplate(IAsyncResult asyncResult); #endregion } }