/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the accessanalyzer-2019-11-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AccessAnalyzer.Model;
namespace Amazon.AccessAnalyzer
{
///
/// Interface for accessing AccessAnalyzer
///
/// Identity and Access Management Access Analyzer helps identify potential resource-access
/// risks by enabling you to identify any policies that grant access to an external principal.
/// It does this by using logic-based reasoning to analyze resource-based policies in
/// your Amazon Web Services environment. An external principal can be another Amazon
/// Web Services account, a root user, an IAM user or role, a federated user, an Amazon
/// Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
/// preview and validate public and cross-account access to your resources before deploying
/// permissions changes. This guide describes the Identity and Access Management Access
/// Analyzer operations that you can call programmatically. For general information about
/// IAM Access Analyzer, see Identity
/// and Access Management Access Analyzer in the IAM User Guide.
///
///
///
/// To start using IAM Access Analyzer, you first need to create an analyzer.
///
///
public partial interface IAmazonAccessAnalyzer : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IAccessAnalyzerPaginatorFactory Paginators { get; }
#endif
#region ApplyArchiveRule
///
/// Retroactively applies the archive rule to existing findings that meet the archive
/// rule criteria.
///
/// Container for the necessary parameters to execute the ApplyArchiveRule service method.
///
/// The response from the ApplyArchiveRule service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ApplyArchiveRule Operation
ApplyArchiveRuleResponse ApplyArchiveRule(ApplyArchiveRuleRequest request);
///
/// Initiates the asynchronous execution of the ApplyArchiveRule operation.
///
///
/// Container for the necessary parameters to execute the ApplyArchiveRule operation on AmazonAccessAnalyzerClient.
/// 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 EndApplyArchiveRule
/// operation.
/// REST API Reference for ApplyArchiveRule Operation
IAsyncResult BeginApplyArchiveRule(ApplyArchiveRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ApplyArchiveRule operation.
///
///
/// The IAsyncResult returned by the call to BeginApplyArchiveRule.
///
/// Returns a ApplyArchiveRuleResult from AccessAnalyzer.
/// REST API Reference for ApplyArchiveRule Operation
ApplyArchiveRuleResponse EndApplyArchiveRule(IAsyncResult asyncResult);
#endregion
#region CancelPolicyGeneration
///
/// Cancels the requested policy generation.
///
/// Container for the necessary parameters to execute the CancelPolicyGeneration service method.
///
/// The response from the CancelPolicyGeneration service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for CancelPolicyGeneration Operation
CancelPolicyGenerationResponse CancelPolicyGeneration(CancelPolicyGenerationRequest request);
///
/// Initiates the asynchronous execution of the CancelPolicyGeneration operation.
///
///
/// Container for the necessary parameters to execute the CancelPolicyGeneration operation on AmazonAccessAnalyzerClient.
/// 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 EndCancelPolicyGeneration
/// operation.
/// REST API Reference for CancelPolicyGeneration Operation
IAsyncResult BeginCancelPolicyGeneration(CancelPolicyGenerationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CancelPolicyGeneration operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelPolicyGeneration.
///
/// Returns a CancelPolicyGenerationResult from AccessAnalyzer.
/// REST API Reference for CancelPolicyGeneration Operation
CancelPolicyGenerationResponse EndCancelPolicyGeneration(IAsyncResult asyncResult);
#endregion
#region CreateAccessPreview
///
/// Creates an access preview that allows you to preview IAM Access Analyzer findings
/// for your resource before deploying resource permissions.
///
/// Container for the necessary parameters to execute the CreateAccessPreview service method.
///
/// The response from the CreateAccessPreview service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict exception error.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Service quote met error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for CreateAccessPreview Operation
CreateAccessPreviewResponse CreateAccessPreview(CreateAccessPreviewRequest request);
///
/// Initiates the asynchronous execution of the CreateAccessPreview operation.
///
///
/// Container for the necessary parameters to execute the CreateAccessPreview operation on AmazonAccessAnalyzerClient.
/// 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 EndCreateAccessPreview
/// operation.
/// REST API Reference for CreateAccessPreview Operation
IAsyncResult BeginCreateAccessPreview(CreateAccessPreviewRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateAccessPreview operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAccessPreview.
///
/// Returns a CreateAccessPreviewResult from AccessAnalyzer.
/// REST API Reference for CreateAccessPreview Operation
CreateAccessPreviewResponse EndCreateAccessPreview(IAsyncResult asyncResult);
#endregion
#region CreateAnalyzer
///
/// Creates an analyzer for your account.
///
/// Container for the necessary parameters to execute the CreateAnalyzer service method.
///
/// The response from the CreateAnalyzer service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict exception error.
///
///
/// Internal server error.
///
///
/// Service quote met error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for CreateAnalyzer Operation
CreateAnalyzerResponse CreateAnalyzer(CreateAnalyzerRequest request);
///
/// Initiates the asynchronous execution of the CreateAnalyzer operation.
///
///
/// Container for the necessary parameters to execute the CreateAnalyzer operation on AmazonAccessAnalyzerClient.
/// 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 EndCreateAnalyzer
/// operation.
/// REST API Reference for CreateAnalyzer Operation
IAsyncResult BeginCreateAnalyzer(CreateAnalyzerRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateAnalyzer operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAnalyzer.
///
/// Returns a CreateAnalyzerResult from AccessAnalyzer.
/// REST API Reference for CreateAnalyzer Operation
CreateAnalyzerResponse EndCreateAnalyzer(IAsyncResult asyncResult);
#endregion
#region CreateArchiveRule
///
/// Creates an archive rule for the specified analyzer. Archive rules automatically archive
/// new findings that meet the criteria you define when you create the rule.
///
///
///
/// To learn about filter keys that you can use to create an archive rule, see IAM
/// Access Analyzer filter keys in the IAM User Guide.
///
///
/// Container for the necessary parameters to execute the CreateArchiveRule service method.
///
/// The response from the CreateArchiveRule service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict exception error.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Service quote met error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for CreateArchiveRule Operation
CreateArchiveRuleResponse CreateArchiveRule(CreateArchiveRuleRequest request);
///
/// Initiates the asynchronous execution of the CreateArchiveRule operation.
///
///
/// Container for the necessary parameters to execute the CreateArchiveRule operation on AmazonAccessAnalyzerClient.
/// 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 EndCreateArchiveRule
/// operation.
/// REST API Reference for CreateArchiveRule Operation
IAsyncResult BeginCreateArchiveRule(CreateArchiveRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateArchiveRule operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateArchiveRule.
///
/// Returns a CreateArchiveRuleResult from AccessAnalyzer.
/// REST API Reference for CreateArchiveRule Operation
CreateArchiveRuleResponse EndCreateArchiveRule(IAsyncResult asyncResult);
#endregion
#region DeleteAnalyzer
///
/// Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is
/// disabled for the account or organization in the current or specific Region. All findings
/// that were generated by the analyzer are deleted. You cannot undo this action.
///
/// Container for the necessary parameters to execute the DeleteAnalyzer service method.
///
/// The response from the DeleteAnalyzer service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for DeleteAnalyzer Operation
DeleteAnalyzerResponse DeleteAnalyzer(DeleteAnalyzerRequest request);
///
/// Initiates the asynchronous execution of the DeleteAnalyzer operation.
///
///
/// Container for the necessary parameters to execute the DeleteAnalyzer operation on AmazonAccessAnalyzerClient.
/// 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 EndDeleteAnalyzer
/// operation.
/// REST API Reference for DeleteAnalyzer Operation
IAsyncResult BeginDeleteAnalyzer(DeleteAnalyzerRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteAnalyzer operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAnalyzer.
///
/// Returns a DeleteAnalyzerResult from AccessAnalyzer.
/// REST API Reference for DeleteAnalyzer Operation
DeleteAnalyzerResponse EndDeleteAnalyzer(IAsyncResult asyncResult);
#endregion
#region DeleteArchiveRule
///
/// Deletes the specified archive rule.
///
/// Container for the necessary parameters to execute the DeleteArchiveRule service method.
///
/// The response from the DeleteArchiveRule service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for DeleteArchiveRule Operation
DeleteArchiveRuleResponse DeleteArchiveRule(DeleteArchiveRuleRequest request);
///
/// Initiates the asynchronous execution of the DeleteArchiveRule operation.
///
///
/// Container for the necessary parameters to execute the DeleteArchiveRule operation on AmazonAccessAnalyzerClient.
/// 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 EndDeleteArchiveRule
/// operation.
/// REST API Reference for DeleteArchiveRule Operation
IAsyncResult BeginDeleteArchiveRule(DeleteArchiveRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteArchiveRule operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteArchiveRule.
///
/// Returns a DeleteArchiveRuleResult from AccessAnalyzer.
/// REST API Reference for DeleteArchiveRule Operation
DeleteArchiveRuleResponse EndDeleteArchiveRule(IAsyncResult asyncResult);
#endregion
#region GetAccessPreview
///
/// Retrieves information about an access preview for the specified analyzer.
///
/// Container for the necessary parameters to execute the GetAccessPreview service method.
///
/// The response from the GetAccessPreview service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for GetAccessPreview Operation
GetAccessPreviewResponse GetAccessPreview(GetAccessPreviewRequest request);
///
/// Initiates the asynchronous execution of the GetAccessPreview operation.
///
///
/// Container for the necessary parameters to execute the GetAccessPreview operation on AmazonAccessAnalyzerClient.
/// 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 EndGetAccessPreview
/// operation.
/// REST API Reference for GetAccessPreview Operation
IAsyncResult BeginGetAccessPreview(GetAccessPreviewRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetAccessPreview operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAccessPreview.
///
/// Returns a GetAccessPreviewResult from AccessAnalyzer.
/// REST API Reference for GetAccessPreview Operation
GetAccessPreviewResponse EndGetAccessPreview(IAsyncResult asyncResult);
#endregion
#region GetAnalyzedResource
///
/// Retrieves information about a resource that was analyzed.
///
/// Container for the necessary parameters to execute the GetAnalyzedResource service method.
///
/// The response from the GetAnalyzedResource service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for GetAnalyzedResource Operation
GetAnalyzedResourceResponse GetAnalyzedResource(GetAnalyzedResourceRequest request);
///
/// Initiates the asynchronous execution of the GetAnalyzedResource operation.
///
///
/// Container for the necessary parameters to execute the GetAnalyzedResource operation on AmazonAccessAnalyzerClient.
/// 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 EndGetAnalyzedResource
/// operation.
/// REST API Reference for GetAnalyzedResource Operation
IAsyncResult BeginGetAnalyzedResource(GetAnalyzedResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetAnalyzedResource operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAnalyzedResource.
///
/// Returns a GetAnalyzedResourceResult from AccessAnalyzer.
/// REST API Reference for GetAnalyzedResource Operation
GetAnalyzedResourceResponse EndGetAnalyzedResource(IAsyncResult asyncResult);
#endregion
#region GetAnalyzer
///
/// Retrieves information about the specified analyzer.
///
/// Container for the necessary parameters to execute the GetAnalyzer service method.
///
/// The response from the GetAnalyzer service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for GetAnalyzer Operation
GetAnalyzerResponse GetAnalyzer(GetAnalyzerRequest request);
///
/// Initiates the asynchronous execution of the GetAnalyzer operation.
///
///
/// Container for the necessary parameters to execute the GetAnalyzer operation on AmazonAccessAnalyzerClient.
/// 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 EndGetAnalyzer
/// operation.
/// REST API Reference for GetAnalyzer Operation
IAsyncResult BeginGetAnalyzer(GetAnalyzerRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetAnalyzer operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAnalyzer.
///
/// Returns a GetAnalyzerResult from AccessAnalyzer.
/// REST API Reference for GetAnalyzer Operation
GetAnalyzerResponse EndGetAnalyzer(IAsyncResult asyncResult);
#endregion
#region GetArchiveRule
///
/// Retrieves information about an archive rule.
///
///
///
/// To learn about filter keys that you can use to create an archive rule, see IAM
/// Access Analyzer filter keys in the IAM User Guide.
///
///
/// Container for the necessary parameters to execute the GetArchiveRule service method.
///
/// The response from the GetArchiveRule service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for GetArchiveRule Operation
GetArchiveRuleResponse GetArchiveRule(GetArchiveRuleRequest request);
///
/// Initiates the asynchronous execution of the GetArchiveRule operation.
///
///
/// Container for the necessary parameters to execute the GetArchiveRule operation on AmazonAccessAnalyzerClient.
/// 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 EndGetArchiveRule
/// operation.
/// REST API Reference for GetArchiveRule Operation
IAsyncResult BeginGetArchiveRule(GetArchiveRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetArchiveRule operation.
///
///
/// The IAsyncResult returned by the call to BeginGetArchiveRule.
///
/// Returns a GetArchiveRuleResult from AccessAnalyzer.
/// REST API Reference for GetArchiveRule Operation
GetArchiveRuleResponse EndGetArchiveRule(IAsyncResult asyncResult);
#endregion
#region GetFinding
///
/// Retrieves information about the specified finding.
///
/// Container for the necessary parameters to execute the GetFinding service method.
///
/// The response from the GetFinding service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for GetFinding Operation
GetFindingResponse GetFinding(GetFindingRequest request);
///
/// Initiates the asynchronous execution of the GetFinding operation.
///
///
/// Container for the necessary parameters to execute the GetFinding operation on AmazonAccessAnalyzerClient.
/// 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 EndGetFinding
/// operation.
/// REST API Reference for GetFinding Operation
IAsyncResult BeginGetFinding(GetFindingRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetFinding operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFinding.
///
/// Returns a GetFindingResult from AccessAnalyzer.
/// REST API Reference for GetFinding Operation
GetFindingResponse EndGetFinding(IAsyncResult asyncResult);
#endregion
#region GetGeneratedPolicy
///
/// Retrieves the policy that was generated using StartPolicyGeneration
.
///
/// Container for the necessary parameters to execute the GetGeneratedPolicy service method.
///
/// The response from the GetGeneratedPolicy service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for GetGeneratedPolicy Operation
GetGeneratedPolicyResponse GetGeneratedPolicy(GetGeneratedPolicyRequest request);
///
/// Initiates the asynchronous execution of the GetGeneratedPolicy operation.
///
///
/// Container for the necessary parameters to execute the GetGeneratedPolicy operation on AmazonAccessAnalyzerClient.
/// 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 EndGetGeneratedPolicy
/// operation.
/// REST API Reference for GetGeneratedPolicy Operation
IAsyncResult BeginGetGeneratedPolicy(GetGeneratedPolicyRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetGeneratedPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginGetGeneratedPolicy.
///
/// Returns a GetGeneratedPolicyResult from AccessAnalyzer.
/// REST API Reference for GetGeneratedPolicy Operation
GetGeneratedPolicyResponse EndGetGeneratedPolicy(IAsyncResult asyncResult);
#endregion
#region ListAccessPreviewFindings
///
/// Retrieves a list of access preview findings generated by the specified access preview.
///
/// Container for the necessary parameters to execute the ListAccessPreviewFindings service method.
///
/// The response from the ListAccessPreviewFindings service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict exception error.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListAccessPreviewFindings Operation
ListAccessPreviewFindingsResponse ListAccessPreviewFindings(ListAccessPreviewFindingsRequest request);
///
/// Initiates the asynchronous execution of the ListAccessPreviewFindings operation.
///
///
/// Container for the necessary parameters to execute the ListAccessPreviewFindings operation on AmazonAccessAnalyzerClient.
/// 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 EndListAccessPreviewFindings
/// operation.
/// REST API Reference for ListAccessPreviewFindings Operation
IAsyncResult BeginListAccessPreviewFindings(ListAccessPreviewFindingsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListAccessPreviewFindings operation.
///
///
/// The IAsyncResult returned by the call to BeginListAccessPreviewFindings.
///
/// Returns a ListAccessPreviewFindingsResult from AccessAnalyzer.
/// REST API Reference for ListAccessPreviewFindings Operation
ListAccessPreviewFindingsResponse EndListAccessPreviewFindings(IAsyncResult asyncResult);
#endregion
#region ListAccessPreviews
///
/// Retrieves a list of access previews for the specified analyzer.
///
/// Container for the necessary parameters to execute the ListAccessPreviews service method.
///
/// The response from the ListAccessPreviews service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListAccessPreviews Operation
ListAccessPreviewsResponse ListAccessPreviews(ListAccessPreviewsRequest request);
///
/// Initiates the asynchronous execution of the ListAccessPreviews operation.
///
///
/// Container for the necessary parameters to execute the ListAccessPreviews operation on AmazonAccessAnalyzerClient.
/// 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 EndListAccessPreviews
/// operation.
/// REST API Reference for ListAccessPreviews Operation
IAsyncResult BeginListAccessPreviews(ListAccessPreviewsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListAccessPreviews operation.
///
///
/// The IAsyncResult returned by the call to BeginListAccessPreviews.
///
/// Returns a ListAccessPreviewsResult from AccessAnalyzer.
/// REST API Reference for ListAccessPreviews Operation
ListAccessPreviewsResponse EndListAccessPreviews(IAsyncResult asyncResult);
#endregion
#region ListAnalyzedResources
///
/// Retrieves a list of resources of the specified type that have been analyzed by the
/// specified analyzer..
///
/// Container for the necessary parameters to execute the ListAnalyzedResources service method.
///
/// The response from the ListAnalyzedResources service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListAnalyzedResources Operation
ListAnalyzedResourcesResponse ListAnalyzedResources(ListAnalyzedResourcesRequest request);
///
/// Initiates the asynchronous execution of the ListAnalyzedResources operation.
///
///
/// Container for the necessary parameters to execute the ListAnalyzedResources operation on AmazonAccessAnalyzerClient.
/// 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 EndListAnalyzedResources
/// operation.
/// REST API Reference for ListAnalyzedResources Operation
IAsyncResult BeginListAnalyzedResources(ListAnalyzedResourcesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListAnalyzedResources operation.
///
///
/// The IAsyncResult returned by the call to BeginListAnalyzedResources.
///
/// Returns a ListAnalyzedResourcesResult from AccessAnalyzer.
/// REST API Reference for ListAnalyzedResources Operation
ListAnalyzedResourcesResponse EndListAnalyzedResources(IAsyncResult asyncResult);
#endregion
#region ListAnalyzers
///
/// Retrieves a list of analyzers.
///
/// Container for the necessary parameters to execute the ListAnalyzers service method.
///
/// The response from the ListAnalyzers service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListAnalyzers Operation
ListAnalyzersResponse ListAnalyzers(ListAnalyzersRequest request);
///
/// Initiates the asynchronous execution of the ListAnalyzers operation.
///
///
/// Container for the necessary parameters to execute the ListAnalyzers operation on AmazonAccessAnalyzerClient.
/// 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 EndListAnalyzers
/// operation.
/// REST API Reference for ListAnalyzers Operation
IAsyncResult BeginListAnalyzers(ListAnalyzersRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListAnalyzers operation.
///
///
/// The IAsyncResult returned by the call to BeginListAnalyzers.
///
/// Returns a ListAnalyzersResult from AccessAnalyzer.
/// REST API Reference for ListAnalyzers Operation
ListAnalyzersResponse EndListAnalyzers(IAsyncResult asyncResult);
#endregion
#region ListArchiveRules
///
/// Retrieves a list of archive rules created for the specified analyzer.
///
/// Container for the necessary parameters to execute the ListArchiveRules service method.
///
/// The response from the ListArchiveRules service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListArchiveRules Operation
ListArchiveRulesResponse ListArchiveRules(ListArchiveRulesRequest request);
///
/// Initiates the asynchronous execution of the ListArchiveRules operation.
///
///
/// Container for the necessary parameters to execute the ListArchiveRules operation on AmazonAccessAnalyzerClient.
/// 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 EndListArchiveRules
/// operation.
/// REST API Reference for ListArchiveRules Operation
IAsyncResult BeginListArchiveRules(ListArchiveRulesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListArchiveRules operation.
///
///
/// The IAsyncResult returned by the call to BeginListArchiveRules.
///
/// Returns a ListArchiveRulesResult from AccessAnalyzer.
/// REST API Reference for ListArchiveRules Operation
ListArchiveRulesResponse EndListArchiveRules(IAsyncResult asyncResult);
#endregion
#region ListFindings
///
/// Retrieves a list of findings generated by the specified analyzer.
///
///
///
/// To learn about filter keys that you can use to retrieve a list of findings, see IAM
/// Access Analyzer filter keys in the IAM User Guide.
///
///
/// Container for the necessary parameters to execute the ListFindings service method.
///
/// The response from the ListFindings service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListFindings Operation
ListFindingsResponse ListFindings(ListFindingsRequest request);
///
/// Initiates the asynchronous execution of the ListFindings operation.
///
///
/// Container for the necessary parameters to execute the ListFindings operation on AmazonAccessAnalyzerClient.
/// 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 EndListFindings
/// operation.
/// REST API Reference for ListFindings Operation
IAsyncResult BeginListFindings(ListFindingsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListFindings operation.
///
///
/// The IAsyncResult returned by the call to BeginListFindings.
///
/// Returns a ListFindingsResult from AccessAnalyzer.
/// REST API Reference for ListFindings Operation
ListFindingsResponse EndListFindings(IAsyncResult asyncResult);
#endregion
#region ListPolicyGenerations
///
/// Lists all of the policy generations requested in the last seven days.
///
/// Container for the necessary parameters to execute the ListPolicyGenerations service method.
///
/// The response from the ListPolicyGenerations service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ListPolicyGenerations Operation
ListPolicyGenerationsResponse ListPolicyGenerations(ListPolicyGenerationsRequest request);
///
/// Initiates the asynchronous execution of the ListPolicyGenerations operation.
///
///
/// Container for the necessary parameters to execute the ListPolicyGenerations operation on AmazonAccessAnalyzerClient.
/// 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 EndListPolicyGenerations
/// operation.
/// REST API Reference for ListPolicyGenerations Operation
IAsyncResult BeginListPolicyGenerations(ListPolicyGenerationsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListPolicyGenerations operation.
///
///
/// The IAsyncResult returned by the call to BeginListPolicyGenerations.
///
/// Returns a ListPolicyGenerationsResult from AccessAnalyzer.
/// REST API Reference for ListPolicyGenerations Operation
ListPolicyGenerationsResponse EndListPolicyGenerations(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
///
/// Retrieves a list of tags applied to the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// 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 AmazonAccessAnalyzerClient.
/// 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 AccessAnalyzer.
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region StartPolicyGeneration
///
/// Starts the policy generation request.
///
/// Container for the necessary parameters to execute the StartPolicyGeneration service method.
///
/// The response from the StartPolicyGeneration service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict exception error.
///
///
/// Internal server error.
///
///
/// Service quote met error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for StartPolicyGeneration Operation
StartPolicyGenerationResponse StartPolicyGeneration(StartPolicyGenerationRequest request);
///
/// Initiates the asynchronous execution of the StartPolicyGeneration operation.
///
///
/// Container for the necessary parameters to execute the StartPolicyGeneration operation on AmazonAccessAnalyzerClient.
/// 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 EndStartPolicyGeneration
/// operation.
/// REST API Reference for StartPolicyGeneration Operation
IAsyncResult BeginStartPolicyGeneration(StartPolicyGenerationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the StartPolicyGeneration operation.
///
///
/// The IAsyncResult returned by the call to BeginStartPolicyGeneration.
///
/// Returns a StartPolicyGenerationResult from AccessAnalyzer.
/// REST API Reference for StartPolicyGeneration Operation
StartPolicyGenerationResponse EndStartPolicyGeneration(IAsyncResult asyncResult);
#endregion
#region StartResourceScan
///
/// Immediately starts a scan of the policies applied to the specified resource.
///
/// Container for the necessary parameters to execute the StartResourceScan service method.
///
/// The response from the StartResourceScan service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for StartResourceScan Operation
StartResourceScanResponse StartResourceScan(StartResourceScanRequest request);
///
/// Initiates the asynchronous execution of the StartResourceScan operation.
///
///
/// Container for the necessary parameters to execute the StartResourceScan operation on AmazonAccessAnalyzerClient.
/// 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 EndStartResourceScan
/// operation.
/// REST API Reference for StartResourceScan Operation
IAsyncResult BeginStartResourceScan(StartResourceScanRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the StartResourceScan operation.
///
///
/// The IAsyncResult returned by the call to BeginStartResourceScan.
///
/// Returns a StartResourceScanResult from AccessAnalyzer.
/// REST API Reference for StartResourceScan Operation
StartResourceScanResponse EndStartResourceScan(IAsyncResult asyncResult);
#endregion
#region TagResource
///
/// Adds a tag 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 AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// 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 AmazonAccessAnalyzerClient.
/// 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 AccessAnalyzer.
/// REST API Reference for TagResource Operation
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
///
/// Removes a tag 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 AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// 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 AmazonAccessAnalyzerClient.
/// 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 AccessAnalyzer.
/// REST API Reference for UntagResource Operation
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateArchiveRule
///
/// Updates the criteria and values for the specified archive rule.
///
/// Container for the necessary parameters to execute the UpdateArchiveRule service method.
///
/// The response from the UpdateArchiveRule service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for UpdateArchiveRule Operation
UpdateArchiveRuleResponse UpdateArchiveRule(UpdateArchiveRuleRequest request);
///
/// Initiates the asynchronous execution of the UpdateArchiveRule operation.
///
///
/// Container for the necessary parameters to execute the UpdateArchiveRule operation on AmazonAccessAnalyzerClient.
/// 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 EndUpdateArchiveRule
/// operation.
/// REST API Reference for UpdateArchiveRule Operation
IAsyncResult BeginUpdateArchiveRule(UpdateArchiveRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateArchiveRule operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateArchiveRule.
///
/// Returns a UpdateArchiveRuleResult from AccessAnalyzer.
/// REST API Reference for UpdateArchiveRule Operation
UpdateArchiveRuleResponse EndUpdateArchiveRule(IAsyncResult asyncResult);
#endregion
#region UpdateFindings
///
/// Updates the status for the specified findings.
///
/// Container for the necessary parameters to execute the UpdateFindings service method.
///
/// The response from the UpdateFindings service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// The specified resource could not be found.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for UpdateFindings Operation
UpdateFindingsResponse UpdateFindings(UpdateFindingsRequest request);
///
/// Initiates the asynchronous execution of the UpdateFindings operation.
///
///
/// Container for the necessary parameters to execute the UpdateFindings operation on AmazonAccessAnalyzerClient.
/// 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 EndUpdateFindings
/// operation.
/// REST API Reference for UpdateFindings Operation
IAsyncResult BeginUpdateFindings(UpdateFindingsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateFindings operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFindings.
///
/// Returns a UpdateFindingsResult from AccessAnalyzer.
/// REST API Reference for UpdateFindings Operation
UpdateFindingsResponse EndUpdateFindings(IAsyncResult asyncResult);
#endregion
#region ValidatePolicy
///
/// Requests the validation of a policy and returns a list of findings. The findings help
/// you identify issues and provide actionable recommendations to resolve the issue and
/// enable you to author functional policies that meet security best practices.
///
/// Container for the necessary parameters to execute the ValidatePolicy service method.
///
/// The response from the ValidatePolicy service method, as returned by AccessAnalyzer.
///
/// You do not have sufficient access to perform this action.
///
///
/// Internal server error.
///
///
/// Throttling limit exceeded error.
///
///
/// Validation exception error.
///
/// REST API Reference for ValidatePolicy Operation
ValidatePolicyResponse ValidatePolicy(ValidatePolicyRequest request);
///
/// Initiates the asynchronous execution of the ValidatePolicy operation.
///
///
/// Container for the necessary parameters to execute the ValidatePolicy operation on AmazonAccessAnalyzerClient.
/// 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 EndValidatePolicy
/// operation.
/// REST API Reference for ValidatePolicy Operation
IAsyncResult BeginValidatePolicy(ValidatePolicyRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ValidatePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginValidatePolicy.
///
/// Returns a ValidatePolicyResult from AccessAnalyzer.
/// REST API Reference for ValidatePolicy Operation
ValidatePolicyResponse EndValidatePolicy(IAsyncResult asyncResult);
#endregion
}
}